Page 1 of 1

FARL: Exception at tick 10719571: Error while running event

Posted: Sun May 14, 2017 10:17 pm
by stedd007
Log snippet from server:

74983.698 code:28, 1c; Operation too slow. Less than 1 bytes/sec transferred the last 20 seconds
74983.699 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/post-game-heartbeat/1945973
74983.700 Info HttpSharedState.cpp:111: Status code: 0
74983.700 Info MatchingServer.cpp:142: Failed to sendHeartbeat to the multiplayer matching server: Operation too slow. Less than 1 bytes/sec transferred the last 20 seconds
74984.615 Info ServerMultiplayerManager.cpp:593: Matching server connection resumed
75010.156 Error MainLoop.cpp:850: Exception at tick 10719571: Error while running event FARL::on_entity_died (ID 4)
__FARL__/control.lua:385: bad argument #2 to '__index' (string expected, got nil)
75010.157 Error ServerMultiplayerManager.cpp:94: MultiplayerManager failed: "Error while running event FARL::on_entity_died (ID 4)
__FARL__/control.lua:385: bad argument #2 to '__index' (string expected, got nil)"
75010.158 Info ServerMultiplayerManager.cpp:664: mapTick(10719571) changing state from(InGame) to(Failed)
75078.943 Received SIGINT, shutting down
75078.947 Info MainLoop.cpp:242: Saving map as c:\Users\REDACTED\Desktop\newgame.zip
75085.692 Info ServerMultiplayerManager.cpp:140: Quitting multiplayer connection.
75085.693 Info ServerMultiplayerManager.cpp:664: mapTick(-1) changing state from(Failed) to(Closed)
75085.696 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/remove-game/1945973
75085.798 Info HttpSharedState.cpp:111: Status code: 200
75085.798 Info UDPSocket.cpp:234: Socket closed
75085.934 Info UDPSocket.cpp:234: Socket closed
75085.935 Goodbye

Re: FARL: Exception at tick 10719571: Error while running event

Posted: Sun May 14, 2017 10:49 pm
by Rseding91
That's an error with the mod. You'll need to contact the mod author.

Re: FARL: Exception at tick 10719571: Error while running event

Posted: Mon May 15, 2017 5:05 am
by steinio
Rseding91 wrote:That's an error with the mod. You'll need to contact the mod author.
In general you may think about a global try catch because no Lua code should be able to do a hard crash of the game.

Greetings, steinio.

Re: FARL: Exception at tick 10719571: Error while running event

Posted: Mon May 15, 2017 5:08 am
by Rseding91
steinio wrote:
Rseding91 wrote:That's an error with the mod. You'll need to contact the mod author.
In general you may think about a global try catch because no Lua code should be able to do a hard crash of the game.

Greetings, steinio.
That's not a hard crash. It detected the error, logged it, stopped the game, and exited.

If it was a hard crash you would see a stack trace in the log file.