OSHA Rocket Silo and Container Signals


Adds combinators that can provide useful signals

Content
8 days ago
1.1 - 2.0
435
Circuit network

b Error

a month ago

796.501 Error MainLoop.cpp:1432: Exception at tick 8677852: Мод OSHA Rocket Silo and Container Signals (2.0.0) вызвал неустранимую ошибку.
Пожалуйста, сообщите об этой ошибке автору мода.

Error while running event osha_container_signals::on_tick (ID 0)
Entity is not rocket-silo.
stack traceback:
[C]: in function 'index'
__osha_container_signals
/scripts/functions.lua:92: in function <osha_container_signals/scripts/functions.lua:3>
828.607 Info AppManager.cpp:339: Deleting active scenario.

25 days ago

Gonna +1 this. I caught a similar fatal error the moment I plopped one down in a lab scenario:

The mod OSHA Rocket Silo and Container Signals (2.0.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event osha_container_signals::on_tick (ID 0)
Entity is not rocket-silo.
stack traceback:
[C]: in function '__index'
__osha_container_signals__/scripts/functions.lua:92: in function <__osha_container_signals__/scripts/functions.lua:3>

The active game crashes back to main menu when this error occurs.

25 days ago

Ok thanks I'll take a look

8 days ago

Same issue here. I think the fix is simple but I haven't really tested nor do I know what performance hit this might incur.

On line 92 of scripts/functions.lua I added a LueEntity name check:

if (container.name == "rocket-silo") then
-- the existing rocket silo logic
end

8 days ago

Oh shoot holidays got me I'll take a look asap

8 days ago

Fixed!

This thread has been locked.