Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Fightaholic - The scrappy AIO fightin' script - Interaction Before Fight Added


    holic

    Recommended Posts

    Getting this error when my inventory is full.

     

    1:49:28 PM: [ERROR] Exception has occurred while running! Please report error to developer if problem persists:
    	java.lang.NullPointerException: Cannot invoke "Object.toString()" because "entity" is null
    	at org.dreambot.api.methods.container.impl.bank.BankLocation.getNearest(BankLocation.java:148)
    	at M.execute(M.java:56)
    	at org.dreambot.api.script.impl.TaskScript.onLoop(TaskScript.java:71)
    	at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:247)
    	at java.base/java.lang.Thread.run(Thread.java:833)

     

    Link to comment
    Share on other sites

    12 hours ago, holic said:

    You probably just started the script before your account was logged in and the skilltracker was started so it had no reference for the original level, just saw that it went from 1 to 41. Thank you though.

     

    Cheers, can you send me the setup you used that ran into this issue?

     

    Thank you! Would you mind sending me a little more of the log so I know what the script was trying to do when it failed? DB obfuscates the uploaded scripts so I don't actually know what file the error came from, just that it was trying to move the mouse.

    Sorry mate, can you explain what you mean by setup :x

    Link to comment
    Share on other sites

    14 hours ago, Karson3270 said:

    Sorry mate, can you explain what you mean by setup :x

    No worries, I meant the way you've set up the script. So I just need the file you save/load when using this script that is encountering an issue.

    Link to comment
    Share on other sites

    2022-09-01 20:08:12 [ERROR] Exception has occurred while running! Please report error to developer if problem persists
    java.lang.NullPointerException: Cannot invoke "org.dreambot.0N.0()" because "<local5>[<local2>][<local6>][<local7>]" is null
        at org.dreambot.api.methods.item.GroundItems.all(GroundItems.java:66)
        at org.dreambot.api.methods.item.GroundItems.all(GroundItems.java:147)
        at T.accept(T.java:24)
        at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
        at java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:361)
        at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:528)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
        at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647)
        at org.dreambot.api.script.impl.TaskScript.onLoop(TaskScript.java:66)
        at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:247)
        at java.base/java.lang.Thread.run(Thread.java:833)

     

    thoughts?

    Link to comment
    Share on other sites

    On 8/29/2022 at 3:14 AM, holic said:

    Higher percentage means more antiban and antipattern stuff will happen. If you set it to high frequency and 100% you will see it doing stuff every few seconds or so. I recommend 70-80%

     

    Newest version?

    Found the issue, if the client closes while a script is running and you restart it it'll give that error. Restarting the PC fixes it

    Link to comment
    Share on other sites

    3 hours ago, kstan said:

    2022-09-01 20:08:12 [ERROR] Exception has occurred while running! Please report error to developer if problem persists
    java.lang.NullPointerException: Cannot invoke "org.dreambot.0N.0()" because "<local5>[<local2>][<local6>][<local7>]" is null
        at org.dreambot.api.methods.item.GroundItems.all(GroundItems.java:66)
        at org.dreambot.api.methods.item.GroundItems.all(GroundItems.java:147)
        at T.accept(T.java:24)
        at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
        at java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:361)
        at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:528)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
        at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647)
        at org.dreambot.api.script.impl.TaskScript.onLoop(TaskScript.java:66)
        at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:247)
        at java.base/java.lang.Thread.run(Thread.java:833)

     

    thoughts?

    Cheers, I see the issue. I'll push an update tomorrow but for now if you want to run it, just don't leave the arrow option blank

    Link to comment
    Share on other sites

    12 hours ago, holic said:

    No worries, I meant the way you've set up the script. So I just need the file you save/load when using this script that is encountering an issue.

    Cow Cow calf .ini

     

    Sorry mate. Attached for you.

     

    Also I have just started to notice, that the levels gained are not accurate. I can afk for 30 minutes and come back to see that I have gained +62 levels but not even gaining 1. Could be a small bug. Example below:

    image.thumb.png.7ad17029e20db1b96bdcb51a34a3f645.png

     

    ***EDIT***

    Here is the script log for the exact moment the script stops looting:

    Spoiler

    2022-09-02 11:47:38 [INFO] [Loot] Resetting NPC Target
    2022-09-02 11:47:39 [INFO] [Fight] Selecting new target
    2022-09-02 11:47:39 [INFO] [Fight] Targeting Chicken
    2022-09-02 11:47:39 [INFO] [Fight] Attacking Chicken
    2022-09-02 11:47:50 [INFO] [Target] Rotating to Chicken
    2022-09-02 11:47:53 [INFO] [Loot] Looting Iron arrow [1/4]
    2022-09-02 11:47:54 [INFO] [Loot] Looting Bones [2/4]
    2022-09-02 11:47:55 [INFO] [Main] Looted Bones x1
    2022-09-02 11:47:56 [INFO] [Loot] Looting Iron arrow [3/4]
    2022-09-02 11:47:58 [INFO] [Loot] Looting Iron arrow [4/4]
    2022-09-02 11:48:00 [INFO] Inventory has 1 bones
    2022-09-02 11:48:00 [INFO] [Bones] Burying 1 bones
    2022-09-02 11:48:02 [INFO] [Fight] Selecting new target
    2022-09-02 11:48:02 [INFO] [Fight] Targeting Chicken
    2022-09-02 11:48:02 [INFO] [Fight] Attacking Chicken
    2022-09-02 11:48:19 [INFO] [Loot] Looting Iron arrow [1/4]
    2022-09-02 11:48:24 [INFO] [Loot] Looting Iron arrow [2/4]
    2022-09-02 11:48:27 [INFO] [Loot] Looting Iron arrow [3/4]
    2022-09-02 11:48:28 [INFO] [Loot] Looting Iron arrow [4/4]
    2022-09-02 11:48:30 [INFO] [Loot] Resetting NPC Target
    2022-09-02 11:48:30 [INFO] [Fight] Targeted by Chicken
    2022-09-02 11:48:30 [INFO] [Fight] Targeting Chicken
    2022-09-02 11:48:30 [INFO] [Fight] Attacking Chicken
    2022-09-02 11:48:40 [INFO] [Loot] Looting Iron arrow [1/3]
    2022-09-02 11:48:40 [INFO] [Loot] Looting Iron arrow [2/3]
    2022-09-02 11:48:42 [INFO] [Loot] Looting Feather [3/3]
    2022-09-02 11:48:43 [INFO] [Main] Looted Feather x5
    2022-09-02 11:48:44 [INFO] [Loot] Resetting NPC Target
    2022-09-02 11:48:44 [INFO] [Fight] Selecting new target
    2022-09-02 11:48:44 [INFO] [Fight] Targeting Chicken
    2022-09-02 11:48:44 [INFO] [Fight] Attacking Chicken
    2022-09-02 11:48:54 [INFO] [Loot] Looting Bones [1/8]
    2022-09-02 11:48:55 [INFO] [Main] Looted Bones x1
    2022-09-02 11:48:56 [INFO] [Loot] Looting Iron arrow [2/8]
    2022-09-02 11:48:59 [INFO] [Loot] Looting Iron arrow [3/8]
    2022-09-02 11:49:02 [INFO] [Loot] Looting Feather [4/8]
    2022-09-02 11:49:03 [INFO] [Loot] Looting Feather [5/8]
    2022-09-02 11:49:04 [INFO] [Main] Looted Feather x15
    2022-09-02 11:49:07 [INFO] Randomly arranging inventory
    2022-09-02 11:49:09 [WARN] This script threw an error, contact the script writer.
    2022-09-02 11:49:09 [ERROR] Exception has occurred while running! Please report error to developer if problem persists
    java.lang.NullPointerException
        at b.m(b.java:495)
        at au.execute(au.java:190)
        at org.dreambot.api.script.impl.TaskScript.onLoop(TaskScript.java:71)
        at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:247)
        at java.lang.Thread.run(Unknown Source)
    2022-09-02 11:49:59 [INFO] [ActionCheck] ActionCheck is active
    2022-09-02 11:49:59 [INFO] [ActionCheck] Player is not in combat
    2022-09-02 11:49:59 [INFO] [ActionCheck] Player is not being interacted with
    2022-09-02 11:49:59 [INFO] [ActionCheck] Player is not moving
    2022-09-02 11:49:59 [INFO] [ActionCheck] Player is not animating
    2022-09-02 11:49:59 [INFO] [ActionCheck] Forcing a fight...
    2022-09-02 11:49:59 [INFO] [Fight] Selecting new target
    2022-09-02 11:49:59 [INFO] [Fight] Targeting Chicken
    2022-09-02 11:49:59 [INFO] [Fight] Attacking Chicken
    2022-09-02 11:50:05 [INFO] [Target] Rotating to Chicken
    2022-09-02 11:50:09 [INFO] Changing camera yaw
    2022-09-02 11:50:13 [INFO] [ActionCheck] ActionCheck is active
    2022-09-02 11:50:13 [INFO] [ActionCheck] Player is not in combat
    2022-09-02 11:50:13 [INFO] [ActionCheck] Player is not being interacted with
    2022-09-02 11:50:13 [INFO] [ActionCheck] Player is not moving
    2022-09-02 11:50:13 [INFO] [ActionCheck] Player is not animating

    This happens both for Melee and ranged now. Similar set up.

    Edited by Karson3270
    Link to comment
    Share on other sites

    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
    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.