Cursed Programable Inserters

by L0771

Inserters programables via GUI. All possible convinations.

Utilities
3 years ago
0.15 - 0.18
45

b Crash on open config

3 years ago

New error in version 0.18.33 when trying to open config on inserter.

Error while running event Cursed-PI::cursed_key (ID 160)
Unknown style dialog_frame
stack traceback:
Cursed-PI/control.lua:157: in function 'showGui'
Cursed-PI/control.lua:143: in function <Cursed-PI/control.lua:133>
stack traceback:
[C]: in function 'add'
Cursed-PI/control.lua:157: in function 'showGui'
Cursed-PI/control.lua:143: in function <Cursed-PI/control.lua:133>

3 years ago

same here

3 years ago

likewise here

3 years ago

same here, another mod I used had a similar sort of error. Someone figured out how to fix it I don't know enough about the changes that prompted this to "port" that change unfortunately... probably...

3 years ago
(updated 3 years ago)

ok figured out how to work around this

change line 157 FROM:

 flowPI.add({ type = "frame", name = "framePI", caption = entity.localised_name or {"entity-name."..entity.name}, style = "dialog_frame" })

to read:

flowPI.add({ type = "frame", name = "framePI", caption = entity.localised_name or {"entity-name."..entity.name} })

basically remove the style argument and it works well enough

3 years ago

@coffee_fiend, many thanks for the solution!

3 years ago

Fixed, I'm very fast

New response