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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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