[Rseding91] [0.17.38] Crash when reading flow stats

This subforum contains all the issues which we already resolved.
Post Reply
Qon
Smart Inserter
Smart Inserter
Posts: 2118
Joined: Thu Mar 17, 2016 6:27 am
Contact:

[Rseding91] [0.17.38] Crash when reading flow stats

Post by Qon »

Running this code crashes the game every time:

Code: Select all

local flow = game.pollution_statistics
    local bitspwn_flow = flow.get_flow_count{name = 'biter-spawner', input = false,
        precision_index = defines.flow_precision_index.one_second, count = true}
Attachments
factorio-current.zip
(9.51 MiB) Downloaded 97 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.38] Crash when reading flow stats

Post by Rseding91 »

Thanks for the report. It's now fixed for the next version of 0.17.
If you want to get ahold of me I'm almost always on Discord.

Qon
Smart Inserter
Smart Inserter
Posts: 2118
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: [Rseding91] [0.17.38] Crash when reading flow stats

Post by Qon »

Thanks for the super quick fix! Solved after a few hours and patch live after a handful of hours more is amazing! :!:
I have a brand new requested mod that will use this.
(pollution that is absorbed by nests instead of just produced and similar factors can be qonfigured to affect polution)
<3

Post Reply

Return to “Resolved Problems and Bugs”