[16.36] Headless Server - Error when a car destroyed
Posted: Sun Apr 15, 2018 12:19 pm
Hi, everyone. I've been running a headless server on a CentOS 6.5 machine, and I've encountered this issue twice these days: When a car with a player inside gets destroyed by biters the server will crash. There're no mods on my server except using Pack Scenarios to create a PvP map.
The last few lines of factorio-previous.log on the server side follows:
The full log file is uploaded as an attachment.
The last few lines of factorio-previous.log on the server side follows:
On the client side, If you are the one in that car, you'll get a window saying the Server is not responding. If you are not the bad luck guy, the window says the fist line (or the second one I cannot recall that) of the log posted above.75758.768 Error MainLoop.cpp:1029: Exception at tick 4816284: Error while running event level::on_player_driving_changed_state (ID 26)
.../currently-playing/addons/show_hp_and_shield/control.lua:137: attempt to index local 'vehicle' (a nil value)
75758.768 Error ServerMultiplayerManager.cpp:96: MultiplayerManager failed: "Error while running event level::on_player_driving_changed_state (ID 26)
.../currently-playing/addons/show_hp_and_shield/control.lua:137: attempt to index local 'vehicle' (a nil value)"
75758.768 Info ServerMultiplayerManager.cpp:698: mapTick(4816284) changing state from(InGame) to(Failed)
75758.769 Info GlobalContext.cpp:694: Waiting for child processes to exit:
75758.948 Info ServerMultiplayerManager.cpp:142: Quitting multiplayer connection.
75758.948 Info ServerMultiplayerManager.cpp:698: mapTick(4294967295) changing state from(Failed) to(Closed)
75758.958 Info UDPSocket.cpp:206: Closing socket
75758.958 Info UDPSocket.cpp:236: Socket closed
75758.961 Goodbye
The full log file is uploaded as an attachment.