Page 1 of 1

[0.17.24] Infinite Bot Speed Science count

Posted: Wed Apr 03, 2019 4:47 am
by jimmyjon11
There is an issue with bot speed science count when research level is greater than 24. After level 24 science cost gets cheaper, and from what I can gather it looks like science is a 32-bit number so anything after level 24 is greater than 2^32 science cost so the actual cost is truncated.

Not sure if this is the intended behavior, I didn't see another issue about this. Also I checked 0.16.x and the numbers look to be correct according to the formula.

Re: [0.17.24] Infinite Bot Speed Science count

Posted: Wed Apr 03, 2019 6:13 am
by tehfreek
Confirmed that 29 and higher have incorrect costs. This does seem to allude to a rollover issue.

Code: Select all

>>> 2**(28-6)*1000
4194304000
>>> 2**(29-6)*1000
8388608000

Re: [0.17.24] Infinite Bot Speed Science count

Posted: Wed Apr 03, 2019 9:15 am
by Rseding91
Thanks for the report. It's now fixed for the next version of 0.17. It was just a display issue - it still internally works as expected for high count technologies.