[ian-reeds-games] Re: Hi all!

  • From: Greta Carrara <gretuz92@xxxxxxx>
  • To: <ian-reeds-games@xxxxxxxxxxxxx>
  • Date: Sat, 22 Dec 2012 11:18:16 +0100

My idea is that this team of elementalist once decided to visit our worlds, an 
was kidnapped by Nasa. For years they've been kept in a lab, because Nasa 
wanted to conduct experiments on them etc. Your first mission is to free them 
from the lab. Then, you will fight new and old monsters, such as robots, 
policeman, and later dragons, troll, vampires etc to bring this 4 elementalists 
back to their world. 
I've created my 4 elementalist, and  I'm going to make the first map. However, 
I've the last problem to solve before continuing! When ai takes his first turn, 
I encounter this errorr:
---------------------------

---------------------------
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.Collections.Generic.KeyNotFoundException: The given key was not present 
in the dictionary.

   at System.ThrowHelper.ThrowKeyNotFoundException()

   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

   at TacticalRPG.Unit.CalculateModifierChange(String pointName, Func`2 
getInflicters, Func`2 getRestore) in 
C:\Data\Recent\TacticalRPG\TacticalRPG\Unit.cs:line 394

   at TacticalRPG.Unit.CalculateEndTurnChange(String pointName) in 
C:\Data\Recent\TacticalRPG\TacticalRPG\Unit.cs:line 368

   at TacticalRPG.Battle.HandleTurnChange() in 
C:\Data\Recent\TacticalRPG\TacticalRPG\States\Battle.cs:line 355

   at TacticalRPG.Battle.Process(World ent) in 
C:\Data\Recent\TacticalRPG\TacticalRPG\States\Battle.cs:line 58

   at TacticalRPG.StateMachine`1.Process() in 
C:\Data\Recent\TacticalRPG\TacticalRPG\StateMachine.cs:line 35

   at TacticalRPG.Form1.RunGameLoop(Boolean keyPressed) in 
C:\Data\Recent\TacticalRPG\TacticalRPG\Form1.cs:line 116

   at TacticalRPG.Form1.GameLoopTimer_Tick(Object sender, EventArgs e) in 
C:\Data\Recent\TacticalRPG\TacticalRPG\Form1.cs:line 101

   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   
---------------------------

Thanks again!

Other related posts: