[ian-reeds-games] Re: TB 1.13 dev 16

  • From: Zak Claassen <zak.claassen@xxxxxxxxx>
  • To: ian-reeds-games@xxxxxxxxxxxxx
  • Date: Sat, 17 Aug 2013 04:45:27 +0200

I was playing zombie house with this and the following error happened:

---------------------------
System.InvalidOperationException: Collection was modified; enumeration
operation may not execute.

   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource
resource)

   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()

   at System.Collections.Generic.List`1.Enumerator.MoveNext()

   at Game.AP.HandleDeath(Unit target, Boolean speakAsync) in
C:\Data\Recent\TacticalRPG\TacticalRPG\ActionPerformer.cs:line 427

   at Game.AP.HandleCausers(Unit curUnit, Tile targetTile, Unit
targetUnit, EffecterBase effecter, Boolean speakAsync, Func`2
getCauserByName) in
C:\Data\Recent\TacticalRPG\TacticalRPG\ActionPerformer.cs:line 538

   at Game.AP.PerformSkill(SkillOrItemBase soib, Unit curUnit, Unit
targetUnit, Tile target, Item item, Boolean speakAsync, Boolean
suppressSpeech, Boolean announceCoords, Boolean receivedFromServer) in
C:\Data\Recent\TacticalRPG\TacticalRPG\ActionPerformer.cs:line 160

   at Game.AI.TrySkill(Skill sk, Unit curUnit, Unit targetUnit, Tile
targetTile, Boolean suppressSpeech) in
C:\Data\Recent\TacticalRPG\TacticalRPG\AI.cs:line 171

   at Game.AI.PerformSkills(Unit curUnit, List`1 friends, List`1
enemies) in C:\Data\Recent\TacticalRPG\TacticalRPG\AI.cs:line 249

   at Game.AI.RunSimpleAI(Unit u, List`1 friends, List`1 enemies) in
C:\Data\Recent\TacticalRPG\TacticalRPG\AI.cs:line 52

   at Game.AI.TakeTurn(Func`1 getUnits, Func`1 getFriends, Func`1
getEnemies) in C:\Data\Recent\TacticalRPG\TacticalRPG\AI.cs:line 32

   at Game.Battle.Process(Empty ent) in
C:\Data\Recent\TacticalRPG\TacticalRPG\States\Battle.cs:line 77

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

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

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

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


On 8/17/13, michael Tholl <mrtholl@xxxxxxxxx> wrote:
> Awesome!
> Now, hopefully I can remember to download this when it won't lag the house.
> grr.. we have to get better internet connection.  *grin*
> Can't wait to see if this fixes Kobold Dungeon's lag.. if so, it'll be
> time to drool over big maps.
> Michael
>
>
> On 8/16/13, Allan Thompson <allan1.thompson@xxxxxxx> wrote:
>> Oh hey, cool!
>> Thanks man!
>>
>> al
>>
>> -----Original Message-----
>> From: ian-reeds-games-bounce@xxxxxxxxxxxxx
>> [mailto:ian-reeds-games-bounce@xxxxxxxxxxxxx] On Behalf Of Ian Reed
>> Sent: Friday, August 16, 2013 7:56 PM
>> To: ian-reeds-games@xxxxxxxxxxxxx
>> Subject: [ian-reeds-games] TB 1.13 dev 16
>>
>> Hi all!
>>
>> While working on the RPG engine I made some big improvements to how
>> sounds
>> and music are loaded and disposed.
>> For me it improved general performance, game startup time, and general
>> memory consumption.
>> Off hand it seems to make a pretty big difference when loading games in
>> Tactical Battle as well.
>>
>> I'm hoping it may improve some of the out of memory issues you are
>> getting
>> when saving or loading.
>> Give it a shot and let me know.
>> There's also a chance that me muddling around in shared code for so long
>> has
>> broken something I'm not aware of, so let me know if you hit bugs.
>>
>> Note that the executable is now called Game.exe instead of
>> TacticalBattle.exe.
>>
>> Here is the link for TB 1.13 dev 16:
>> http://BlindAudioGames.com/downloads/Tactical%20Battle%201.13%20dev%2016.zip
>>
>> Ian Reed
>>
>>
>>
>>
>>
>
>

Other related posts: