Jump to content

Night Wintertodt


Night

Recommended Posts

  • 2 weeks later...

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

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?

Link to comment
Share on other sites

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 

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