SRL Archive - RS3 Help

bankScreen.withdraw


Nufineek

2014-02-28 05:34:19

bankScreen.withdraw(1, [B]14[/B], ['']);
sometimes withdraws 28 instead and sometimes nothing. How can I fix this?

sdf

2014-02-28 07:26:55

From: Nufineek
bankScreen.withdraw(1, [B]14[/B], ['']);
sometimes withdraws 28 instead and sometimes nothing. How can I fix this?


I believe the misclicking is intentional. You can however a failsafe after withdrawal along the lines of bankScreen.getPackCount

Coh3n

2014-02-28 18:26:26

Misclicking definitely isn't intentional. I can't see how it can misclick, unless the randomness on the point clicked is too much. Your best bet is to enable SRL debug and post the text when this error occurs.

E: Is it clicking Withdraw-All? Or is it choosing a "Withdraw-28" option?

Nufineek

2014-02-28 19:18:00

I will. It is clicking "withdraw ALL"

sdf

2014-02-28 19:33:11

From: Coh3n
Misclicking definitely isn't intentional. I can't see how it can misclick, unless the randomness on the point clicked is too much. Your best bet is to enable SRL debug and post the text when this error occurs.

E: Is it clicking Withdraw-All? Or is it choosing a "Withdraw-28" option?


Well that's a first. I've had issues with this before, but it hardly ever occurs so I didn't think much of it.

Coh3n

2014-02-28 21:53:15

From: Nufineek
I will. It is clicking "withdraw ALL"
If it's a rare thing, it could be a misclick (which is easily fixable). The debug will tell us that.

Clarity

2014-03-01 03:38:36

I also ran into this problem when making my altar script. Does nothing and closes the bank screen since my next line of code is bankscreen.close().
Temporary fix until resolved might be something like:

repeat
bankScreen.withdraw(bonesSlot, WITHDRAW_AMOUNT_ALL, ['']);
smallRandomMouse;
until (bankScreen.isPackFull) or (failsafe.getTime > 20000);