Orbital Catapult


Adds an alternative space transport system.

Internal
2 days ago
2.0 - 2.1
5.25K
Planets Transportation Logistics Circuit network

b Crash after update

a month 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>

a month ago

Looking at it.

a month ago

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

a month 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!

a month 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