[0.17.24] Infinite Bot Speed Science count

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

[0.17.24] Infinite Bot Speed Science count

Post by jimmyjon11 » Wed Apr 03, 2019 4:47 am

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 » Wed Apr 03, 2019 6:13 am

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: 9844
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.24] Infinite Bot Speed Science count

Post by Rseding91 » Wed Apr 03, 2019 9:15 am

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”

Who is online

Users browsing this forum: No registered users