Compakt circuit driver for stack combinator


A mod to use stack combinator into a compact circuit processor

Content
8 months ago
1.1
3.70K
Circuit network

b [Crash] Crash when packing a ghost entity

6 months ago
(updated 6 months ago)

Steps to reproduce:

  1. Deploy a processor
  2. Paste a ghost stack comb inside
  3. Pack & exit
Error while running event compaktcircuit::on_gui_checked_state_changed (ID 3)
Error when running interface function stack4cc.create_packed_entity: __stack4cc__/scripts/main.lua:77: attempt to index local 'info' (a nil value)
stack traceback:
    __stack4cc__/scripts/main.lua:77: in function <__stack4cc__/scripts/main.lua:74>
stack traceback:
    [C]: in function 'call'
    __compaktcircuit__/scripts/build.lua:756: in function 'create_packed_circuit_internal'
    __compaktcircuit__/scripts/build.lua:507: in function 'create_packed_circuit_v2'
    __compaktcircuit__/scripts/build.lua:837: in function 'create_packed_circuit'
    __compaktcircuit__/scripts/editor.lua:937: in function 'set_packed'
    __compaktcircuit__/scripts/editor.lua:906: in function 'handler'
    __compaktcircuit__/scripts/tools.lua:273: in function 'previous'
    __compaktcircuit__/scripts/tools.lua:272: in function <__compaktcircuit__/scripts/tools.lua:271>

New response