New Releases: What upcoming games are you looking forward to?
Just when I thought I was unstoppable, I suddenly lost the game due to bankrupcy. This happened while I had a treasury balance so large, I could have paid off America's national debt with my reward points. I'm also taking in more money from taxes alone than my entire budges - more than triple my expenses after adding other income sources.
I've shown two examples below. The first is the budget I've been running. Note how there's more than 2 billion AU's in my treasury, I add 141 million AU's, and that totals -2 billion AU's. On the expenses column, I'm only spending 37 million AU's. If I run the turn with this budget, I go bankrupt and lose the game.
In the second example, I've taken away all military grants, but allocated millions more to research, planetary development and propaganda (especialy planetary development). My expenses are now more than twice what I'm collecting in taxes. If I run the turn with this budget, I have about a 2 billion AU positive balance the next turn and I avoid bankrupcy.
Is anyone able to make sense of this math and figure out a useable work-around, or is this just a total breakdown of the game?
The error is caused by the way numbers are stored in computers. One of your 32 bits is not used as a number, but designates the number as positive or negative. The other 31 bits total up to 2,147,483,647. Save up one AU more and it rolls over to that +/1 bit and becomes a negative number, at which point every AU you save makes the number even more and more negative until you get it low enough to roll over again and become positive. It's when it rolls over from negative to positive that the bankrupcy is detected and your game ends.
Thanks for the exact number, Svo. That will be helpful.
Anyway, I basically said the same thing as @Svoboda. That's a technical limitation of the game and there are no patches that fix this problem, so you'll have to keep your balance under 2147483647 AU.
1 + 1 = -1
1 -1 = 1