Orbital Catapult


Adds an alternative space transport system.

Internal
a day ago
2.0
4.76K
Planets Transportation Logistics Circuit network

b Crash after update

15 days ago

I've updated Orbital Cannon from 0.8.1 to the latest version and upon loading the save, after a second this error appears:

Error while running event orbital-cannon::powered_machine_enabled_orbital-cannon (ID 332)
'link_id': real number expected got nil.
stack traceback:
[C]: in function 'newindex'
__orbital-cannon
/script/cannon-internal.lua:37: in function 'refresh_cannon'
orbital-cannon/script/cannon-internal.lua:138: in function 'enable_cannon'
orbital-cannon/script/orbital-cannon.lua:78: in function 'handler'
core/lualib/event_handler.lua:72: in function <core/lualib/event_handler.lua:70>
stack traceback:
[C]: in function 'raise_event'
powered-machine/control.lua:143: in function 'cost_check'
powered-machine/control.lua:174: in function <powered-machine/control.lua:172>

15 days ago

Looking at it.

15 days ago

This is one of those were I will have trouble reproducing it, but the line where the error is thrown, should be fixed.

15 days ago

After the update everything is working, but after a while this happens:
Error while running event orbital-cannon::powered_machine_enabled_orbital-cannon (ID 332)
'link_id': real number expected got nil.
stack traceback:
[C]: in function 'newindex'
__orbital-cannon
/script/cannon-internal.lua:110: in function 'refresh_cannon'
orbital-cannon/script/cannon-internal.lua:138: in function 'enable_cannon'
orbital-cannon/script/orbital-cannon.lua:78: in function 'handler'
core/lualib/event_handler.lua:72: in function <core/lualib/event_handler.lua:70>
stack traceback:
[C]: in function 'raise_event'
powered-machine/control.lua:143: in function 'cost_check'
powered-machine/control.lua:174: in function <powered-machine/control.lua:172>

In the end, I resolved it by replacing the orbital cannons.
Everything seems to work correctly now!

14 days ago

So the migration for this did not work properly. Added another check for this anyway, and yes breaking and replacing it is a guaranteed fix.

New response