Visual Signals

by zomis

Allows you to keep track of chosen circuit networks on the left hand side in your GUI. Originally a fork of CircuitsUI by Fumelgo.

Utilities
1 year, 3 months ago
0.15 - 2.0
1.66K

b Error with Radar

1 year, 1 month ago
(updated 1 year, 1 month ago)

I getting following error during game. My setup is simple - I attached block to radar to show enemies on GUI, but I getting this error at some point. ~(presumably when enemy enters radar range, and radar emit its signal)~

UPD: Steps to reproduce - attach block to radar, and make sure enemy is in range of radar.

Stacktrace:

Error while running event visual-signals::on_tick (ID 0)
__visual-signals__/signal_gui.lua:40: attempt to index local 'prototype' (a nil value)
stack traceback:
    __visual-signals__/signal_gui.lua:40: in function 'UpdateSingleSignal'
    __visual-signals__/signal_gui.lua:61: in function 'addSignalsToGui'
    __visual-signals__/signal_gui.lua:76: in function 'UpdateSignalGuiPanel'
    __visual-signals__/control.lua:185: in function 'updateUICombinator'
    __visual-signals__/control.lua:196: in function <__visual-signals__/control.lua:193>
2 months ago

still same error...

2 months ago

While I think I know how to fix this, I haven't been able to reproduce this, how do you manage to get entities to become signals exactly?

Also, reason it takes time is because I'm not playing any Factorio these days, and therefore also not doing any mod development.

New response