I get an error message in red on the log and it stops. Heres the log attached i think the error is in the end.
See this keeps happening every 20min and the bot stops [Tick] Exception during execution:Buddy.Coroutines.CoroutineUnhandledException: 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.MoveNextRare() at System.Collections.Generic.List`1.Enumerator.MoveNext() at HREngine.Bots.Playfield.triggerStartTurn(Boolean ownturn) in c:\Users\Cassie\Desktop\Hearthbuddy 0.3.807.112\Routines\DefaultRoutine\Silverfish\ai\Playfield.cs:line 3560 at HREngine.Bots.Playfield.endEnemyTurn() in c:\Users\Cassie\Desktop\Hearthbuddy 0.3.807.112\Routines\DefaultRoutine\Silverfish\ai\Playfield.cs:line 1980 at HREngine.Bots.EnemyTurnSimulator.simulateEnemysTurn(Playfield rootfield, Boolean simulateTwoTurns, Boolean playaround, Boolean print, Int32 pprob, Int32 pprob2) in c:\Users\Cassie\Desktop\Hearthbuddy 0.3.807.112\Routines\DefaultRoutine\Silverfish\ai\EnemyTurnSimulator.cs:line 141 at HREngine.Bots.MiniSimulator.startEnemyTurnSim(Playfield p, Boolean simulateTwoTurns, Boolean print) in c:\Users\Cassie\Desktop\Hearthbuddy 0.3.807.112\Routines\DefaultRoutine\Silverfish\ai\MiniSimulator.cs:line 103 at HREngine.Bots.MiniSimulator.doallmoves(Playfield playf, Boolean isLethalCheck) in c:\Users\Cassie\Desktop\Hearthbuddy 0.3.807.112\Routines\DefaultRoutine\Silverfish\ai\MiniSimulator.cs:line 160 at HREngine.Bots.Ai.doallmoves(Boolean test, Boolean isLethalCheck) in c:\Users\Cassie\Desktop\Hearthbuddy 0.3.807.112\Routines\DefaultRoutine\Silverfish\ai\Ai.cs:line 123 at HREngine.Bots.Ai.dosomethingclever(Behavior bbase) in c:\Users\Cassie\Desktop\Hearthbuddy 0.3.807.112\Routines\DefaultRoutine\Silverfish\ai\Ai.cs:line 310 at HREngine.Bots.Silverfish.updateEverything(Behavior botbase, Boolean runExtern, Boolean passiveWait) in c:\Users\Cassie\Desktop\Hearthbuddy 0.3.807.112\Routines\DefaultRoutine\silverfish_HB.cs:line 214 at HREngine.Bots.DefaultRoutine.<OurTurnLogic>d__1c.MoveNext() in c:\Users\Cassie\Desktop\Hearthbuddy 0.3.807.112\Routines\DefaultRoutine\DefaultRoutine.cs:line 749 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at HREngine.Bots.DefaultRoutine.<Logic>d__3.MoveNext() in c:\Users\Cassie\Desktop\Hearthbuddy 0.3.807.112\Routines\DefaultRoutine\DefaultRoutine.cs:line 488 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot..MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot..MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot..MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot..MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(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 )