Currency balance become negative when reach huge amount

Users who are viewing this thread

Not exactly a bug. The game use int32 store currency amount so when it reach 2^31, the value become negative. Maybe you should consider changing it to int64.
I know that player's currency balance usually wouldn't reach such a high amount. But, as a game with high modification freedom, shouldn't it at least have a better compatibility? I mean, it's not like using int64 or even decimal type would take up a lot of RAM.
 
Back
Top Bottom