Custom Multiplayer Map "Tank Battles" Server Crash

Place to get help with not working mods / modding interface.
User avatar
MewMew
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Thu May 19, 2016 11:02 am
Contact:

Custom Multiplayer Map "Tank Battles" Server Crash

Post by MewMew »

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
Attachments
ComfyFactorio.zip
(523.61 KiB) Downloaded 57 times
tank_battles.lua
(21.03 KiB) Downloaded 66 times
Post Reply

Return to “Modding help”