Jump to content

Error in this.getBank().deposit


Buitenspel

Recommended Posts

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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