[Rseding91] [0.17.38] Crash when reading flow stats

This subforum contains all the issues which we already resolved.
Qon
Smart Inserter
Smart Inserter
Posts: 2164
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 117 times
My mods: Capsule Ammo | HandyHands - Automatic handcrafting | ChunkyChunks - Configurable Gridlines
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser
Rseding91
Factorio Staff
Factorio Staff
Posts: 14356
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: 2164
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
My mods: Capsule Ammo | HandyHands - Automatic handcrafting | ChunkyChunks - Configurable Gridlines
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser
Post Reply

Return to “Resolved Problems and Bugs”