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

Resolved Bank.withdraw not functioning

Discussion in 'Developer Support' started by UGRS, Jan 21, 2017.

Thread Status:
Not open for further replies.
  1. UGRS

    Joined:
    Jan 1, 2017
    Messages:
    7
    Likes Received:
    1
    So I'm currently coding a bot that kills certain npc's and after it runs out of food it get's more. This part of my code was working fine until the osrs update. Now the bot seems to open the bank press withraw X and not type anything in.


    RuneMate Version: Most recent
    Affected Games: OSRS
    Code:
    if(Bank.open()){
    SpriteItem food = Bank.newQuery().actions("Eat").results().first();
    Execution.delay(1000,1500);
    Bank.withdraw(food, 26);
    Bank.close();
    }

     
  2. Best Answer:
    Post #3 by SlashnHax, Jan 21, 2017
  3. Derk

    Derk 12 year old normie

    Joined:
    Jan 8, 2015
    Messages:
    2,766
    Likes Received:
    1,339
    Just a tip, nullcheck 'food' before interacting with it.
     
  4. SlashnHax

    Joined:
    Dec 10, 2014
    Messages:
    3,216
    Likes Received:
    1,043
    Was broken in the last update due to a small mistake, should be fixed in next update :)
    Any withdraw method that doesn't involve using Withdraw-X as the menu item should still work though.
     
  5. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    Nah it's my bad, will be fixed when client next updates.
     
  6. UGRS

    Joined:
    Jan 1, 2017
    Messages:
    7
    Likes Received:
    1
    Okay thanks for the info and tips guys I'll just work around it.
     
  7. Zaksmokescrack

    Joined:
    Mar 20, 2017
    Messages:
    4
    Likes Received:
    0
    Anytime I withdraw my salmon, it immediately dumps it back into the bank and it WILL NOT withdraw automatically with the bot. please help, Great bot but I can't use it without food.
     
  8. proxi

    proxi s̶c̶r̶i̶p̶t̶ bot*

    Joined:
    Aug 23, 2015
    Messages:
    2,223
    Likes Received:
    501
    lol whut?
     
  9. Gengsta

    Gengsta Community Manager

    Joined:
    Apr 7, 2015
    Messages:
    1,392
    Likes Received:
    763
    Are you sure you're on the right thread right now?

    edit: smh proxi
     
    proxi likes this.
  10. Zaksmokescrack

    Joined:
    Mar 20, 2017
    Messages:
    4
    Likes Received:
    0
    maybe not, but regardless, any ideas on what I'm talking about?
     
  11. Gengsta

    Gengsta Community Manager

    Joined:
    Apr 7, 2015
    Messages:
    1,392
    Likes Received:
    763
    I'd suggest you find the right thread for what issue you're having, because I can't really help you otherwise.
     
  12. Zaksmokescrack

    Joined:
    Mar 20, 2017
    Messages:
    4
    Likes Received:
    0
    Thought I was in an alpha fighter thread about banking for OSRS, sorry! seeya man :)
     
  13. SlashnHax

    Joined:
    Dec 10, 2014
    Messages:
    3,216
    Likes Received:
    1,043
    Closing this thread as it's already answered, and also to prevent further necroing.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...