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
https://metin2.dev/topic/4157-vnum-limit/
Share on other sites

I already have: ITEM_ID_RANGE = 2000000000 2500000000

 

http://msdn.microsoft.com/en-us/library/vstudio/s3f49ktz%28v=vs.110%29.aspx

I've tried to find wchar_t , unsigned short and unsigned __int16, but I found nothing useful ;/

 

Can anyone help me with this?

Link to comment
https://metin2.dev/topic/4157-vnum-limit/#findComment-27167
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
https://metin2.dev/topic/4157-vnum-limit/#findComment-27174
Share on other sites

  • 2 weeks later...
  • 1 year later...

I also searched for int16 and ushorts, debugged model and icon path to see if they get correctly loaded and its all fine, but the limitation is no where to be found.

Im sure it is on the client binary tho, but already analised alot of logic functions and i dont see any failure.

Regards

Link to comment
https://metin2.dev/topic/4157-vnum-limit/#findComment-70590
Share on other sites

  • 8 months later...
  • 10 months later...
  • 6 months later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.