[16.36] Headless Server - Error when a car destroyed

Bugs that are actually features.
Post Reply
Tanimodori
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Apr 15, 2018 11:50 am
Contact:

[16.36] Headless Server - Error when a car destroyed

Post by Tanimodori »

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:
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
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.

The full log file is uploaded as an attachment.
Attachments
factorio-previous.log
(44.17 KiB) Downloaded 75 times

Loewchen
Global Moderator
Global Moderator
Posts: 8320
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [16.36] Headless Server - Crashed when a car destroyed

Post by Loewchen »

This is not a crash, it is an error caused by the scenario.

Post Reply

Return to “Not a bug”