AntiGrief


Adds automatic antigrief and admin commands.

Utilities
6 years ago
0.16
19

b Crashes server

6 years ago

Crashes when a player tries to deconstruct a large area. Any idéas?

2211.112 Error ServerMultiplayerManager.cpp:95: MultiplayerManager failed: "Error while running event level::on_player_deconstructed_area (ID 69)
An area of zero size is not supported. Either don't define area to search the entire surface or use 'position'.
stack traceback:
/opt/factorio/temp/currently-playing/control.lua:143: in function </opt/factorio/temp/currently-playing/control.lua:117>"
2211.112 Info ServerMultiplayerManager.cpp:696: mapTick(1719934) changing state from(InGame) to(Failed)
2211.114 Info GlobalContext.cpp:680: Waiting for child processes to exit:
2211.351 Info ServerMultiplayerManager.cpp:141: Quitting multiplayer connection.
2211.351 Info ServerMultiplayerManager.cpp:696: mapTick(4294967295) changing state from(Failed) to(Closed)
2211.352 Info HttpSharedState.cpp:54: Downloading https://multiplayer.factorio.com/remove-game/1156750
2211.499 Info HttpSharedState.cpp:145: Status code: 200
2211.500 Info UDPSocket.cpp:206: Closing socket
2211.500 Info UDPSocket.cpp:236: Socket closed

6 years ago

Thanks for the report. Seems the latest version of Factorio doesn't allow zero-size area searches, so it was crashing when you clicked with the deconstruct planner. It is fixed in 4.0.3

6 years ago

Thank you, this worked.
So global prefix was required?

Again thank you.

New response