Compact circuits


Miniaturize a whole logic network into a single entity to save place (similar to factorissimo but for signals).

Content
3 days ago
1.1 - 2.0
8.35K
Circuit network

b Crash when importing model after changes in other mods or removing them

5 months ago
(updated 5 months ago)

Hi,
Whenever I make a change in my mod with signals (only when removing signals when adding everything works fine) or for example uninstalling YARM mod I get following errors.
Thanks for the great mod.

Error when importing a model after removing some (not used by processor) signals from my mod.

The mod Compakt circuits (1.1.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event compaktcircuit::on_gui_click (ID 1)
The mod Filter Combinator (1.0.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event silent-filter-combinator::script_raised_revive (ID 81)
Index out of bounds: 635
stack traceback:
[C]: in function 'newindex'
__silent-filter-combinator
/control.lua:174: in function <silent-filter-combinator/control.lua:145>
stack traceback:
[C]: in function 'silent_revive'
compaktcircuit/scripts/build.lua:384: in function 'restore_packed_circuits2'
compaktcircuit/scripts/build.lua:398: in function 'restore_packed_circuits'
compaktcircuit/scripts/editor.lua:393: in function 'import_model'
compaktcircuit/scripts/editor.lua:624: in function 'execute_model_action'
compaktcircuit/scripts/editor.lua:815: in function 'handler'
compaktcircuit/scripts/tools.lua:390: in function <compaktcircuit/scripts/tools.lua:386>

Error when opening a processor after uninstalling YARM mod.

The mod Compakt circuits (1.1.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event compaktcircuit::compaktcircuit-click (ID 200)
The mod Filter Combinator (1.0.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event silent-filter-combinator::script_raised_revive (ID 81)
Index out of bounds: 631
stack traceback:
[C]: in function 'newindex'
__silent-filter-combinator
/control.lua:174: in function <silent-filter-combinator/control.lua:145>
stack traceback:
[C]: in function 'silent_revive'
compaktcircuit/scripts/build.lua:384: in function 'restore_packed_circuits2'
compaktcircuit/scripts/build.lua:398: in function 'restore_packed_circuits'
compaktcircuit/scripts/editor.lua:858: in function 'edit_selected'
compaktcircuit/scripts/processor.lua:1223: in function <compaktcircuit/scripts/processor.lua:1218>

Error when processor and nested processors are unpacked after uninstalling YARM mod.

The mod Compakt circuits (1.1.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event compaktcircuit::on_gui_click (ID 1)
Error when running interface function sil-filter-combinator.create_packed_entity: Index out of bounds: 631
stack traceback:
[C]: in function 'newindex'
__silent-filter-combinator
/control.lua:894: in function 'ccs_handle_spawned'
silent-filter-combinator/control.lua:906: in function <silent-filter-combinator/control.lua:904>
stack traceback:
[C]: in function 'call'
compaktcircuit/scripts/build.lua:757: in function 'create_packed_circuit_internal'
compaktcircuit/scripts/build.lua:817: in function 'create_packed_circuit_internal'
compaktcircuit/scripts/build.lua:507: in function 'create_packed_circuit_v2'
compaktcircuit/scripts/build.lua:838: in function 'create_packed_circuit'
compaktcircuit/scripts/editor.lua:1419: in function 'copy_from'
compaktcircuit/scripts/editor.lua:589: in function 'apply_model'
compaktcircuit/scripts/editor.lua:622: in function 'execute_model_action'
compaktcircuit/scripts/editor.lua:815: in function 'handler'
compaktcircuit/scripts/tools.lua:390: in function <compaktcircuit/scripts/tools.lua:386>

5 months ago

I replaced filter combinator with my own processor and none of above errors appear anymore in case of uninstalling mods or making modifications in other mods.

4 months ago
(updated 4 months ago)

There were known issues with that implementation of filter comb. The mod author states it's fixed, but there might be different issues. (Pls report there if so.)

You can always use the processor models from this thread, they are extremely optimized in terms of UPS & values range.

New response