[0.17.24] Infinite Bot Speed Science count

This subforum contains all the issues which we already resolved.
jimmyjon11
Inserter
Inserter
Posts: 23
Joined: Thu Apr 27, 2017 7:33 pm
Contact:

[0.17.24] Infinite Bot Speed Science count

Post 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.
tehfreek
Filter Inserter
Filter Inserter
Posts: 391
Joined: Thu Mar 17, 2016 7:34 am
Contact:

Re: [0.17.24] Infinite Bot Speed Science count

Post 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
Rseding91
Factorio Staff
Factorio Staff
Posts: 14269
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.24] Infinite Bot Speed Science count

Post 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.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”