Factory Efficiency Tracker

by RedRafe

Track and visualize uptime/downtime ratio of assembling machines in real time with colorized overlays.

Utilities
3 months ago
1.1
7.38K
Manufacturing

g [Solved] crash while adding to existing SE game

8 months ago

I have a running SE game, where i decided to try your mod, but experienced a crash immediately on loading a game.
here is crash log:

The mod Space Exploration (0.6.117) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event space-exploration::on_tick (ID 0)
The mod Factory Efficiency Tracker (0.1.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event factory-efficiency-tracker::script_raised_destroy (ID 80)
factory-efficiency-tracker/scripts/tracker.lua:42: attempt to index local 'unit' (a nil value)
stack traceback:
factory-efficiency-tracker/scripts/tracker.lua:42: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>
stack traceback:
[C]: in function 'destroy'
space-exploration/scripts/util.lua:900: in function 'safe_destroy'
space-exploration/scripts/spaceship-clone.lua:524: in function 'clone'
space-exploration/scripts/spaceship.lua:831: in function 'land_at_position'
space-exploration/scripts/spaceship-clamp.lua:499: in function 'attempt_anchor_spaceship'
space-exploration/scripts/spaceship.lua:1990: in function 'spaceship_tick'
space-exploration/scripts/spaceship.lua:2210: in function 'callback'
space-exploration/scripts/event.lua:15: in function <space-exploration/scripts/event.lua:13>

8 months ago

Ooops. Fixed :)

8 months ago

works as expected, thx a lot!

This thread has been locked.