Jump to content
  • 0
Sign in to follow this  
hemagx

edit max item amount problem :/

Question

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 :)

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

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).

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.