Jump to content

[SOLVED] mysql help


thunder_sti

Recommended Posts

 

  I am having a issue with my game.

  My bank and money in the game are being limited to or frozen at 2,147 billion

no matter if I add more money in db and click save, db sets it to 2,147 billion.

 

I have it setup like this

 

money int(50) not null 0

 

Bank is same way.  Anyone know why it is doing this or what I can try to have it work ?

Link to comment
Share on other sites

Anyone know why it is doing this

 

Yes, read the manual -

INT[(M)] [uNSIGNED] [ZEROFILL]

 

A normal-size integer. The signed range is -2147483648 to 2147483647. The unsigned range is 0 to 4294967295.

 

what I can try to have it work

 

Read the manual -

BIGINT[(M)] [uNSIGNED] [ZEROFILL]

 

A large integer. The signed range is -9223372036854775808 to 9223372036854775807. The unsigned range is 0 to 18446744073709551615.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

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

×
×
  • Create New...

Important Information

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.