Radar improvement research

by Jorn86

Allows upgrading radar scanning distance and speed

Utilities
3 years ago
0.17 - 0.18
48

b Remove radar command crashes game

4 years ago

215.907 Error MainLoop.cpp:1202: Exception at tick 107206793: Error while running
command "resetradars": radar-tech/control.lua:76: bad argument #3 of 3 to 'index' (string expected, got nil)
stack traceback:
[C]: in function '__index'
__radar-tech
/control.lua:76: in function <radar-tech/control.lua:67>
215.907 Error ServerMultiplayerManager.cpp:90: MultiplayerManager failed: "Error while running command "resetradars
": radar-tech/control.lua:76: bad argument #3 of 3 to 'index' (string expected, got nil)
stack traceback:
[C]: in function '__index'
__radar-tech
/control.lua:76: in function <radar-tech/control.lua:67>"
215.907 Info ServerMultiplayerManager.cpp:771: updateTick(107206793) changing state from(InGame) to(Failed)
215.907 Quitting: multiplayer error.

4 years ago

I'm not sure how, but you seem to have triggered a command event without player_index field. That shouldn't be possible according to the documentation.

But given that it does, it's easy to fix: I'll just print to all players instead. Will release a fix soon.

4 years ago

Released 0.1.3 which fixes this issue

4 years ago

I ran it on the server console, not as a player.

4 years ago

That was Rseding's conclusion too :)

This thread has been locked.