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 [Fixed] Stacktrace in on_player_changed_surface

2 years ago
(updated 2 years ago)

Stacktrace during exit from interface

Error while running event compaktcircuit::on_gui_click (ID 1)
Мод Compact circuits (1.0.3) вызвал неустранимую ошибку.
Пожалуйста, сообщите об этой ошибке автору мода.

Error while running event compaktcircuit::on_player_changed_surface (ID 53)
__compaktcircuit__/scripts/editor.lua:1303: attempt to index a nil value
stack traceback:
    __compaktcircuit__/scripts/editor.lua:1303: in function 'get_reverse_sprite_map'
    __compaktcircuit__/scripts/editor.lua:993: in function 'save_packed_circuits'
    __compaktcircuit__/scripts/editor.lua:666: in function <__compaktcircuit__/scripts/editor.lua:647>
    [C]: in function 'teleport'
    __compaktcircuit__/scripts/editor.lua:276: in function 'handler'
    __compaktcircuit__/scripts/tools.lua:244: in function <__compaktcircuit__/scripts/tools.lua:240>
stack traceback:
    [C]: in function 'teleport'
    __compaktcircuit__/scripts/editor.lua:276: in function 'handler'
    __compaktcircuit__/scripts/tools.lua:244: in function <__compaktcircuit__/scripts/tools.lua:240>

Cannot provide additional details, did nothing unusual
Autosave triggered right before I exit, so...
Link to the save file: https://disk.yandex.ru/d/5Lr4u6KQg9WEQQ

2 years ago

Upd.:
The crash is caused when an small industrial plate ("Steel display plate") is placed inside a CS.

2 years ago

Sorry for the crash. Should be fixed in 1.0.5

New response