Hello!
I am keen to use this to get some sweet, sweet multiplayer stats into my victoria metrics instance.
Unfortunately it crashes as soon as I enter my first /stats command:
/stat list
58.126 Error MainLoop.cpp:1285: Exception at tick 355087: Error while running command "stat": statorio/script/commands.lua:13: bad argument #3 of 3 to 'index' (string expected, got nil)
stack traceback:
[C]: in function '__index'
__statorio/script/commands.lua:13: in function <statorio/script/commands.lua:11>
58.126 Error ServerMultiplayerManager.cpp:91: MultiplayerManager failed: "Error while running command "stat": statorio/script/commands.lua:13: bad argument #3 of 3 to 'index' (string expected, got nil)
stack traceback:
[C]: in function '__index'
__statorio/script/commands.lua:13: in function <statorio/script/commands.lua:11>"
58.126 Info ServerMultiplayerManager.cpp:784: updateTick(355087) changing state from(InGame) to(Failed)
I am running: Factorio 1.1.42 (build 59009, linux64, headless) and statorio_1.0.2.zip