Rocket-Silo Construction


Building a Rocket Silo is now a 6 stages process. Each silo needs to be excavated, filled and built, while requiring a lot of power, materials and generating pollution. Custom Space Exploration, Bob&Angels, Industrial Revolution and Exotic Industries compatibility News: new graphics by snouz

Content
7 months ago
0.17 - 1.1
33.7K
Manufacturing

b Crash after completing Stage 6

1 year, 1 month ago

I was testing the rocket silo construction in the Blueprint Sandbox mod environment by somethingtohide.
After completing the 6th stage, the game crashed with the following error log:

The mod Rocket-Silo Construction (1.3.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Rocket-Silo-Construction::on_nth_tick(60)
Rocket-Silo-Construction/control.lua:165: attempt to index local 'new_stage' (a nil value)
stack traceback:
Rocket-Silo-Construction/control.lua:165: in function 'upgrade_construction_site'
Rocket-Silo-Construction/control.lua:192: in function 'check_construction_site'
Rocket-Silo-Construction/control.lua:257: in function <Rocket-Silo-Construction/control.lua:252>

I believe it could have something to do with the fact that in the Blueprint Sandbox mod environment there is no player model, so that's why the command in line 165 in control.lua possible crashes.
Its a bit of an edge case but maybe with an exception for line 165 could be the solution.

1 year, 1 month ago

After commenting out line 165 the game doesn't crash and the silo just gets dropped on the ground.

New response