crash when casting blizzard

Issue #189 duplicate
kirni created an issue

I was in a room full of animated objects and casted blizzard. I got an error message and copied the details from the clipboard. After that I was still able to move some steps and otherwise interact. After that I have been only able to open the inventory. No walking, casting, etc.

Ultimate ADOM - Caverns of Chaos
Version 0.1.2 - 08.05.2020 15:39:04

Passing an actor turn crashed.

Object reference not set to an instance of an object

System.NullReferenceException: Object reference not set to an instance of an object
at UA.GameEngine.ECS.Systems.ZoneMaps.MapCell.GetEnumerator () [0x00000] in <59b3741dc4af489eb301a9da4031c81d>:0
at UA.GameEngine.ECS.Systems.ZoneMaps.MapCell.PropagateEvent (UA.GameEngine.Events.GameEvent ev) [0x0004c] in <59b3741dc4af489eb301a9da4031c81d>:0
at UA.GameEngine.ECS.Entities.Search.EntitySearch.Now (System.Boolean raiseException) [0x00014] in <59b3741dc4af489eb301a9da4031c81d>:0
at UA.GameEngine.GameInfo.DetailedInformation.MapCellInfo..ctor (UA.GameEngine.GameInfo.DetailedInformation.ZoneMapInfo zoneMapInfo, System.Int32 x, System.Int32 y, System.Boolean isVisible, System.Single brightness, UA.GameEngine.ECS.Systems.ZoneMaps.MapCell cell, UA.GameEngine.ECS.Systems.Brains.IMapCellMemory cellMemory) [0x00297] in <59b3741dc4af489eb301a9da4031c81d>:0
at UA.GameEngine.GameInfo.DetailedInformation.ZoneMapInfo.UpdatePosition (UA.GameEngine.ECS.Systems.ZoneMaps.IZoneMap map, System.Int32 x, System.Int32 y) [0x0005c] in <59b3741dc4af489eb301a9da4031c81d>:0
at UA.GameEngine.GameInfo.DetailedInformation.ZoneMapInfo.UpdateVisibility (UA.GameEngine.ECS.Systems.ZoneMaps.IZoneMap map, System.Collections.Generic.HashSet1[T] visiblePositions, System.Collections.Generic.HashSet1[T] gainedVisibility, System.Collections.Generic.HashSet1[T] lostVisibility, UA.GameEngine.ECS.Systems.Brains.MiniMapMemory miniMapMemory) [0x00059] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Systems.LineOfSight.FloodFillGradientLineOfSightAlgorithm.CalculateLineOfSight (UA.GameEngine.ECS.Entities.IEntity entity, System.Boolean buildOnPastVisibility) [0x00246] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Systems.LineOfSight.LineOfSightSystem.CalculateLineOfSight (UA.GameEngine.ECS.Entities.IEntity entity, System.Boolean buildOnPastVisibility) [0x00000] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Systems.Brains.Player.PlayerBrain.UpdateVisibility (System.Boolean buildOnPastVisibility) [0x00042] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Systems.Usables.UsageSystem.UseEntity (UA.GameEngine.ECS.Entities.IEntity user, UA.GameEngine.ECS.Entities.IEntity usedEntity, System.String actionType, System.String longActionMessage, System.String shortActionMessage, UA.GameEngine.ECS.Systems.Areas.RangeLevels.IRangeLevel range, UA.GameEngine.ECS.Systems.Areas.AreasOfEffect.IAreaOfEffect areaOfEffect, System.Boolean areaRotationPossible, UA.GameEngine.ECS.Systems.Targets.ISuitableTargetSelector suitableTarget, System.Collections.Generic.List1[T] effects, System.String areaOfEffectAnimation, UA.GameEngine.ECS.Systems.Targets.ISuitableTargetSelector suitableTargetForTargetPathInterruption, System.String pathToTargetAnimation, System.String selectTargetTitleTag, System.String selectionTag, System.String descriptionTag, UA.GameEngine.Rules.Values.Value maximumRange, UA.GameEngine.Rules.Values.Value targetLimit, System.Boolean selectSingleTargetRandomly, System.Boolean penetrateSolid, System.Boolean affectsUser, System.Boolean pathToTargetIsPartOfEffects, System.Boolean abortWithoutPotentialTargets, System.String longAbortMessage, System.String shortAbortMessage, System.Boolean targetPathInterruptionAborts, System.Boolean selectTargetPositionManually) [0x00663] in <59b3741dc4af489eb301a9da4031c81d>:0
at UA.GameEngine.ECS.Components.Lib.UsableComponent.PropagateEvent (UA.GameEngine.Events.GameEvent gameEvent) [0x0017d] in <59b3741dc4af489eb301a9da4031c81d>:0
at UA.Events.EventDispatcher2[TT,TE].PropagateEvent (TE ev) [0x0007c] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Entities.Entity.PropagateEvent (UA.GameEngine.Events.GameEvent gameEvent) [0x00242] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Entities.EntityReference.PropagateEvent (UA.GameEngine.Events.GameEvent gameEvent) [0x00006] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Systems.Usables.UsageSystem.UseEntity (UA.GameEngine.ECS.Entities.IEntity user, UA.GameEngine.ECS.Entities.IEntity usedEntity, System.String useAction) [0x00015] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Systems.Spells.SpellSystem.CastSpell (UA.GameEngine.ECS.Entities.IEntity caster, System.String spellId) [0x0003b] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Components.Lib.SpellcasterComponent.CastSpell (UA.GameEngine.ECS.Entities.IEntity caster) [0x0001b] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Components.Lib.SpellcasterComponent+<>c__DisplayClass8_0.<PropagateEvent>b__0 () [0x00000] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Systems.GameCommands.GameCommandOption.ExecuteOption () [0x00000] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Systems.Interactions.Modal.ModalInteractionSystem.ModalOptionSelection (UA.UserInterface.Signals.Lib.Modal.Lib.SelectOptionType selectOptionType, System.String selectOptionTitleTag, UA.UserInterface.Options.IOptionList options, System.Boolean allowAbort) [0x0006d] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Systems.Brains.Player.PlayerBrain.ExecuteOptionSelectionAndSubsequentExecution (UA.UserInterface.Options.OptionList1[OT] options) [0x0004e] in <59b3741dc4af489eb301a9da4031c81d>:0
at UA.GameEngine.ECS.Systems.Brains.BrainBase.ChooseAndExecuteInteractionOption (UA.UserInterface.Options.OptionList1[OT] options) [0x00010] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Systems.Brains.BrainBase.ChooseAndExecuteInteractionOption (UA.GameEngine.ECS.Systems.GameCommands.DirectionalGameCommandOptions options) [0x00036] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Systems.GameCommands.GameCommandSystem.DoInteractManually (UA.GameEngine.ECS.Entities.IEntity target) [0x000cc] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Systems.GameCommands.GameCommandSystem.<InteractManually>b__27_0 (UA.GameEngine.ECS.Entities.IEntity target) [0x00000] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Systems.GameCommands.GameCommandSystem+<>c__DisplayClass36_1.<ExecutePlayerAction>b__0 (UA.GameEngine.ECS.Entities.IEntity actor) [0x00099] in <59b3741dc4af489eb301a9da4031c81d>:0 at UA.GameEngine.ECS.Systems.Actors.ActorSystem.PassTurnForActor (UA.GameEngine.ECS.Entities.IEntity actor, System.Action1[T] act) [0x001b3] in <59b3741dc4af489eb301a9da4031c81d>:0
at UA.GameEngine.ECS.Systems.GameCommands.GameCommandSystem.ExecutePlayerAction (UA.GameEngine.ECS.Entities.IEntity target, System.Action`1[T] act) [0x001c5] in <59b3741dc4af489eb301a9da4031c81d>:0
at UA.GameEngine.ECS.Systems.GameCommands.GameCommandSystem.InteractManually () [0x00010] in <59b3741dc4af489eb301a9da4031c81d>:0
at UA.Bus.UltimateUserInterfaceGameEngineServiceBus.ProcessTasks () [0x00081] in <59b3741dc4af489eb301a9da4031c81d>:0

Comments (3)

  1. Log in to comment