Utilization Monitor Blargh


Displays the utilization percentage of factories, miners, labs, furnaces, boilers, generators, and reactors.

8 months ago
0.18 - 1.1
7.49K

g Crash on game start

2 years ago

Immidiately after map loaded for first time with IR and Krastorio2

Error while running event UtilizationMonitorBlargh::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'newindex'
__UtilizationMonitorBlargh
/control.lua:130: in function 'update_label'
UtilizationMonitorBlargh/control.lua:491: in function <UtilizationMonitorBlargh/control.lua:440>

2 years ago

I tried a couple different ways to reproduce this with just IR and Krastorio2 installed and wasn't able to. However I did manage to get this same error to occur when tinkering via /editor.

How that block of code works was re-worked for 0.8.7 anyway (to support per-player label toggling), and I can't reproduce the error using /editor any longer. Can you give it a try and let me know?

If it's still happening, if you can upload a savefile somewhere, that'd be helpful.

New response