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:
    616
    Likes Received:
    180
    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 The Developer

    Joined:
    Jul 28, 2013
    Messages:
    2,377
    Likes Received:
    777

Share This Page

Loading...