What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

matter

Member
Joined
Dec 9, 2012
Messages
185
Code:
[Tick] Exception during execution:Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> System.AggregateException: One or more errors occurred. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at HREngine.Bots.MiniSimulator.startEnemyTurnSimThread(List`1 source, Int32 startIndex, Int32 endIndex) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\Silverfish\ai\MiniSimulator.cs:line 226
   at HREngine.Bots.MiniSimulator.<>c__DisplayClass2.<doallmoves>b__0(Tuple`2 range) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\Silverfish\ai\MiniSimulator.cs:line 134
   at System.Threading.Tasks.Parallel.<>c__DisplayClass32`2.<PartitionerForEachWorker>b__30()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
   at System.Threading.Tasks.Task.<>c__DisplayClass11.<ExecuteSelfReplicating>b__10(Object param0)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner`1 source, ParallelOptions parallelOptions, Action`1 simpleBody, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEach[TSource](Partitioner`1 source, Action`1 body)
   at HREngine.Bots.MiniSimulator.doallmoves(Playfield playf, Boolean isLethalCheck) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\Silverfish\ai\MiniSimulator.cs:line 131
   at HREngine.Bots.Ai.doallmoves(Boolean test, Boolean isLethalCheck) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\Silverfish\ai\Ai.cs:line 116
   at HREngine.Bots.Ai.dosomethingclever(Behavior bbase) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\Silverfish\ai\Ai.cs:line 252
   at HREngine.Bots.Silverfish.updateEverything(Behavior botbase) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\silverfish_HB.cs:line 198
   at HREngine.Bots.DefaultRoutine.<OurTurnLogic>d__1c.MoveNext() in d:\stig ssd\z hearthB\Routines\DefaultRoutine\DefaultRoutine.cs:line 764
--- 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 d:\stig ssd\z hearthB\Routines\DefaultRoutine\DefaultRoutine.cs:line 475
--- 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.t$lOF;G)\,Y`(NX3s:\&%LT>P$(.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.|<kOV#4h/W%u-UR/N"\,\\?P:\*".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.R8KwNN/q<1Gn-4SeUYi10YDk$.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.jI1e@"^1>|\&\]kfTC\,O2Xj4'G\,.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.'^Zm4o\]oKn'E<{cTN5x`e8@\&.a4=4qHb$\*Sk7@?S-#K5i@$`g#.MoveNext()
   --- End of inner exception stack trace ---
   at Buddy.Coroutines.Coroutine.‫*​‪*‪‪*‪‪​*‏‎**‏‫‎‪‎‏‎‪*(Boolean )
   at Buddy.Coroutines.Coroutine.​‬*‬‪*‏*‬‏*‫‎*‏‏‪‫***(Boolean )
   at Buddy.Coroutines.Coroutine.Resume()
   at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.Tick()
   at Triton.Bot.BotManager.​‏*‪‏‎‏*‪*‪*‎‬*‏*​*​*(IBot )

that error first match.

Code:
[Tick] Exception during execution:Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> System.AggregateException: One or more errors occurred. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at HREngine.Bots.MiniSimulator.doDirtyTwoTurnsimThread(List`1 source, Int32 startIndex, Int32 endIndex) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\Silverfish\ai\MiniSimulator.cs:line 302
   at HREngine.Bots.MiniSimulator.<doDirtyTwoTurnsim>b__4(Tuple`2 range) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\Silverfish\ai\MiniSimulator.cs:line 286
   at System.Threading.Tasks.Parallel.<>c__DisplayClass32`2.<PartitionerForEachWorker>b__30()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
   at System.Threading.Tasks.Task.<>c__DisplayClass11.<ExecuteSelfReplicating>b__10(Object param0)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner`1 source, ParallelOptions parallelOptions, Action`1 simpleBody, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEach[TSource](Partitioner`1 source, Action`1 body)
   at HREngine.Bots.MiniSimulator.doDirtyTwoTurnsim() in d:\stig ssd\z hearthB\Routines\DefaultRoutine\Silverfish\ai\MiniSimulator.cs:line 283
   at HREngine.Bots.MiniSimulator.doallmoves(Playfield playf, Boolean isLethalCheck) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\Silverfish\ai\MiniSimulator.cs:line 187
   at HREngine.Bots.Ai.doallmoves(Boolean test, Boolean isLethalCheck) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\Silverfish\ai\Ai.cs:line 116
   at HREngine.Bots.Ai.dosomethingclever(Behavior bbase) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\Silverfish\ai\Ai.cs:line 252
   at HREngine.Bots.Silverfish.updateEverything(Behavior botbase) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\silverfish_HB.cs:line 198
   at HREngine.Bots.DefaultRoutine.<OurTurnLogic>d__1c.MoveNext() in d:\stig ssd\z hearthB\Routines\DefaultRoutine\DefaultRoutine.cs:line 764
--- 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 d:\stig ssd\z hearthB\Routines\DefaultRoutine\DefaultRoutine.cs:line 475
--- 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.t$lOF;G)\,Y`(NX3s:\&%LT>P$(.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.|<kOV#4h/W%u-UR/N"\,\\?P:\*".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.R8KwNN/q<1Gn-4SeUYi10YDk$.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.jI1e@"^1>|\&\]kfTC\,O2Xj4'G\,.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.'^Zm4o\]oKn'E<{cTN5x`e8@\&.a4=4qHb$\*Sk7@?S-#K5i@$`g#.MoveNext()
   --- End of inner exception stack trace ---
   at Buddy.Coroutines.Coroutine.‫*​‪*‪‪*‪‪​*‏‎**‏‫‎‪‎‏‎‪*(Boolean )
   at Buddy.Coroutines.Coroutine.​‬*‬‪*‏*‬‏*‫‎*‏‏‪‫***(Boolean )
   at Buddy.Coroutines.Coroutine.Resume()
   at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.Tick()
   at Triton.Bot.BotManager.​‏*‪‏‎‏*‪*‪*‎‬*‏*​*​*(IBot )
and this the second match
Default files except two lines in defaultRoutine.cs
int enfacehp = 30
int twotsamount = 1000
 
Last edited:
Please attach a full HSB log of this issue, and we'll get it checked out.
 
same problem after the latest update 0.3.1132.218

Code:
[Tick] Exception during execution:Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> System.AggregateException: One or more errors occurred. ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at HREngine.Bots.MiniSimulator.startEnemyTurnSimThread(List`1 source, Int32 startIndex, Int32 endIndex) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\Silverfish\ai\MiniSimulator.cs:line 226
   at HREngine.Bots.MiniSimulator.<>c__DisplayClass2.<doallmoves>b__0(Tuple`2 range) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\Silverfish\ai\MiniSimulator.cs:line 134
   at System.Threading.Tasks.Parallel.<>c__DisplayClass32`2.<PartitionerForEachWorker>b__30()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
   at System.Threading.Tasks.Task.<>c__DisplayClass11.<ExecuteSelfReplicating>b__10(Object param0)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner`1 source, ParallelOptions parallelOptions, Action`1 simpleBody, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEach[TSource](Partitioner`1 source, Action`1 body)
   at HREngine.Bots.MiniSimulator.doallmoves(Playfield playf, Boolean isLethalCheck) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\Silverfish\ai\MiniSimulator.cs:line 131
   at HREngine.Bots.Ai.doallmoves(Boolean test, Boolean isLethalCheck) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\Silverfish\ai\Ai.cs:line 116
   at HREngine.Bots.Ai.dosomethingclever(Behavior bbase) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\Silverfish\ai\Ai.cs:line 241
   at HREngine.Bots.Silverfish.updateEverything(Behavior botbase) in d:\stig ssd\z hearthB\Routines\DefaultRoutine\silverfish_HB.cs:line 198
   at HREngine.Bots.DefaultRoutine.<OurTurnLogic>d__1c.MoveNext() in d:\stig ssd\z hearthB\Routines\DefaultRoutine\DefaultRoutine.cs:line 763
--- 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 d:\stig ssd\z hearthB\Routines\DefaultRoutine\DefaultRoutine.cs:line 474
--- 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.FgWpX3eHZ9MTB=Jkr \* h5B\&".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.0W!hr8pw-K7Hu\._y)o#geGIQ\&.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.<pj%j5n\&y1Lh542{d%d-LLD=.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.XG%b6#x%w>VKwUcSfk^sXarH!.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.Ps{Aw<MZLi(IM50(67\.UD<J;1.I_B\&cFU^v/>/)~26c'z~pZ:r$.MoveNext()
   --- End of inner exception stack trace ---
   at Buddy.Coroutines.Coroutine.*​*‪*‫‬**‬‎**‬‎**​​*​‫‫‪*‏*​‫**(Boolean )
   at Buddy.Coroutines.Coroutine.​‏‫***‫‏***‪‪****‎‏‬‏**(Boolean )
   at Buddy.Coroutines.Coroutine.Resume()
   at Triton.Bot.Logic.Bots.DefaultBot.DefaultBot.Tick()
   at Triton.Bot.BotManager.‫**​‏‬‎‫*​‬‬*‫‫*‪
‪​***‫‫‫‫*(IBot )

View attachment UILogg_2016-01-16_14-27-54.txt
View attachment Hearthbuddy 4080 2016-01-16 14.26.txt
View attachment Hearthbuddy 5604 2016-01-16 14.24.txt
View attachment Hearthbuddy 5724 2016-01-16 14.24.txt
 
matter, try a clean bot install without any modifications (enface or twotsamount can be changed).
If errors will appear, pm me your skype and we teamviwer it.
 
Hearthbuddy error after Update

Hey, since the last update i have problems with the Hearthbuddy bot as well. I think its the same problem, but i cant really tell, cause im not an english native speaker.
Would be nice if someone can tell me, what i can do to bring the hearthbuddy working or where i can download an earlier version of the bot, so it not going 1-15 on rank 20 when my deck can normaly bring me to rank 13 or sth.
Im attaching the log what the bot is showing in the box on the bottom. I hope that this is what you want to see. I stopped the bot after the error appears severel times, and i used a fresh reinstalled version, without any changes in the setings.

Thanks for helping,
Eisblock
 

Attachments

yeah just checked, needed a few minutes to see and try it out.

Coolmaster sent me a link : https://www.dropbox.com/s/03dj1fgt6stgim4/MiniSimulator.cs?dl=0
I replaced the MiniSimulator data i foundet in hearthbuddy -> Routines -> DefaultRoutine -> Silverfish -> ai
and the bot seems to work now, he didnt get any errors and finished 2 games from now without any complications.

Thanks, mate

EDIT:
I was wrong, error is still appearing, but i think its less often.
Error log:
 

Attachments

Last edited:
I'm having exactly the same error. I tried replacing the MiniSimulator data - it reduced the frequency of the error but the error still occurred ever 2-3 games.
Bot was running perfectly before the latest update.
I tried a fresh install which made no difference.
 
Same problem with the other guys here. That error happens and often the bot will consider that enemy has lethal and concedes, while it has totally overcome the opponent. These didn't happen until the latest patch.
 
Hey guys, version #220 is being built right now that should hopefully take care of that issue. Thank you for your patience and the logs!
 
Back
Top