[boskid][2.0.15] Science production count mismatch

This subforum contains all the issues which we already resolved.
User avatar
spiral_power
Fast Inserter
Fast Inserter
Posts: 185
Joined: Wed Oct 30, 2019 5:17 am
Contact:

[boskid][2.0.15] Science production count mismatch

Post by spiral_power »

7.6M vs 3.1M
a.png
a.png (1.13 MiB) Viewed 1031 times
b.png
b.png (1.1 MiB) Viewed 1031 times
c.png
c.png (1.2 MiB) Viewed 1031 times
factorio-current.log
(18.38 KiB) Downloaded 22 times
Genhis
Factorio Staff
Factorio Staff
Posts: 722
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [2.0.15] Science Production count unmatch

Post by Genhis »

Thanks for the report, I don't see any bug here. Do you use biter labs and/or productivity modules? That would explain such a large number.
User avatar
spiral_power
Fast Inserter
Fast Inserter
Posts: 185
Joined: Wed Oct 30, 2019 5:17 am
Contact:

Re: [2.0.15] Science Production count unmatch

Post by spiral_power »

I use BIOLAB. That is not what I am trying to say.

Compare the first and second images with the third image. What I am claiming is that the all-time science counts are less than the 250h and 1000h science counts added in 2.0. Common sense dictates that these should match.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3438
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [boskid][2.0.15] Science production count mismatch

Post by boskid »

Thanks for the report. Issue is now fixed for 2.0.25. It was a type mismatch in one place: science progress was reported every tick as a fractional value which item production statistics were accidentally able to store for normal time ranges however the total range uses counter that is an integer and so if got a science output less than "1" per tick, it was effectively clamped to 0 and not reported. In 2.0.25 i made this logic slightly smarter as it waits until 1 unit of science is accumulated and then it reports that to flow statistics in order for the total counter to get updated correctly.

Existing statistics will be untouched.
User avatar
spiral_power
Fast Inserter
Fast Inserter
Posts: 185
Joined: Wed Oct 30, 2019 5:17 am
Contact:

Re: [boskid][2.0.15] Science production count mismatch

Post by spiral_power »

Thanks for the fix.
So the ALL-TIME count is a little less than actual number. I understood.
In my save, the error in tallying the first 1000 hours will be ignored in time.
Post Reply

Return to “Resolved Problems and Bugs”