Krastorio 2


An overhaul mod focusing on end-game technologies and moderately increased complexity.

Overhaul
9 days ago
0.18 - 1.1
308K
Transportation Logistics Trains Combat Armor Mining Fluids Logistic network Manufacturing Power Storage

b Crash Related to Shelter

3 years ago

I just had my dedicated Linux factorio server crash when one of the players tried to place down a Shelter while one was already placed in the world.

Log Snippet:

Error while running event Krastorio2::on_built_entity (ID 6)
Krastorio2/lib/private/control-scripts/shelter.lua:130: attempt to index field 'flying_texts' (a nil value)
stack traceback:
Krastorio2/lib/private/control-scripts/shelter.lua:130: in function 'callback'
...control-scripts/control-lib/control-callbacks-merger.lua:163: in function <...control-scripts/control-lib/control-callbacks-merger.lua:160>
14769.501 Error ServerMultiplayerManager.cpp:90: MultiplayerManager failed: "The mod Krastorio 2 (0.9.19) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Krastorio2::on_built_entity (ID 6)
Krastorio2/lib/private/control-scripts/shelter.lua:130: attempt to index field 'flying_texts' (a nil value)
stack traceback:
Krastorio2/lib/private/control-scripts/shelter.lua:130: in function 'callback'
...control-scripts/control-lib/control-callbacks-merger.lua:163: in function <...control-scripts/control-lib/control-callbacks-merger.lua:160>"
14769.501 Info ServerMultiplayerManager.cpp:771: updateTick(1679818) changing state from(InGame) to(Failed)
14769.502 Quitting: multiplayer error.