Smart Inserters


Adjustable inserters to change pickup/drop position for each inserter, change drop/pickup offsets, custom inserter length, a custom setting for ranges and diagonal, support for slim and big inserters, and much more... Enjoy!

Utilities
a day ago
1.1 - 2.0
7.22K
Logistics

b [DONE(?)] Crash [1.1.2]

1 year, 1 day ago

I know this is 1.1.x, just keeping you informed

Error while running event Smart_Inserters::on_gui_click (ID 1)
__Smart_Inserters__/control.lua:548: attempt to index local 'inserter' (a nil value)
stack traceback:
    __Smart_Inserters__/control.lua:548: in function 'get_inserter_orientation'
    __Smart_Inserters__/control.lua:1222: in function 'on_button_position'
    __Smart_Inserters__/control.lua:1689: in function <__Smart_Inserters__/control.lua:1684>
1 year, 1 day ago

Update

Crashed again, but on 1.2.7 for this time

Error while running event Smart_Inserters::on_gui_click (ID 1)
__Smart_Inserters__/scripts/inserter_functions.lua:320: attempt to index local 'inserter' (a nil value)
stack traceback:
    __Smart_Inserters__/scripts/inserter_functions.lua:320: in function 'get_inserter_orientation'
    __Smart_Inserters__/scripts/selector_gui.lua:423: in function 'on_button_position'
    __Smart_Inserters__/control.lua:225: in function <__Smart_Inserters__/control.lua:217>
1 year, 1 day ago

Can you you tell me what you di to male this errore appear (the steps to reproduce It)

a year ago

Can you you tell me what you di to male this errore appear (the steps to reproduce It)

No steps to reproduce. I just opened the GUI of an inserter.
There only thing common for both cases is the fact there was a train / ship nearby.

a year ago

Can you send me the save and a screenshot of your settings?

I can't reproduce the issue

a year ago
(updated a year ago)

Map exchange string:

>>>eNp1Ur9rFEEUnud55HI5QopDCEi8ImC1AaOFhdxOAiIi5k8Q93Zn
ycLezLE7F5JYeEVKQ5o0amE6sUlnYXcghAgKopVdJE0KDQkJSSOc83Z
37uY2yYP39pvv/Z5ZIECekUQ6Nur4dVc4oTramlFE6JlE2RWtFossET
GTHnWjtscsEQxllxlnzRWr4cRMU6gV37dCZ8mxWkIMxY8pR8ycpmhza
SYUFoU040pBJHh+hFLIHC9PFmMp+BBTkYF0eNBuXgiVEWOx2XasHV0a
SeDG+7e7nbUpgtp7SWq9HqpCeyoOlUAnjVRcJjDKQrbkyEDwyrLlCi4
DzriMi24Y+D4htTml85gFAC+q249+r27akObO0AwcZUy3oZnHGizQK1
3TGtwz6txN5MQAaVOpWmRRJToAqXMNnQDrfz9une906/Dvw/GPp43nN
tx5WD08mt2uK/cILnutb968RvmkVyG65p6duX7Z8O0ryh8biphRRUPv
K9N9UiAwMa7Q1itlajeJHq2uy1Qp+Imc6U32Nfhp5/dQF/EAi0+h2UW
TNOxPBimkGxToLe2dHISo/FlizuANNvyi2342+ucGufgQ5h45Zppe8g
xlbOj1zUGhP426z+8j+kTfUSggwKhTxaUn9OhS6XeCJtetvem/QVZuL
+z8B7fTxgU=<<<

Save (between two crashes):
https://disk.yandex.ru/d/jC-rkjU35kr_TQ

Settings:

  • Max range: 4
  • Max range type: Incremental
  • Offset selector: true
  • Technology upgrades: all
  • Technology difficulty: Hard
  • Disable long inserters: false
11 months ago

I downloaded the save, changed the settings

opened an already placed inserter
placed a new inserter and opened it

Both were near a ship, I tried 1.2.7 and could not reproduce the crush.
I tried in another world with yout mods and settings and everything worked just fine.

I did some changes in 1.2.8 that could fix the bug, if the issue persist or is fixed tell me.

11 months ago

Well, the crashes were occasionally.

11 months ago

Ill keep looking in the edge case that make this happen, if you think you found a solid way to reproduce the crash tell me.

New response