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] Crash when importing BP

6 months ago

I imported a models library from the other save via the BP export/import feature.
The import was successful. The deployment, however, was not.

Error while running event compaktcircuit::on_gui_click (ID 1)
Unknown item name: uc-min-combinator
stack traceback:
    [C]: in function '__newindex'
    __compaktcircuit__/scripts/editor.lua:401: in function 'import_model'
    __compaktcircuit__/scripts/editor.lua:618: in function 'execute_model_action'
    __compaktcircuit__/scripts/editor.lua:809: in function 'handler'
    __compaktcircuit__/scripts/tools.lua:390: in function <__compaktcircuit__/scripts/tools.lua:386>
6 months ago

And another one:

Error while running event compaktcircuit::on_gui_click (ID 1)

Error while running event compaktcircuit::script_raised_revive (ID 81)
__compaktcircuit__/scripts/build.lua:644: attempt to index local 'iopoint' (a nil value)
stack traceback:
    __compaktcircuit__/scripts/build.lua:644: in function 'create_packed_circuit_internal'
    __compaktcircuit__/scripts/build.lua:814: in function 'create_packed_circuit_internal'
    __compaktcircuit__/scripts/build.lua:507: in function 'create_packed_circuit_v2'
    __compaktcircuit__/scripts/build.lua:835: in function 'create_packed_circuit'
    __compaktcircuit__/scripts/processor.lua:235: in function 'init_procinfo'
    __compaktcircuit__/scripts/processor.lua:303: in function 'on_build'
    __compaktcircuit__/scripts/processor.lua:342: in function 'handler'
    __compaktcircuit__/scripts/tools.lua:273: in function <__compaktcircuit__/scripts/tools.lua:271>
    [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:618: in function 'execute_model_action'
    __compaktcircuit__/scripts/editor.lua:809: in function 'handler'
    __compaktcircuit__/scripts/tools.lua:390: in function <__compaktcircuit__/scripts/tools.lua:386>
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:618: in function 'execute_model_action'
    __compaktcircuit__/scripts/editor.lua:809: in function 'handler'
    __compaktcircuit__/scripts/tools.lua:390: in function <__compaktcircuit__/scripts/tools.lua:386>
6 months ago

Thanks for report. Can you give me the blueprint that cause the crash ?. Thanks you.

6 months ago

Library is too big to be posted here directly )

Link to the blueprint book: https://disk.yandex.ru/d/3aF77yXzJAC83w
The mod missing for the 1st one is the Useful Combinators; the processor model is mini-proc "Signal Minimum (true)".
The second was big processor with the model "Signal Minimum Backup" (names may be not 100% correct).

6 months ago

Also it would be useful if the BP export would generate processor icon equal to the processor icon from the model.

6 months ago

Thanks. Should be fixed in 1.1.4

New response