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 [UNABLE TO REPRODUCE] Bug on opening gui after play in scenario editor

27 days ago

Error while running event Smart_Inserters::on_gui_opened (ID 95)
yafla/scripts/experimental/gui_builder.lua:93: Element with index 28 already has handlers
stack traceback:
[C]: in function 'error'
yafla/scripts/experimental/gui_builder.lua:93: in function 'add_actions'
yafla/scripts/experimental/gui_builder.lua:149: in function 'build'
yafla/scripts/experimental/gui_builder.lua:119: in function 'build'
yafla/scripts/experimental/gui_builder.lua:154: in function 'build'
yafla/scripts/experimental/gui_builder.lua:154: in function 'build'
yafla/scripts/experimental/gui_builder.lua:154: in function 'build'
yafla/scripts/experimental/gui_builder.lua:154: in function 'build'
yafla/scripts/experimental/gui_builder.lua:154: in function 'build'
yafla/scripts/experimental/gui_builder.lua:154: in function 'build'
Smart_Inserters/scripts/selector_gui.lua:321: in function 'create'
Smart_Inserters/control.lua:61: in function <Smart_Inserters/control.lua:55>

27 days ago

Very sorry, forgot to mark it as bug

27 days ago
(updated 27 days ago)

Ill check this right away, could you tell me wich scenario?

Edit: I can't replicate the problem, I need a bit more details.

26 days ago
(updated 26 days ago)

I was testing game in scenario editing, to check whats new.
As probable way to reproduce:
Place inserter in scenario editor
Save n play
Open inserter GUI in game

26 days ago

I tried but still could not reproduce "already has handlers" is a common bug that happens in a set of cases but I still could not reproduce it.

26 days ago

Fine
1. Map editor
2. New scenario -> bla bla -> create
3a. Take inserters in scenario inv (not player), place it from inv
3b. Place inserters directly from build menu
4. Save n play

Nothing crashed now and all work as intended xD
Seems like some very rare scenario, as I was unable to reproduce it again, but probably quality have effect for bug appearing, would check.

26 days ago

Additonal steps:
1. Back to menu -> leads to scenario editor
2. Placed legendary inserters via both methods + accidentally placed inserter destroy effect
3. Play

Nothing happened too. Some rare bug, I have no idea

New response