Circuit Launchable Rockets

by S6X

Launch a rocket via the circuit network... and it might even go where you want it to.

Utilities
a month ago
2.0
2.40K
Factorio: Space Age Icon Space Age Mod
Transportation Logistics Circuit network

b Crash when mining

8 months ago

The mod Circuit Launchable Rockets (1.1.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event CircuitLaunchableRockets::on_player_mined_entity (ID 69)
CircuitLaunchableRockets/control.lua:20: attempt to index local 'tbl' (a nil value)
stack traceback:
CircuitLaunchableRockets/control.lua:20: in function <CircuitLaunchableRockets/control.lua:15>

Used together with QualityRockets (which replaces quality rocket silos with variants that have faster animation speeds)

8 months ago

That mod creates and destroys rocket silos without raising the appropriate events (script_raised_built, etc.) so that causes this mod's data tables to get all messed up. Unfortunately I can't fix that on my end.

8 months ago

The mod now does raise events, but I still get a crash when placing a quality silo:
The mod Circuit Launchable Rockets (1.1.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event CircuitLaunchableRockets::script_raised_destroy (ID 88)
CircuitLaunchableRockets/control.lua:20: attempt to index local 'tbl' (a nil value)
stack traceback:
CircuitLaunchableRockets/control.lua:20: in function <CircuitLaunchableRockets/control.lua:15>
stack traceback:
[C]: in function 'raise_script_destroy'
QualityRockets/control.lua:15: in function <QualityRockets/control.lua:1>

8 months ago
(updated 8 months ago)

Ok, the problem now is that my mod never gets an on_built_entity event for a rocket silo that the other mod fast replaces in its own on_built_entity handler. So the script raised entity informing it that a rocket silo has been destroyed references a rocket silo that it never was informed about.

I don't know how to fix this, but it's not my problem. Sorry, but I'm not going to pursue this any further.

New response