Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Request Smarter Bank Withdrawals with new Withdraw-X

Joined
Aug 23, 2015
Messages
1,970
When calling Bank.withdraw(name, int) and int == open inv slots, Bank.withdraw() will frequently/always (playersensed?) use withdraw all. Usually this would be great, but with the new customizable withdraw X, This leads to situations as follows:

Making 14x attack potions using 14x guam (unf) and 14x eye of newt
Bank open with empty inv
Withdraw 14x guam(unf) using left click
Bot right clicks and withdraws all on eye of newt instead of left clicking

It would be faster, more reliable, and more human-like to left click both items, withdrawing 14 of each item.

Small but meaningful change, hopefully won't be hard to implement

@Party

Ty
 
Client Developer
Joined
Oct 12, 2015
Messages
3,781
The release the other day already added support for this via Bank.setDefaultWithdrawQuantity
 
Author of MaxiBots
Joined
Dec 3, 2013
Messages
7,032
The release the other day already added support for this via Bank.setDefaultWithdrawQuantity
Does Bank.withdraw use the left click as mentioned though, or do we have to add that ourselves?
 
Client Developer
Joined
Oct 12, 2015
Messages
3,781
Does Bank.withdraw use the left click as mentioned though, or do we have to add that ourselves?
It does not do what I detailed in the post. I PMed @Party more details via slack, IDK if he has had a chance, or plans to, change it.

The RuneScape update literally just puts the default withdraw quantity as the left-click option so this should already work as you'd expect.

Code:
Bank.setDefaultQuantity(14);
Bank.withdraw("Vial", 14);

The above would result in it left-clicking.

As a note, the discrepancy between the following names was a mistake. You call one or the other, not both.

static boolean setDefaultQuantity(final int quantity)
static boolean setDefaultWithdrawQuantity(final DefaultWithdrawQuantity quantity)
 
Top