edit max item amount problem :/

hemagx

Administrator
Messages
249
Points
28
Discord
Ema
IRC Nickname
Ema
Github
hemagx
well i changed max item amount to 300k in mmo.h

//Max amount of a single stacked item#define MAX_AMOUNT 300000 

but when i use @item 512 300000

it's set amount to 0 in the database and if i changed it to any number more than 30k+ give me this error

in char server

[SQL]: DB error - data of field 'amount' was truncated. 

anyone can help me ? and thanks
default_smile.png


 
The database field does not support any value higher than 30.000, besides even if you edit it, your client will most likely f* up because last time i tried it was hardcoded to 30.000 (the packet).

 
well i was have more than 3m coins and no crash or packet problems and no thing string @@

anyway how to change the databas value

 
this may be a side question, but what are the limits for like hardcoded things that the client can handle ie levels, stats, hp,etc...Because I know a lot of 999 servers had issues with matk caps when I played them and atk caps too...so is there a way to not 'fix' but 'increase these limits?

 
Back
Top