Jump to content

Recommended Posts

Hi

 

Can you tell me in which file I can change id limit? I mean that if i have e.g weapon with vnum 65534 or 65535 everything is fine, but when vnum is e.g 65536 i mean if vnum  >  65535 then the model is invisible. 

I've tried to find something in source files in client, but i've nothing ;/

So can you tell me how can i change it?

I will be grateful :)

 

Regards

Deucalion

Link to comment
Share on other sites

So in 'ItemIdRangeManager.h' is defined

const static DWORD cs_dwMaxItemID = 4290000000UL;

and it is a unsigned long

So I must change e.g in 'tables.h'

from

typedef struct tItemAwardInformer
{
	char	login[LOGIN_MAX_LEN + 1];
	char	command[20];		//¸í·Éľî
	unsigned int vnum;			//ľĆŔĚĹŰ
} TPacketItemAwardInfromer;

to

typedef struct tItemAwardInformer
{
	char	login[LOGIN_MAX_LEN + 1];
	char	command[20];		//¸í·Éľî
	unsigned long vnum;			//ľĆŔĚĹŰ
} TPacketItemAwardInfromer;

I understand correctly?

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...
  • 8 months later...
  • 10 months later...
  • 6 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.