Summary: when i load my save game which i created with the afterlife version 2.18.1 i get an ArgumentOutOfRangeException and the UI (buttons and such) doesn't work. A reloading of the UI via the console helps to restore functionality in the console but the game seems to be broken because no Zombies are spawning.
Afterlife version: 2.18.1
7dtd version: 1.4
no additional mods installed
bug occuring in single and multi player
class: sherrif (but that doesn't matter at all for this bug)
#Restoring a save game leads to ArgumentOutOfRangeException
17 messages · Page 1 of 1 (latest)
Another additional info: right before this issue occured the first time, i created a new game with a new random world. Then i exited this new game and used "Continue game" to start the "old" one which now has this issue. Even after deleting the new save game and the new generated world this issue in my "old" game session still persists.
Please upload the log file.
Here it is...
The complete Stacktrace of the Exception is:
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <31687ccd371e4dc6b0c23a1317cf9474>:0
at WalkerSim.Simulation.QueryCellCount (WalkerSim.Vector3 pos, System.Int32 cellX, System.Int32 cellY, System.Single maxDist, System.Int32 count, System.Int32 maxCount) [0x00052] in <0caa1fa1fafa4e909e44b82ff09760db>:0
at WalkerSim.Simulation.QueryNearbyCount (WalkerSim.Vector3 pos, System.Single maxDistance, System.Int32 maxCount) [0x00096] in <0caa1fa1fafa4e909e44b82ff09760db>:0
at WalkerSim.Simulation.UpatePOICounter () [0x0005e] in <0caa1fa1fafa4e909e44b82ff09760db>:0
at WalkerSim.Simulation.Tick () [0x00028] in <0caa1fa1fafa4e909e44b82ff09760db>:0
at WalkerSim.Simulation.ThreadUpdate () [0x0007e] in <0caa1fa1fafa4e909e44b82ff09760db>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <31687ccd371e4dc6b0c23a1317cf9474>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <31687ccd371e4dc6b0c23a1317cf9474>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <31687ccd371e4dc6b0c23a1317cf9474>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <31687ccd371e4dc6b0c23a1317cf9474>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <31687ccd371e4dc6b0c23a1317cf9474>:0
I can also upload the save game and the generated world if you have a need for that.
I wish had the feeling that you should always completely close the game when switching between different worlds. Somehow the game keeps information about the last works when starting the new game.
Maybe due to this some information in your current game were overwritten and cause problems now.
Will check the logs soon to see if they provide useful information.
Do you have an older backup save for testing?
Somehow Walkersim seems to be screwed. Did you switch between worlds of different size maybe?
Do you have an older backup save for testing?
No.
Somehow Walkersim seems to be screwed. Did you switch between worlds of different size maybe?
No.
Maybe due to this some information in your current game were overwritten and cause problems now.
I have the same feeling.
Additional info: i reinstalled the game and the mod via the 7modlauncher and the copied the save game and the world into the new game installation but to no avail.
If the save is corrupt, installing the game again doesn't help.
You could try to reset Walkersim.
Start the game and enter the following into console:
walkersim restart
Thanks. I give it a try.
Zs are spawning again! And after closing the game and reloading it no Exception!
Nice. Enjoy your game. Be aware that areas which you already cleared before will contain zombies again now after the reset.
Thank you!