Jump to content

Error in this.getBank().deposit


Recommended Posts

Posted (edited)

Nevermind just had to build the path.

 

 

This is my code:

    public void bank() throws InterruptedException {
    	if(!this.getBank().isOpen() && this.inventory.isFull() && !this.myPlayer().isMoving()) {
       		objects.closest(bBooth).interact("Bank");
    		sleep(random(977, 1777));    		 		
    	}    	
    	if (this.getBank().isOpen()) {
            this.getBank().depositAllExcept("Mind rune");
            sleep(random(377, 544));
            this.getBank().close();
            sleep(random(99, 1111));
        }
        sleep(random(100, 500));
        this.log("State: bank");
    }

However, the depositAllExcept("Mind rune") gives an error concerning item. Which looks like this:

 

 7MZFGur.png

 

 

Does someone know what is going on? It looks like there is something wrong with the Items?

 

Edited by Buitenspel

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...