Jump to content

Night Wintertodt


Recommended Posts

  • 2 weeks later...
Posted (edited)

Been running this script numerous times now. But i seem to be getting the same error after 1-3 hours. It appears that it drops my knife, and after that it just doesnt pick a new one up or take one from bank.. Would love to know what im doing wrong 

Food - Cake

Mirror Mode

Fletch (500)

 

ERROR][Bot #1][05/12 04:14:51 PM]: Error in script executor!
java.lang.NullPointerException
    at org.osbot.rs07.api.ui.RS2Widget.getChildWidget(eh:440)
    at org.osbot.rs07.api.Bank.getAbsoluteSlotPosition(fj:371)
    at org.osbot.rs07.api.Bank.isSlotVisible(fj:1014)
    at org.osbot.rs07.api.Bank.scrollToSlot(fj:1192)
    at org.osbot.rs07.api.Bank.withdraw(fj:1034)
    at org.osbot.rs07.api.Bank.withdraw(fj:981)
    at org.osbot.rs07.api.Bank.withdraw(fj:1199)
    at script.con.e(n:120)
    at script.WinterMain.e(j:239)
    at script.WinterMain.onLoop(j:250)
    at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ah:293)
    at java.lang.Thread.run(Unknown Source)

Edited by Stenziron
Posted
1 hour ago, Stenziron said:

Been running this script numerous times now. But i seem to be getting the same error after 1-3 hours. It appears that it drops my knife, and after that it just doesnt pick a new one up or take one from bank.. Would love to know what im doing wrong 

 Food - Cake

Mirror Mode

Fletch (500)

 

ERROR][Bot #1][05/12 04:14:51 PM]: Error in script executor!
java.lang.NullPointerException
    at org.osbot.rs07.api.ui.RS2Widget.getChildWidget(eh:440)
    at org.osbot.rs07.api.Bank.getAbsoluteSlotPosition(fj:371)
    at org.osbot.rs07.api.Bank.isSlotVisible(fj:1014)
    at org.osbot.rs07.api.Bank.scrollToSlot(fj:1192)
    at org.osbot.rs07.api.Bank.withdraw(fj:1034)
    at org.osbot.rs07.api.Bank.withdraw(fj:981)
    at org.osbot.rs07.api.Bank.withdraw(fj:1199)
    at script.con.e(n:120)
    at script.WinterMain.e(j:239)
    at script.WinterMain.onLoop(j:250)
    at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ah:293)
    at java.lang.Thread.run(Unknown Source)

Interesting, I've filed a bug report with Patrick as it looks like the API itself is NPE'ing. I'm not sure why it would drop the knife, is it possible it's banking it by accident?

Posted
On 5/12/2019 at 7:47 PM, Night said:

Interesting, I've filed a bug report with Patrick as it looks like the API itself is NPE'ing. I'm not sure why it would drop the knife, is it possible it's banking it by accident?

I tried having only 1 knife in bank and after following the error there was no knife in the bank. So it must have dropped it.

As a bonus i tried the script with both shift-drop and without. With no difference. 

Can do about between 15 and 35 runs before the bug happens 

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...