Bob's Adjustable Inserters


Adds hotkeys and a GUI to adjust inserter pickup and drop locations.

Content
4 months ago
0.13 - 2.0
352K
Logistics

g Game Save Exited/Crashed when i configure my inserters

3 years ago

Hello guys,

When I try to configure a inserter, I get this message and the game save crashes.

Error while running event level::on_gui_click (ID 1)
...Data/Roaming/Factorio/temp/currently-playing/control.lua:27: attempt to call field 'on_gui_click' (a nil value)
stack traceback:
...Data/Roaming/Factorio/temp/currently-playing/control.lua:27: in function <...Data/Roaming/Factorio/temp/currently-playing/control.lua:26>

3 years ago

What the heck even is "Data/Roaming/Factorio/temp/currently-playing/control.lua"

If it was an error with my mod, it would list bobinserters/control.lua as the script file.
To me, it sounds like somebody has written a map script that is incorrectly trying to read GUI clicks. Map scripts are those as part of a scenario, like a pre-made save-game where certain things happen.

And yes, Errors in scripts typically cause the game to crash out.

To be of more help, I'd need information for all mods you have installed, and a copy of the map you're playing on.
this is one of the rare cases where the savegame itself would be the most useful asset to tracking down the issue. However... if it is what I think it is, the issue isn't something part of my mods, it's just a co-incidence that it's my mod that it's tripping over, it could happen with any other mod with a custom GUI.

New response