Circuit Launchable Rockets

by S6X

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

Utilities
7 days ago
2.0
2.96K
Factorio: Space Age Icon Space Age Mod
Transportation Logistics Circuit network

g Attempt to index local 'tbl' (a nil value)

5 months ago
(updated 5 months ago)

Hallo!

I'm getting this error;

"/control.lua:638: attempt to index local 'tbl' (a nil value)"

However, I have my own AdvancedRocketParts mod installed, that overwrites the rocket silo with an identical copy (internal name: arp-rocket-silo).
So this is not so much a 'can you fix it?' but more a 'what does it do and can you tell me how I can fix it?'

Thanks! :)

5 months ago

When a rocket silo is built, this mod stores the rocket silo's unit_number in a table. Something (presumably something your mod did) caused that reference to become invalid, so then when when this mod tries to look up the number to open its gui, it finds a nil value and the whole thing breaks.

5 months ago

Ah, I'll see if I can make it work. Thank you :D

8 days ago

I'm facing the same issue with https://mods.factorio.com/mod/QualityRockets
Pretty sure it's as simple as installing both QualityRockets and CircuitLaunchableRockets, and placing uncommon or higher quality rocket silo to trigger the crash.
Would be nice if there'd be a guard against tbl == nil crashes.

7 days ago

The actual problem first came up here and it is a bit more complicated, and not something I'm interested in spending the time to fix "properly" (if it's even possible to do so) so for the moment I did just add a(nother) guard. If this leads to strange problems down the line I may have to just mark QualityRockets incompatible but hopefully it won't come to that. So... fixed for now. Please start a new thread if you have any further issues.

This thread has been locked.