-
assigned issue to
Error Message during Gameplay.
Got the following error message after exiting the chaos tunnel
Ultimate ADOM - Caverns of Chaos Version 0.7.3 - 2/26/2021 1:29:51 PM
Error during HandleGfxEvent EndOfEngineTurn
Originating error sequence: Index was outside the bounds of the array.
Inner-most stack trace:
at Game.Common.Game.Panel.Minimap.MinimapPanel.UpdateMinimap () [0x00035] in <030459d091334582914611ad65876e63>:0 at Game.Common.Game.Panel.Minimap.MinimapPanel.HandleEndOfEngineTurn (UA.UserInterface.Signals.UiSignal uiSignal) [0x0000e] in <030459d091334582914611ad65876e63>:0 at Game.Common.Game.AgeEventHandler.EndOfEngineTurnCallback (Game.Common.Game.GfxEventQueue.Events.IGfxEvent gfxEvent) [0x00000] in <030459d091334582914611ad65876e63>:0 at Game.Common.Game.GfxEventQueue.GfxEventQueueHandler.AdvanceGfxEventQueue () [0x0008f] in <030459d091334582914611ad65876e63>:0
Outer stack trace:
at Game.Common.Game.Panel.Minimap.MinimapPanel.UpdateMinimap () [0x00035] in <030459d091334582914611ad65876e63>:0 at Game.Common.Game.Panel.Minimap.MinimapPanel.HandleEndOfEngineTurn (UA.UserInterface.Signals.UiSignal uiSignal) [0x0000e] in <030459d091334582914611ad65876e63>:0 at Game.Common.Game.AgeEventHandler.EndOfEngineTurnCallback (Game.Common.Game.GfxEventQueue.Events.IGfxEvent gfxEvent) [0x00000] in <030459d091334582914611ad65876e63>:0 at Game.Common.Game.GfxEventQueue.GfxEventQueueHandler.AdvanceGfxEventQueue () [0x0008f] in <030459d091334582914611ad65876e63>:0
Index was outside the bounds of the array.
System.IndexOutOfRangeException: Index was outside the bounds of the array. at Game.Common.Game.Panel.Minimap.MinimapPanel.UpdateMinimap () [0x00035] in <030459d091334582914611ad65876e63>:0 at Game.Common.Game.Panel.Minimap.MinimapPanel.HandleEndOfEngineTurn (UA.UserInterface.Signals.UiSignal uiSignal) [0x0000e] in <030459d091334582914611ad65876e63>:0 at Game.Common.Game.AgeEventHandler.EndOfEngineTurnCallback (Game.Common.Game.GfxEventQueue.Events.IGfxEvent gfxEvent) [0x00000] in <030459d091334582914611ad65876e63>:0 at Game.Common.Game.GfxEventQueue.GfxEventQueueHandler.AdvanceGfxEventQueue () [0x0008f] in <030459d091334582914611ad65876e63>:0
Comments (3)
-
repo owner -
- changed status to resolved
I've added a check so that this error should not happen again.
-
- changed milestone to Fixed in version 0.7.4
- Log in to comment
It seems there still are rare cases where events with incorrect coordinates get fired. I guess we should add a check for valid coordinates to prevent these accidental problems.