The Fat Controller


A conductor of trains.

Content
2 months ago
0.13 - 1.1
19.3K
Trains

b [solved]Fatal error if pasting settings with no source entity defined yet

4 years ago
(updated 4 years ago)

When shift+left click is pressed on any entity to paste settings, and no source entity has yet been defined by shift+right click, TFC crashes in some paste hook somewhere:

250.283 Error MainLoop.cpp:1195: Exception at tick 120837515: The mod The Fat Controller caused a non-recoverable error.
Please report this error to the mod author.

Error while running event TheFatController::on_pre_entity_settings_pasted (ID 30)
__TheFatController__/control.lua:839: table index is nil
stack traceback:
    __TheFatController__/control.lua:839: in function 'decreaseStationCount'
    __TheFatController__/control.lua:858: in function 'on_station_rename'
    __TheFatController__/control.lua:867: in function <__TheFatController__/control.lua:865>

I am able to consistently reproduce this by shift + left clicking any entity that supports copy/paste settings immediately upon loading a save file, without shift + right clicking anything first. The error is stated to be "non-recoverable" and the game immediately exits.

Factorio 0.17.79, Fat Controller 4.0.17

4 years ago

Should be fixed in the latest version.

4 years ago
(updated 4 years ago)

👍 Confirmed working now. Thanks.

New response