Hey everyone,
I hope this is the right topic, please tell me if not ;)
I started playing the campaign recently and had a blast so far... However, now I can't continue due to an error that keeps crashing the game.
SPOILER ALERT
I just opened the last of the six gates in Seven Portals, the second portal to Guardian of Steel.
As soon as I walk more than a few steps into the passage on the left the game crashes with the following message:
--- UNHANDLED EXCEPTION - 06.05.2015 15:48:40 - HMW 1.31 ---
System.ArgumentOutOfRangeException: Der Index lag außerhalb des Bereichs. Er muss nicht negativ und kleiner als die Auflistung sein.
Parametername: index
bei System.ThrowHelper.ThrowArgumentOutOfRangeException()
bei System.Collections.Generic.List`1.get_Item(Int32 index)
bei TiltedEngine.WorldObjects.ScriptNodes.PathNodePath.Dequeue() in c:\Projects\ARPGProj\trunk\Tilted Engine\TiltedEngine\WorldObjects\ScriptNodes\PathNode.cs:Zeile 110.
bei ARPGGame.ScriptNodes.MovingEnemyBehavior.DoUpdate(Int32 ms) in c:\Projects\ARPGProj\trunk\ARPG\ARPGGame\ScriptNodes\MoveAI.cs:Zeile 235.
bei ARPGGame.ScriptNodes.MovingEnemyBehavior.Update(Int32 ms, WorldActor worldActor, Body body) in c:\Projects\ARPGProj\trunk\ARPG\ARPGGame\ScriptNodes\MoveAI.cs:Zeile 188.
bei TiltedEngine.WorldObjects.WorldActor.Update(Int32 ms, WorldNodeLeaf worldNode) in c:\Projects\ARPGProj\trunk\Tilted Engine\TiltedEngine\WorldObjects\WorldActor.cs:Zeile 99.
bei TiltedEngine.WorldNodeLeaf.Update(Int32 ms) in c:\Projects\ARPGProj\trunk\Tilted Engine\TiltedEngine\WorldNodeLeaf.cs:Zeile 166.
bei TiltedEngine.WorldNodeBranch.Update(Int32 ms) in c:\Projects\ARPGProj\trunk\Tilted Engine\TiltedEngine\WorldNodeBranch.cs:Zeile 52.
bei TiltedEngine.WorldNodeBranch.Update(Int32 ms) in c:\Projects\ARPGProj\trunk\Tilted Engine\TiltedEngine\WorldNodeBranch.cs:Zeile 52.
bei TiltedEngine.WorldNodeBranch.Update(Int32 ms) in c:\Projects\ARPGProj\trunk\Tilted Engine\TiltedEngine\WorldNodeBranch.cs:Zeile 52.
bei ARPGGame.GameBase.Update(Int32 ms) in c:\Projects\ARPGProj\trunk\ARPG\ARPGGame\GameBase.cs:Zeile 881.
bei ARPGGame.ARPGGame.OnUpdateFrame() in c:\Projects\ARPGProj\trunk\ARPG\ARPGGame\Program.cs:Zeile 976.
bei ARPGGame.ARPGGame.Run() in c:\Projects\ARPGProj\trunk\ARPG\ARPGGame\Program.cs:Zeile 561.
bei ARPGGame.Program.Main(String[] args) in c:\Projects\ARPGProj\trunk\ARPG\ARPGGame\Program.cs:Zeile 193.
------
Just as an additional information: the path c:\... does not exist on my system...
I tried to verify the game cache (I play on steam) but it didn't help.
Did any of you experience this problem or know how to take care of it?
Cheers,
TheYashasama
Well the good news is it was any easy fix and has now been patched. The bad news is if you want to continue you have to download the new version and play up to that point again, my apologies, thanks for bringing this to my attention. Not sure how it went a week without anyone posting anything about it considering it is unavoidable.
If only way I could see you continuing with the current version is this, but it's a long shot:
On the upper side on the interior square on Guardian of Steel if you are playing as the Paladin try dashing past the spikes to open the door in the top right corner. The script that crashed the game trigger whenever you walk past the three torches next to the 2nd Guardian of Steel portal.
Great map! One if the best, if not the best, custom Hammerwatch maps I've played.
We did encounter a pretty severe bug, which destroyed our save file.
At a certain point* , the game crashed. Now, everytime the save file is loaded, the game crashes, generating the following error:
--- UNHANDLED EXCEPTION - 2015-05-29 22:13:25 - HMW 1.31 ---
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List`1.get_Item(Int32 index)
at TiltedEngine.WorldObjects.ScriptNodes.PathNodePath.Dequeue() in c:\Projects\ARPGProj\trunk\Tilted Engine\TiltedEngine\WorldObjects\ScriptNodes\PathNode.cs:line 110
at ARPGGame.ScriptNodes.MovingEnemyBehavior.DoUpdate(Int32 ms) in c:\Projects\ARPGProj\trunk\ARPG\ARPGGame\ScriptNodes\MoveAI.cs:line 235
at ARPGGame.ScriptNodes.MovingEnemyBehavior.Update(Int32 ms, WorldActor worldActor, Body body) in c:\Projects\ARPGProj\trunk\ARPG\ARPGGame\ScriptNodes\MoveAI.cs:line 188
at TiltedEngine.WorldObjects.WorldActor.Update(Int32 ms, WorldNodeLeaf worldNode) in c:\Projects\ARPGProj\trunk\Tilted Engine\TiltedEngine\WorldObjects\WorldActor.cs:line 99
at TiltedEngine.WorldNodeLeaf.Update(Int32 ms) in c:\Projects\ARPGProj\trunk\Tilted Engine\TiltedEngine\WorldNodeLeaf.cs:line 166
at TiltedEngine.WorldNodeBranch.Update(Int32 ms) in c:\Projects\ARPGProj\trunk\Tilted Engine\TiltedEngine\WorldNodeBranch.cs:line 52
at TiltedEngine.WorldNodeBranch.Update(Int32 ms) in c:\Projects\ARPGProj\trunk\Tilted Engine\TiltedEngine\WorldNodeBranch.cs:line 52
at TiltedEngine.WorldNodeBranch.Update(Int32 ms) in c:\Projects\ARPGProj\trunk\Tilted Engine\TiltedEngine\WorldNodeBranch.cs:line 52
at ARPGGame.GameBase.Update(Int32 ms) in c:\Projects\ARPGProj\trunk\ARPG\ARPGGame\GameBase.cs:line 881
at ARPGGame.ARPGGame.OnUpdateFrame() in c:\Projects\ARPGProj\trunk\ARPG\ARPGGame\Program.cs:line 976
at ARPGGame.ARPGGame.Run() in c:\Projects\ARPGProj\trunk\ARPG\ARPGGame\Program.cs:line 561
at ARPGGame.Program.Main(String[] args) in c:\Projects\ARPGProj\trunk\ARPG\ARPGGame\Program.cs:line 193
------
I suspect the error lies with that backtick (`) in the line:
at System.Collections.Generic.List`1.get_Item(Int32 index)
It seems to be the first line that really matters, and shares that argument name "index" with the top lines about the error.
Is it a typo?
I'd very much like it to be fixed, I hope that my save file will work then.
*The "certain point" was the third time (i think) in the Guardian of Ice.