I was trying to figure out why I couldn't call or remote-control any of the helicopters we placed in multiplayer under 0.17 using the original mod, and when I tried to mine one of them and re-build it to see if that would work, this error crashed the server:
1282.908 Error MainLoop.cpp:1202: Exception at tick 30454907: The mod HelicopterRevival (0.0.4) caused a non-recoverable
error.
Please report this error to the mod author.
Error while running event HelicopterRevival::on_player_mined_entity (ID 65)
__HelicopterRevival__/control.lua:158: bad argument #1 of 2 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'ipairs'
__HelicopterRevival__/control.lua:158: in function <__HelicopterRevival__/control.lua:151>
1282.909 Error ServerMultiplayerManager.cpp:90: MultiplayerManager failed: "The mod HelicopterRevival (0.0.4) caused a n
on-recoverable error.
Please report this error to the mod author.
Error while running event HelicopterRevival::on_player_mined_entity (ID 65)
__HelicopterRevival__/control.lua:158: bad argument #1 of 2 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'ipairs'
__HelicopterRevival__/control.lua:158: in function <__HelicopterRevival__/control.lua:151>"
I'm guessing there's some internal state not preserved when switching from the old mod to the new, that needs to be rebuilt. Perhaps a migration script could do this?