Logo Platform
logo amplifiers simplified

Game breaks when you hit above 2 million yields

Reply
Copied to clipboard!
3 years ago
Sep 23, 2021, 2:44:34 AM

Had over 2 million industry in a city and the value suddenly flipped and became negative, making it impossible to build anything (infinite turns required) unless I lowered it. It would also appear that if industry overflows above 2 million the constructible would remain stuck in the queue and prevent you from building anything unless you remove it from queue. 

0Send private message
0Send private message
3 years ago
Sep 23, 2021, 5:00:31 AM

I had the same happen with Science on a 30+ territories city. It is to do with the type of variable they use to store the yield numbers - once it goes out of bonds it becomes negative.

So this can happen to any yield and Amplitude would probably need to change the way they store yield numbers in the code.

0Send private message
0Send private message
3 years ago
Sep 23, 2021, 2:57:44 PM
Krikkitone wrote:

They could also just cap it at certain points.

That would be horrible. The reason why I posted this was because I was annoyed I couldn't go any higher. 

0Send private message
3 years ago
Sep 23, 2021, 5:45:38 PM

Variable overflow. Classic. They did not imagine someone would go over some arbitrary number so limited variable size to control memory use.


Easy to correct though. Report it.

0Send private message
3 years ago
Sep 23, 2021, 10:06:06 PM
Elteras wrote:
Krikkitone wrote:

They could also just cap it at certain points.

That would be horrible. The reason why I posted this was because I was annoyed I couldn't go any higher. 

Well yes, but at least it wouldn't be weird and negative and you could use that almost 2million Industry.


If they can change to a different type of variable, that would be nice.... but they might not be able to easily do that.

0Send private message
?

Click here to login

Reply
Comment