Bob's Adjustable Inserters


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

Content
3 months ago
0.13 - 1.1
303K
Logistics

b 0.18.14 - Crash on trying to adjust by Ctrl-E

4 years ago

Error while running event bobinserters::bob-inserter-open-gui (ID 155)
bobinserters/control.lua:1242: attempt to index local 'gui' (a nil value)
stack traceback:
bobinserters/control.lua:1242: in function 'open_gui'
bobinserters/control.lua:428: in function <bobinserters/control.lua:418>

4 years ago

Yup got the same error, worker in 0.18.13

4 years ago

same

4972.061 Error MainLoop.cpp:1202: Exception at tick 39897439: The mod Bob's Adjustable Inserters mod (0.18.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event bobinserters::bob-inserter-open-gui (ID 160)
__bobinserters__/control.lua:1242: attempt to index local 'gui' (a nil value)
stack traceback:
    __bobinserters__/control.lua:1242: in function 'open_gui'
    __bobinserters__/control.lua:428: in function <__bobinserters__/control.lua:418>
4983.855 Loading map C:\Users\TheCh\AppData\Roaming\Factorio\saves\0.18 experimental.zip: 25944636 bytes.
4983.937 Loading level.dat: 115736444 bytes.
4983.944 Info Scenario.cpp:187: Map version 0.18.14-1
4987.044 Warning BlueprintShelf.cpp:825: Record (0, 545) contains an empty blueprint; removing
4987.492 Loading blueprint storage: Local timestamp 1584559260, Cloud timestamp 1584559257
4 years ago
(updated 4 years ago)

I'm looking into it.
it works fine in 0.18.12 (0.18.13 unconfirmed)
As far as I can tell, there is nothing wrong with my code, it's an issue with on_gui_closed event and player.opened = gui. (This lets you close the GUI by pressing E or Escape, or closes it when you open another GUI)
I can try to fix it, but it may be a game bug, not a mod bug.

4 years ago

The appears to be a base game bug, related to the defines.gui_type check. Apparently the list was changed in 0.18.14 due to removal of the kills GUI, and was done incorrectly in the game code. They've already fixed it for 0.18.15

4 years ago

Just a notice: Bobingabout you are the best btw :-D

4 years ago

same

New response