Automatic Belt Direction


When laying belts, automatically adjust direction of belt.

Utilities
3 years ago
0.16 - 1.1
1.62K

b causes Servercrash when a Player leaves

3 years ago

Im running a Clusterio Server on 0.18.30 and when a Player leaves, Automatic Belt Direction causes an crash of that instance.
Fact: 2020-06-12 15:38:21 [LEAVE] Kernol12 left the game
Fact: 91.655 Error MainLoop.cpp:1205: Exception at tick 256057: The mod Automatic Belt Direction (1.3.1) caused a non-recoverable error.Please report this error to the mod author.

Error while running event automatic-belt-direction::on_player_left_game (ID 44)
automatic-belt-direction/gui.lua:59: attempt to index field 'adbgui' (a nil value)
stack traceback:
automatic-belt-direction/gui.lua:59: in function 'removegui'
automatic-belt-direction/control.lua:164: in function <automatic-belt-direction/control.lua:150>
91.655 Error ServerMultiplayerManager.cpp:90: MultiplayerManager failed: "The mod Automatic Belt Direction (1.3.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event automatic-belt-direction::on_player_left_game (ID 44)
automatic-belt-direction/gui.lua:59: attempt to index field 'adbgui' (a nil value)
stack traceback:
automatic-belt-direction/gui.lua:59: in function 'removegui'
automatic-belt-direction/control.lua:164: in function <automatic-belt-direction/control.lua:150>"
91.655 Info ServerMultiplayerManager.cpp:771: updateTick(256057) changing state from(InGame) to(Failed)
91.655 Quitting: multiplayer error.

Clusterio | RCON Disconnected!
Fact: 92.068 Info ServerMultiplayerManager.cpp:136: Quitting multiplayer connection. 92.068 Info ServerMultiplayerManager.cpp:771: updateTick(4294967295) changing state from(Failed) to(Closed)

Fact: 92.069 Info HttpSharedState.cpp:54: Downloading https://multiplayer.factorio.com/remove-game/7564420
Fact: 92.175 Info UDPSocket.cpp:218: Closing socket 92.175 Info UDPSocket.cpp:248: Socket closed
92.175 Info UDPSocket.cpp:218: Closing socket

Fact: 92.298 Info UDPSocket.cpp:218: Closing socket 92.298 Info UDPSocket.cpp:248: Socket closed

Fact: 92.301 Goodbye
child process exited with code 0

3 years ago

Same issue here indeed.

Error while running event automatic-belt-direction::on_player_left_game (ID 44)
automatic-belt-direction/gui.lua:59: attempt to index field 'adbgui' (a nil value)
stack traceback:
automatic-belt-direction/gui.lua:59: in function 'removegui'
automatic-belt-direction/control.lua:164: in function <automatic-belt-direction/control.lua:150>
8254.703 Error ServerMultiplayerManager.cpp:90: MultiplayerManager failed: "The mod Automatic Belt Direction (1.3.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event automatic-belt-direction::on_player_left_game (ID 44)
automatic-belt-direction/gui.lua:59: attempt to index field 'adbgui' (a nil value)
stack traceback:
automatic-belt-direction/gui.lua:59: in function 'removegui'
automatic-belt-direction/control.lua:164: in function <automatic-belt-direction/control.lua:150>"

3 years ago

I'm working on it. Not exactly sure yet what the problem is, plus it's a little hard to test myself for multiplayer

3 years ago

Fixed. Multiplayer should work again.

New response