[ian-reeds-games] effect error

  • From: Kyle Davis <kyles.supernova@xxxxxxxxx>
  • To: ian-reeds-games@xxxxxxxxxxxxx
  • Date: Wed, 30 Sep 2015 15:28:19 -0700

i have found an error with effect immunities but so far it is a bit random but it seems to happen when you have the caster immune to his or her own effect for instant you have a fireball skill that causes the tile to burn with fire and have effect_on_apply flag that causes a unit to be burn but it seems to happen when you use the skill near the caster who is immune to being burned but it is so far random and is difficult to replicate here is the error message:
---------------------------

---------------------------
An error has occurred. Please notify the game creator of this error. You can copy the entire error to your clipboard by pressing control + C. Then you can paste it into an email by pressing control + V and send the email to support@xxxxxxxxxxxxxxxxxxx.
System.NullReferenceException: Object reference not set to an instance of an object.

at Ian.AP.HandleEndOfPerformSkill(SkillOrItemBase soib, Unit curUnit, Tile t, Unit u, Boolean success, List`1 appliedEffects, List`1 splashAppliedEffects) in C:\Data\Recent\Games\TacticalBattle\ActionPerformer.cs:line 612

at Ian.AP.PerformSkill(SkillOrItemBase soib, Unit curUnit, Unit targetUnit, Tile target, Item item, Boolean speakAsync, Boolean suppressSpeech, Boolean announceCoords, Boolean received FromServer, Boolean suppressSound) in C:\Data\Recent\Games\TacticalBattle\ActionPerformer.cs:line 245

at Ian.BattleAction.Process(TBClientWorld ent) in C:\Data\Recent\Games\TacticalBattle\TBStates\BattleAction.cs:line 41

at Ian.SceneMachine`1.Process(T ent) in C:\Data\Recent\Games\GameEngine\SceneMachine.cs:line 65

at Ian.TBGameLoop.InnerSingleLoop(TBClientWorld ent, QueuedGameInput formInput) in C:\Data\Recent\Games\TacticalBattle\TBGameLoop.cs:line 59

at Ian.GameLoopLogic.RunLoops[TWorld](TWorld ent, QueuedGameInput formInput, Action`2 runSingleLoop, Double totalElapsedSeconds, Double fixedTimeStep) in C:\Data\Recent\Games\GameEngine\GameLoopLogic.cs:line 31

at Ian.TBGameLoop.RunLoops(TBClientWorld ent, QueuedGameInput formInput) in C:\Data\Recent\Games\TacticalBattle\TBGameLoop.cs:line 23

at Ian.GameWindow`1.RunGameLoop() in C:\Data\Recent\Games\GameEngine\GameWindow.cs:line 132

at Ian.GameWindow`1.GameLoopTimer_Tick(Object sender, EventArgs e) in C:\Data\Recent\Games\GameEngine\GameWindow.cs:line 179

at System.Windows.Forms.Timer.OnTick(EventArgs e)

at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---------------------------
OK
---------------------------


-----
You can unsubscribe from this list by sending email to
ian-reeds-games-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field.
Or by visiting the list page at //www.freelists.org/list/ian-reeds-games

Download the latest dev version of Tactical Battle here:
http://blindaudiogames.com/downloads/Tactical%20Battle%20Dev.zip

Other related posts: