Chariot of Fire wrote:Apologies if this has been covered elsewhere but I couldn't find a thread on it after searching.
Game 19616026Although in Overview the value of trades has been increasing, the
actual number of troops received when cashing has stopped at 32,767 for each of the remaining three players for a couple of weeks now.
Can anyone explain this anomaly? It's a really odd figure, 32,767, and I'm wondering how it was calculated and why trades aren't escalating any more (despite the Overview stating they are)?
Thanks
That's just the largest number the system can display.
In actual fact, you still get the number of troops you are entitled to. They just aren't displayed correctly.
32,767 is two bytes (Two bytes would actually carry 65,536 possible values, but one bit is sacrificed for the +/- sign).
That's the normal limit for Integer variables. To allow numbers larger than that, a programmer has to define a variable as Longint, which sucks up a hell of a lot more memory in the server! In a situation like CC, where one shouldn't encounter numbers of more than 3 digits very often, programmers generally just define regular integers. The game itself, however, has had its variables expanded to allow for larger numbers, but the module that reports to the log was never part of that expansion.