public async Task WithdrawFromAllTabs()
{
var frame = new GuildBankFrame();
StyxWoW.Sleep(5000);
await frame.WithdrawItemCoroutine(1, 1);
}
I'm opening gb while its paused and in the end it still closes and writes to log:
Exception was thrown in BotBase.Root.Tick
Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> System.InvalidOperationException:
Cannot withdraw items when the bank frame is not visible.
at Styx.CommonBot.Frames.GuildBankFrame.lA4))0I\[@s\*-y{(6rD%=r0nQ(.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 __CompileBatchNamespace4__.__CompiledBatchClass__.<WithdrawFromAllTabs>d__2.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 __CompileBatchNamespace4__.__CompiledBatchClass__.<<__ExpressionFunc__1>b__3_0>d.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.GetResult()
at Honorbuddy.Quest_Behaviors.RunCode.<MainCoroutine>d__32.MoveNext() in C:\Honorbuddy\Quest Behaviors\RunCode.cs:line 223
--- 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 CommonBehaviors.Actions.ActionRunCoroutine.nNdW9{\[anpc\\ V/VR_hqmpGN.Y>'iHGQty;\,Cm#;mn7~BHj- %.MoveNext()
--- End of inner exception stack trace ---
at Buddy.Coroutines.Coroutine.**********(Boolean )
at Buddy.Coroutines.Coroutine.********(Boolean )
at Buddy.Coroutines.Coroutine.Resume()
at CommonBehaviors.Actions.ActionRunCoroutine.Run(Object context)
at Styx.TreeSharp.Action.RunAction(Object context)
at Styx.TreeSharp.Action.1)K}AZ}2nZK-y\\!SH</8IB>z'.MoveNext()
at Styx.TreeSharp.Composite.Tick(Object context)
at Styx.TreeSharp.Decorator.#~mB9\&h@k?8j@ 2J<\[vFeV1u\&.MoveNext()
at Styx.TreeSharp.Composite.Tick(Object context)
at Bots.Quest.Actions.ForcedBehaviorExecutor.fdfhOE;Vh|2t?wFh\\fnQ\[6\,5\..MoveNext()
at Styx.TreeSharp.Composite.Tick(Object context)
at Styx.TreeSharp.PrioritySelector.?mM4C~|e x{@^eFO\&}gp\\$\,u.MoveNext()
at Styx.TreeSharp.Composite.Tick(Object context)
at Styx.Common.HookExecutor.Run(Object context)
at Styx.TreeSharp.Action.RunAction(Object context)
at Styx.TreeSharp.Action.1)K}AZ}2nZK-y\\!SH</8IB>z'.MoveNext()
at Styx.TreeSharp.Composite.Tick(Object context)
at Styx.TreeSharp.PrioritySelector.?mM4C~|e x{@^eFO\&}gp\\$\,u.MoveNext()
at Styx.TreeSharp.Composite.Tick(Object context)
at Styx.CommonBot.Coroutines.CoroutineCompositeExtensions.WhH<T ux yU:CNL~^|\.g(`eR#.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 e%Z(\*^4\*UE"{#boLu8tM?FMz$.y38?{U~`AI%X I@i\]sm\*\]\, '(._cc\*#:TnG03Eu=9-9{$DhOQF.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 CommonBehaviors.Actions.ActionRunCoroutine.nNdW9{\[anpc\\ V/VR_hqmpGN.Y>'iHGQty;\,Cm#;mn7~BHj- %.MoveNext()
--- End of inner exception stack trace ---
at Buddy.Coroutines.Coroutine.**********(Boolean )
at Buddy.Coroutines.Coroutine.********(Boolean )
at Buddy.Coroutines.Coroutine.Resume()
at CommonBehaviors.Actions.ActionRunCoroutine.Run(Object context)
at Styx.TreeSharp.Action.RunAction(Object context)
at Styx.TreeSharp.Action.1)K}AZ}2nZK-y\\!SH</8IB>z'.MoveNext()
at Styx.TreeSharp.Composite.Tick(Object context)
at Styx.TreeSharp.PrioritySelector.?mM4C~|e x{@^eFO\&}gp\\$\,u.MoveNext()
at Styx.TreeSharp.Composite.Tick(Object context)
at Styx.Common.HookExecutor.Run(Object context)
at Styx.TreeSharp.Action.RunAction(Object context)
at Styx.TreeSharp.Action.1)K}AZ}2nZK-y\\!SH</8IB>z'.MoveNext()
at Styx.TreeSharp.Composite.Tick(Object context)
at Styx.CommonBot.Coroutines.CoroutineCompositeExtensions.WhH<T ux yU:CNL~^|\.g(`eR#.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 e%Z(\*^4\*UE"{#boLu8tM?FMz$.y38?{U~`AI%X I@i\]sm\*\]\, '(.(rM5cG\,N;REW)(zE=le'-NN~".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 Styx.CommonBot.TreeRoot.>

\[@#Y1JvdcPmL 536 I}y#!.fmDRH;Ex1KTz8k\& n1aAs^X>%.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 CommonBehaviors.Actions.ActionRunCoroutine.nNdW9{\[anpc\\ V/VR_hqmpGN.Y>'iHGQty;\,Cm#;mn7~BHj- %.MoveNext()
--- End of inner exception stack trace ---
at Buddy.Coroutines.Coroutine.**********(Boolean )
at Buddy.Coroutines.Coroutine.********(Boolean )
at Buddy.Coroutines.Coroutine.Resume()
at CommonBehaviors.Actions.ActionRunCoroutine.Run(Object context)
at Styx.TreeSharp.Action.RunAction(Object context)
at Styx.TreeSharp.Action.1)K}AZ}2nZK-y\\!SH</8IB>z'.MoveNext()
at Styx.TreeSharp.Composite.Tick(Object context)
at Styx.TreeSharp.PrioritySelector.?mM4C~|e x{@^eFO\&}gp\\$\,u.MoveNext()
at Styx.TreeSharp.Composite.Tick(Object context)
at Styx.Common.HookExecutor.Run(Object context)
at Styx.TreeSharp.Action.RunAction(Object context)
at Styx.TreeSharp.Action.1)K}AZ}2nZK-y\\!SH</8IB>z'.MoveNext()
at Styx.TreeSharp.Composite.Tick(Object context)
at Styx.CommonBot.TreeRoot.>

\[@#Y1JvdcPmL 536 I}y#!.*********()
at Styx.CommonBot.TreeRoot.*************(Action , String , Boolean )