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

    Script just stuck after new OSRS update and doesnt do anything. He just kills NPC for 10min and stands for hours on the same spot. NOT RECOMMENDING TO USE IT ATM.

    Link to comment
    Share on other sites

    1 hour ago, makeitez said:

    Script just stuck after new OSRS update and doesnt do anything. He just kills NPC for 10min and stands for hours on the same spot. NOT RECOMMENDING TO USE IT ATM.

    Yup, if DB is out of date things will break. Just wait for the devs to update it, they're usually very timely about it. Until then I can't do anything!

    Link to comment
    Share on other sites

    Apologies for being the problematic user but 

    15:14:51: [ERROR] Exception has occurred while running! Please report error to developer if problem persists:
        java.lang.StackOverflowError
        at java.lang.Math.hypot(Unknown Source)
        at aL.a(aL.java:38)
        at aJ.a(aJ.java:85)
        at aJ.a(aJ.java:70)
        at aN.a(aN.java:54)
        at i.handleMovement(i.java:61)
        at org.dreambot.api.input.event.impl.mouse.impl.MoveEvent.run(MoveEvent.java:42)
        at org.dreambot.api.input.Mouse.0(Mouse.java:675)
        at org.dreambot.api.input.Mouse.move(Mouse.java:585)
        at org.dreambot.api.input.Mouse.move(Mouse.java:568)
        at aJ.a(aJ.java:175)
        at aJ.a(aJ.java:70)
        at aN.a(aN.java:54)
        at i.handleMovement(i.java:61)
        at org.dreambot.api.input.event.impl.mouse.impl.MoveEvent.run(MoveEvent.java:42)
        at org.dreambot.api.input.Mouse.0(Mouse.java:675)
        at org.dreambot.api.input.Mouse.move(Mouse.java:585)
        at org.dreambot.api.input.Mouse.move(Mouse.java:568)
        at aJ.a(aJ.java:175)
        at aJ.a(aJ.java:70)
        at aN.a(aN.java:54)
        at i.handleMovement(i.java:61)
        at org.dreambot.api.input.event.impl.mouse.impl.MoveEvent.run(MoveEvent.java:42)
        at org.dreambot.api.input.Mouse.0(Mouse.java:675)
        at org.dreambot.api.input.Mouse.move(Mouse.java:585)
        at org.dreambot.api.input.Mouse.move(Mouse.java:568)
        at aJ.a(aJ.java:175)
        at aJ.a(aJ.java:70)
        at aN.a(aN.java:54)
        at i.handleMovement(i.java:61)
        at org.dreambot.api.input.event.impl.mouse.impl.MoveEvent.run(MoveEvent.java:42)
        at org.dreambot.api.input.Mouse.0(Mouse.java:675)
        at org.dreambot.api.input.Mouse.move(Mouse.java:585)
        at org.dreambot.api.input.Mouse.move(Mouse.java:568)
        at aJ.a(aJ.java:175)
        at aJ.a(aJ.java:70)
        at aN.a(aN.java:54)
        at i.handleMovement(i.java:61)
        at org.dreambot.api.input.event.impl.mouse.impl.MoveEvent.run(MoveEvent.java:42)
        at org.dreambot.api.input.Mouse.0(Mouse.java:675)
        at org.dreambot.api.input.Mouse.move(Mouse.java:585)
        at org.dreambot.api.input.Mouse.move(Mouse.java:568)
        at aJ.a(aJ.java:175)
        at aJ.a(aJ.java:70)
        at aN.a(aN.java:54)
        at ...

    Link to comment
    Share on other sites

    On 9/8/2022 at 11:49 PM, holic said:

    "~" (try "cd ~" in your terminal) in Linux points to your home directory so in this you'd use it just like I posted to make sure it's actually reading from the right directory. Just in case it's reading from somewhere else.


    I'll have an update to make it easier soon.

    Yes I can give this a go but I'm very noob when it comes to scripting. Not sure where to find the terminal?

    It's working a little better? Still not 100% when it comes to picking up arrows. It picks up 1 or maybe 2 stacks and leaves the rest. Not a massive issue but could be more efficient. For example, I think it tries to pick up more stacks but quickly alternates to pick up another item and rests selecting targets to attack and doesn't pick up other things if available:

    Spoiler

    2022-09-10 00:59:36 [INFO] [Loot] Resetting NPC Target
    2022-09-10 00:59:37 [INFO] [Loot] Looting Iron arrow [1/7]
    2022-09-10 00:59:39 [INFO] [Loot] Looting Bones [2/7]
    2022-09-10 00:59:41 [INFO] [Main] Looted Bones x1
    2022-09-10 00:59:43 [INFO] Inventory has 1 bones
    2022-09-10 00:59:44 [INFO] [Bones] Burying 1 bones
    2022-09-10 00:59:44 [INFO] [Fight] Selecting new target
    2022-09-10 00:59:44 [INFO] [Fight] Targeting Cow
    2022-09-10 00:59:44 [INFO] [Fight] Attacking Cow
    2022-09-10 00:59:47 [INFO] Closing current tab with hotkey
    2022-09-10 00:59:50 [INFO] Inventory has 1 bones
    2022-09-10 00:59:53 [INFO] [Loot] Resetting NPC Target
    2022-09-10 00:59:55 [INFO] [Loot] Looting Iron arrow [1/6]
    2022-09-10 00:59:57 [INFO] [Loot] Looting Bones [2/6]
    2022-09-10 00:59:58 [INFO] [Main] Looted Bones x1



    Like I said, I absolutely love this script and was flawless around version 2.2(ish).

    Edited by Karson3270
    Link to comment
    Share on other sites

    On 9/7/2022 at 9:26 PM, holic said:

    Not totally certain, I'll look into it. I'll have to dust off my old linux laptop and do some testing.

     

    Could you also try using something like this:

    java -jar ./client.jar -script "Fightaholic" -params "~/config.ini"

    No difference unfortunately 😅. Could it have something to do with line endings perhaps? Changing permissions doesn't seem to have any effect on the output. Is the input path being formatted in some way? Let me know if I could assist in finding the issue!

    Link to comment
    Share on other sites

    2 hours ago, Sukiru said:

    I keep getting endscript as soonas I start script. The only thing I change is antiban to high and loot to high

    What does it say is the reason for ending the script?

     

    5 hours ago, Bernardzwijn1 said:

    No difference unfortunately 😅. Could it have something to do with line endings perhaps? Changing permissions doesn't seem to have any effect on the output. Is the input path being formatted in some way? Let me know if I could assist in finding the issue!

    Damn. Ok, cheers. I'll see what I can do!

    Link to comment
    Share on other sites

     

    On 9/9/2022 at 4:59 PM, Karson3270 said:

    Yes I can give this a go but I'm very noob when it comes to scripting. Not sure where to find the terminal?

    Don't worry, the terminal bit is only if you are on Linux and trying to launch the script with quickstart.

    Link to comment
    Share on other sites

    2022-09-12 08:34:19 [ERROR] Failed to run the random manager
    java.lang.StackOverflowError
        at aJ.a(aJ.java:85)
        at aJ.a(aJ.java:70)
        at aN.a(aN.java:54)
        at i.handleMovement(i.java:61)
        at org.dreambot.api.input.event.impl.mouse.impl.MoveEvent.run(MoveEvent.java:42)
        at org.dreambot.api.input.Mouse.0(Mouse.java:675)
        at org.dreambot.api.input.Mouse.move(Mouse.java:585)
        at org.dreambot.api.input.Mouse.move(Mouse.java:568)
        at aJ.a(aJ.java:175)
        at aJ.a(aJ.java:70)
        at aN.a(aN.java:54)
        at i.handleMovement(i.java:61)
        at org.dreambot.api.input.event.impl.mouse.impl.MoveEvent.run

     

    I get this error frequently

    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.