Jump to content

Change max gold 2kk1


Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

open common and search lenght.h

lenght.h

WEAR_MAX_NUM    = 32,
//LIMIT_GOLD
GOLD_MAX = 2000000000,        
MAX_PASSPOD = 8 ,

// GOLD_MAX = 2000000000, change to GOLD_MAX = 2000000000LLU,

 

 

common/tables.h

search this:

typedef struct SPlayerTable
{
DWORD id;
char name[CHARACTER_NAME_MAX_LEN + 1];
char ip[IP_ADDRESS_LENGTH + 1];
WORD job;
BYTE voice;
BYTE level;
BYTE level_step;
short st, ht, dx, iq;
DWORD exp;
INT  gold;    

// int gold change to long long gold

 

go to game src search char.cpp and this

INT CHARACTER::GetAllowedGold() const   

///////change to long long

 

 

 

 

 

idk if you want gold 2kk you need change only this :

lenght.h

GOLD_MAX = 2000000000,

 

you say max gold 2kk but on source this is standart 2kk gold...

Link to comment
Share on other sites

  • 3 months later...

open common and search lenght.h

lenght.h

WEAR_MAX_NUM    = 32,
//LIMIT_GOLD
GOLD_MAX = 2000000000,        
MAX_PASSPOD = 8 ,

// GOLD_MAX = 2000000000, change to GOLD_MAX = 2000000000LLU,

 

What mean the prefix, at the end of the numbers ( LLU )

this works for change the maximum value to 999,000,000,000 (nine hundred ninety nine thousand millions)

???

 

Link to comment
Share on other sites

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.