1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Request Smarter Bank Withdrawals with new Withdraw-X

Discussion in 'Client & Site Suggestions' started by Snufalufugus, Oct 10, 2018.

  1. Snufalufugus

    Joined:
    Aug 23, 2015
    Messages:
    1,961
    Likes Received:
    757
    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
     
  2. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    The release the other day already added support for this via Bank.setDefaultWithdrawQuantity
     
  3. Aidden

    Aidden Author of MaxiBots

    Joined:
    Dec 3, 2013
    Messages:
    6,482
    Likes Received:
    990
    Does Bank.withdraw use the left click as mentioned though, or do we have to add that ourselves?
     
  4. Snufalufugus

    Joined:
    Aug 23, 2015
    Messages:
    1,961
    Likes Received:
    757
    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.
     
  5. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    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 (Text):
    1.  
    2. Bank.setDefaultQuantity(14);
    3. Bank.withdraw("Vial", 14);
    4.  
    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)
     
  6. Snufalufugus

    Joined:
    Aug 23, 2015
    Messages:
    1,961
    Likes Received:
    757
    Party and I got it sorted out and he will be fixing the issue soonTM @Aidden
     
    Aidden likes this.
  7. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    Fixed in next release @Snufalufugus @Aidden
     
    Snufalufugus and Aidden like this.
  8. Snufalufugus

    Joined:
    Aug 23, 2015
    Messages:
    1,961
    Likes Received:
    757
    Added in current release. Thanks party!
     

Share This Page

Loading...