Put a quest with a lot of experience, the player with experience was negative. Someone has been there?
Printable View
Put a quest with a lot of experience, the player with experience was negative. Someone has been there?
Overflow bug, its a 32 bit program and bound to the rules of 32 bit numbers, just don't hit that number and you'll be fine
400000000 exp, the error occurs only when the player changes with the level of the quest exp.
Well assuming that the exp value is stored unsigned the max you could possibly get would be 4,294,967,295
Seeing as how that is larger then the number you posted they are more then likely using a signed int which its max is 2,147,483,647 and then it would loop around down the negative (if you were to add 1 to that yes you would get -2,147,483,648)
32 bits of nothing to do with, simply type the number is signed long -2147483648 to 2147483647