Writing a map that generates a battle arena and places players into it.
After the round has ended, the surface of the arena will be deleted and a new round will begin.
When a player joins into the game after the arena surface has generated, the server crashes with these prints:
1845.059 Info ServerMultiplayerManager.cpp:699: mapTick(104146) changing state from(InGameSavingMap) to(Failed)
1845.059 Error ServerMultiplayerManager.cpp:96: MultiplayerManager failed: multiplayer.cannot-save-map("Detected corruption of the game state. You won't be able load the save game.")
1845.053 Error ParallelScenarioSaver.cpp:103: Saving scenario failed: Detected corruption of the game state. You won't be able load the save game.
1845.047 Count of indexed targeters (525) doesn't match count of saved targetables (520)
Am a bit lost of what is causing this so i am posting this issue here.
attached is the lua code of the map and the full scenario
Custom Multiplayer Map "Tank Battles" Server Crash
Custom Multiplayer Map "Tank Battles" Server Crash
- Attachments
-
- ComfyFactorio.zip
- (523.61 KiB) Downloaded 57 times
-
- tank_battles.lua
- (21.03 KiB) Downloaded 66 times
