Page 1 of 1

[boskid][2.0.15] Science production count mismatch

Posted: Sun Nov 17, 2024 4:15 am
by spiral_power
7.6M vs 3.1M
a.png
a.png (1.13 MiB) Viewed 1032 times
b.png
b.png (1.1 MiB) Viewed 1032 times
c.png
c.png (1.2 MiB) Viewed 1032 times
factorio-current.log
(18.38 KiB) Downloaded 22 times

Re: [2.0.15] Science Production count unmatch

Posted: Tue Nov 19, 2024 8:40 pm
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.

Re: [2.0.15] Science Production count unmatch

Posted: Tue Nov 19, 2024 9:37 pm
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.

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

Posted: Mon Dec 09, 2024 1:57 pm
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.

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

Posted: Sat Dec 28, 2024 10:03 pm
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.