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

Resolved Bank.deposit* seems to be broken.

Discussion in 'Client & Site Support' started by Eagles13, Sep 27, 2014.

  1. Eagles13

    Eagles13 The only thing Alpha about me is my bots

    Joined:
    Sep 22, 2014
    Messages:
    618
    Likes Received:
    186
    Anything to do with depositing stuff to the bank (bank.Deposit, bank.DepositAllExcept) always seems to do nothing and return false.

    These two snippets also always return false and dont do anything.
    Code (Text):
    1.     public static boolean storeBank(final String itemName, final int number) {
    2.         if (Inventory.containsAnyOf(itemName)) {
    3.             return Bank.deposit(itemName,  number);
    4.         }else{
    5.             return true;
    6.         }
    7.     }
    8.  
    Code (Text):
    1.     if (Bank.depositAllExcept(Supply.GOLDSMITH_GAUNTLETS.name(), Supply.FIRE_STAFF.name(), Supply.NATURE_STAFF.name(), Supply.FIRE_RUNE.name(), Supply.NATURE_RUNE.name())) {
    2.        
     
  2. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124

Share This Page

Loading...