Smart Inserters


A more modern and configurable approach at adjustable inserters to change pickup/drop position/offsets, and many more options like custom inserter length, a custom setting for ranges and diagonal, support for slim and big inserters... Enjoy!

Utilities
10 days ago
1.1 - 2.0
7.66K
Logistics

b [UNABLE TO REPRODUCE] Bug on opening gui after play in scenario editor

a month 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>

a month ago

Very sorry, forgot to mark it as bug

a month ago
(updated a month 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.

a month ago
(updated a month 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

a month 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.

a month 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.

a month 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