The suggestion is that values between 2000000000 and 2147483647 be displayed as the actual value rather than 2000000000, and value above 2147483647 be displayed as "2147483647+".
Printable View
The suggestion is that values between 2000000000 and 2147483647 be displayed as the actual value rather than 2000000000, and value above 2147483647 be displayed as "2147483647+".
I thought the game already did that in your profile.
Oh wait, I see what you mean. Took a while to find a player that pegged out the gold count meter. That... would be hard to do. It is a computer system issue. The data type used for gold count would have to be changed, and changed for ALL players. Could be a pain in the ♥♥♥ to do, redoing the database setup to allow for larger numbers.
This what i've come up with,
The integer values in Java are 32-bit Two's complement encoded
numbers and the highest possible value for this system is
2,147,483,647. The value 2,147,483,648 or 2n-1 where n is 32 is
negated under two's complement representation and becomes the
-2n-1s place. It is the most significant bit, meaning it has the
greatest value. In Two's compliment the most significant bit is
becomes the "sign bit" and indicates the sign of the number. If the
sign bit is 0 then largest number that can be stored in the remaing
31 bits is (2n-1-1) or 232-1-1 = 231-1 = 2,147,483,648 -1 =
2,147,483,647.
Yea, computer science! :D Need to get back into that at some point...
As for the problem, Idk if it is worth it for Supercell to increase the data type size, just for the few people that have been playing CoC so long to have maxed out a rather large data type. After hitting that bigger cap, I think the system just stops recording, since it can't count that high. So getting the actual number would be impossible at that point.
I think it's not worth it.
- Few players have reached the cap (so far)
- The cap for Long is 263 - 1 = 9223372036854775807. I doubt anyone would even get through 1/4 of that.
- It requires more space to store the value. Multiply it by the number of records saved (in other words, the number of players), and it might raise storage issues.
Oh, I thought that maybe you meant it hit the manual cap, then the data type cap and showed that at some point.
I guess they could remove that manual cap, but it would be a relatively small increase, and will be maxed out anyway.
Should just show a broken counter or something, than just an even number. Would make more sense.