Module Inserter Extended


Mass insert/remove modules into machines with construction robots Significant rewrite of the original, with more powerful configuration options

Utilities
18 days ago
1.1 - 2.0
40.4K

b Failed to enter the game

21 days ago

I modified the number of plugin slots using another mod, and the game runs normally. Please confirm whether this check is necessary or accurate for this mod.

Error info:
Error while running event ModuleInserterEx::on_init()
minimum_value can't be >= maximum_value
stack traceback:
[C]: in function 'add'
flib/gui.lua:65: in function 'add'
flib/gui.lua:105: in function 'add'
flib/gui.lua:105: in function 'add'
flib/gui.lua:105: in function 'add'
ModuleInserterEx/scripts/gui.lua:787: in function 'update_module_config_rows'
ModuleInserterEx/scripts/gui.lua:777: in function 'update_module_config_table'
ModuleInserterEx/scripts/gui.lua:714: in function 'create'
ModuleInserterEx/control.lua:368: in function 'init_player'
ModuleInserterEx/control.lua:373: in function 'init_players'
ModuleInserterEx/control.lua:380: in function <ModuleInserterEx/control.lua:377>

20 days ago

I'm guessing you modified it so every machine has the same number of module slots?

This mod has an option to target a row based on the number of module slots of machines, and uses a slider to configure that, and the game requires that there is actually more than 1 option for the slider. If all machines have the same number of slots, then it will try to create a slider with the same min/max value, which I believe would cause the crash you posted.

I'll work on adding a check for this case that should fix this crash, but in the meantime you could work around it by making at least one machine have a different number of module slots.

20 days ago

Thank you for your reply.

Indeed, I changed the number of module slots on all machines to 20. I'm currently using version 7.2.5, which lacks the new features of later versions, but it doesn't affect usability.

Finally, thank you again for your contribution to improving the user experience.

New response