deathunter144
New Member
- Joined
- Jan 17, 2015
- Messages
- 36
Hello Support,
I don't know what IS HAPPENING, after the new patch, my bot has been auto stopping to attack after every few games.
[Tick] Exception during execution:Buddy.Coroutines.CoroutineUnhandledExcep tion: Exception was thrown by coroutine ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException( ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveN extRare()
at System.Collections.Generic.List`1.Enumerator.MoveN ext()
at HREngine.Bots.Playfield.triggerEndTurn(Boolean ownturn) in c:\Users\Parker\Desktop\Hearthbuddy 0.3.838.118\Routines\DefaultRoutine\Silverfish\ai\ Playfield.cs:line 3212
at HREngine.Bots.Playfield.endTurn(Boolean simulateTwoTurns, Boolean playaround, Boolean print, Int32 pprob, Int32 pprob2) in c:\Users\Parker\Desktop\Hearthbuddy 0.3.838.118\Routines\DefaultRoutine\Silverfish\ai\ Playfield.cs:line 1856
at HREngine.Bots.MiniSimulator.doallmoves(Playfield playf, Boolean isLethalCheck) in c:\Users\Parker\Desktop\Hearthbuddy 0.3.838.118\Routines\DefaultRoutine\Silverfish\ai\ MiniSimulator.cs:line 158
at HREngine.Bots.Ai.doallmoves(Boolean test, Boolean isLethalCheck) in c:\Users\Parker\Desktop\Hearthbuddy 0.3.838.118\Routines\DefaultRoutine\Silverfish\ai\ Ai.cs:line 123
at HREngine.Bots.Ai.dosomethingclever(Behavior bbase) in c:\Users\Parker\Desktop\Hearthbuddy 0.3.838.118\Routines\DefaultRoutine\Silverfish\ai\ Ai.cs:line 310
at HREngine.Bots.Silverfish.updateEverything(Behavior botbase, Boolean runExtern, Boolean passiveWait) in c:\Users\Parker\Desktop\Hearthbuddy 0.3.838.118\Routines\DefaultRoutine\silverfish_HB. cs:line 214
at HREngine.Bots.DefaultRoutine.<OurTurnLogic>d__1c.M oveNext() in c:\Users\Parker\Desktop\Hearthbuddy 0.3.838.118\Routines\DefaultRoutine\DefaultRoutine .cs:line 749
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowF orNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetRes ult()
at HREngine.Bots.DefaultRoutine.<Logic>d__3.MoveNext( ) in c:\Users\Parker\Desktop\Hearthbuddy 0.3.838.118\Routines\DefaultRoutine\DefaultRoutine .cs:line 488
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowF orNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.Valida teEnd(Task task)
at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.„ˆ.Mo veNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowF orNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.†ˆ.Mo veNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowF orNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.ˆ.Mo veNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowF orNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.Valida teEnd(Task task)
at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.ˆ.Mo veNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowF orNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
at Buddy.Coroutines.Coroutine.’”.Ž›.MoveNext()
--- End of inner exception stack trace ---
at Buddy.Coroutines.Coroutine.›(Boolean ›)
at Buddy.Coroutines.Coroutine.Resume(Boolean ›)
at Buddy.Coroutines.Coroutine.Resume()
at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.Tick()
at Triton.Bot.BotManager.Tick(IBot )
View attachment Hearthbuddy 5556 2015-02-24 17.32.txt
I don't know what IS HAPPENING, after the new patch, my bot has been auto stopping to attack after every few games.
[Tick] Exception during execution:Buddy.Coroutines.CoroutineUnhandledExcep tion: Exception was thrown by coroutine ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException( ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveN extRare()
at System.Collections.Generic.List`1.Enumerator.MoveN ext()
at HREngine.Bots.Playfield.triggerEndTurn(Boolean ownturn) in c:\Users\Parker\Desktop\Hearthbuddy 0.3.838.118\Routines\DefaultRoutine\Silverfish\ai\ Playfield.cs:line 3212
at HREngine.Bots.Playfield.endTurn(Boolean simulateTwoTurns, Boolean playaround, Boolean print, Int32 pprob, Int32 pprob2) in c:\Users\Parker\Desktop\Hearthbuddy 0.3.838.118\Routines\DefaultRoutine\Silverfish\ai\ Playfield.cs:line 1856
at HREngine.Bots.MiniSimulator.doallmoves(Playfield playf, Boolean isLethalCheck) in c:\Users\Parker\Desktop\Hearthbuddy 0.3.838.118\Routines\DefaultRoutine\Silverfish\ai\ MiniSimulator.cs:line 158
at HREngine.Bots.Ai.doallmoves(Boolean test, Boolean isLethalCheck) in c:\Users\Parker\Desktop\Hearthbuddy 0.3.838.118\Routines\DefaultRoutine\Silverfish\ai\ Ai.cs:line 123
at HREngine.Bots.Ai.dosomethingclever(Behavior bbase) in c:\Users\Parker\Desktop\Hearthbuddy 0.3.838.118\Routines\DefaultRoutine\Silverfish\ai\ Ai.cs:line 310
at HREngine.Bots.Silverfish.updateEverything(Behavior botbase, Boolean runExtern, Boolean passiveWait) in c:\Users\Parker\Desktop\Hearthbuddy 0.3.838.118\Routines\DefaultRoutine\silverfish_HB. cs:line 214
at HREngine.Bots.DefaultRoutine.<OurTurnLogic>d__1c.M oveNext() in c:\Users\Parker\Desktop\Hearthbuddy 0.3.838.118\Routines\DefaultRoutine\DefaultRoutine .cs:line 749
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowF orNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetRes ult()
at HREngine.Bots.DefaultRoutine.<Logic>d__3.MoveNext( ) in c:\Users\Parker\Desktop\Hearthbuddy 0.3.838.118\Routines\DefaultRoutine\DefaultRoutine .cs:line 488
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowF orNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.Valida teEnd(Task task)
at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.„ˆ.Mo veNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowF orNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.†ˆ.Mo veNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowF orNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.ˆ.Mo veNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowF orNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.Valida teEnd(Task task)
at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.ˆ.Mo veNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowF orNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
at Buddy.Coroutines.Coroutine.’”.Ž›.MoveNext()
--- End of inner exception stack trace ---
at Buddy.Coroutines.Coroutine.›(Boolean ›)
at Buddy.Coroutines.Coroutine.Resume(Boolean ›)
at Buddy.Coroutines.Coroutine.Resume()
at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.Tick()
at Triton.Bot.BotManager.Tick(IBot )
View attachment Hearthbuddy 5556 2015-02-24 17.32.txt