Jump to content

Depositbox


Rudie

Recommended Posts

Version: 1.04.269

Cosole output: 

[ERROR][Bot #1][03/22 02:45:47 PM]: Error in script executor!
java.lang.NullPointerException
	at org.osbot.rs07.api.Widgets.isVisible(zg:60)
	at org.osbot.rs07.api.Widgets.isVisible(zg:55)
	at org.osbot.rs07.api.DepositBox.isOpen(ii:140)
	at ClayMiner.Miner.bank(Miner.java:104)
	at ClayMiner.Miner.onLoop(Miner.java:88)
	at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(dl:173)
	at java.lang.Thread.run(Unknown Source)

Script: private clayminer.

Hooks that failed: DepositBox, would not deposit, interface was open but would not do anything.

JVM bit version: 32

Edited by Rudie
Link to comment
Share on other sites

Version: 1.04.269

Cosole output: 

[ERROR][Bot #1][03/22 02:45:47 PM]: Error in script executor!
java.lang.NullPointerException
	at org.osbot.rs07.api.Widgets.isVisible(zg:60)
	at org.osbot.rs07.api.Widgets.isVisible(zg:55)
	at org.osbot.rs07.api.DepositBox.isOpen(ii:140)
	at ClayMiner.Miner.bank(Miner.java:104)
	at ClayMiner.Miner.onLoop(Miner.java:88)
	at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(dl:173)
	at java.lang.Thread.run(Unknown Source)

Script: private clayminer.

Hooks that failed: DepositBox, would not deposit, interface was open but would not do anything.

JVM bit version: 32

 

Please post the portion of the code where the error occurred for debugging purposes.

Edited by Precise
Link to comment
Share on other sites

    	if(dpbox != null) {
    		if(dpbox.interact("Deposit")) {
    			while (!depositBox.isOpen())
    				sleep(250);
    				depositBox.depositAllExcept(PICKID);
    		}
    	}

 

This worked fine for me, are you using the mirror client?

 

EDIT: i tested both on mirror and normal with no problems.

 

what version of OSBot are you using?

Edited by Precise
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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