Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

HaxAgility [Deleted]

Status
Not open for further replies.
Joined
Jul 24, 2014
Messages
633
@SlashnHax I need to restart the script every few minutes now because of the negative value error :p
Has this something to do with the way you randomise waiting intervals or?
 
Joined
Dec 10, 2014
Messages
3,255
@SlashnHax I need to restart the script every few minutes now because of the negative value error :p
Has this something to do with the way you randomise waiting intervals or?
Yeah, kinda. It has to do with how I wait depending on how far away from the obstacle you are. I didn't expect the Distance API to return any negative values.
 
Joined
Jul 24, 2014
Messages
633
Yeah, kinda. It has to do with how I wait depending on how far away from the obstacle you are. I didn't expect the Distance API to return any negative values.
Ah that's probably because the error occurs (afaik) only at the final light creature at Hefin, the one that makes you descend to the start of the course again.
If you crossed the ziplines, you end up right next to the light creature so it might be an error on Cloud's end since ofcourse a distance can't be negative.
Just put it to 0, I'm pretty sure you'll know how to do that ^^
 
Joined
Dec 10, 2014
Messages
3,255
Ah that's probably because the error occurs (afaik) only at the final light creature at Hefin, the one that makes you descend to the start of the course again.
If you crossed the ziplines, you end up right next to the light creature so it might be an error on Cloud's end since ofcourse a distance can't be negative.
Just put it to 0, I'm pretty sure you'll know how to do that ^^

I've assumed that it returns -1 if the distance can't be calculated for whatever reason. I've added a check that sets the distance wait to 0 if its a negative number :p

I should probably add the window shortcut as well, now that I think about it.
 
Joined
Dec 20, 2014
Messages
19
In regards to the previous issue, I've noticed that each time it happens is when I finish the course, and get an item as a reward. Mainly mint cakes. It doesn't happen everytime I get an item, maybe 1/5 times, though.
Also, on the Hefin course, the bot likes to move the camera around a lot, sometimes pushing the next obstacle off the screen, which causes it to get stuck for a minute or two before moving the camera again and continuing forward.
 
Joined
Sep 6, 2014
Messages
244
Can you see the log yourself? Just curious.
I'll be able to fix it by making the bot walk to the obstacle using the minimap if it's a certain distance away.
Hey mate, it doesn't walk to the log, it can't reach it everytime it seems :(
It would be awesome if you could make it move next to it, to be 100% sure on that the bot can reach it ;)

(Wilderness)
 
Joined
Jan 6, 2015
Messages
24
Yeah @Bubble I'm on the same part having that issue. Would love to have wilderness fixed with the log. But I understand that will take time. Just wanted to show my concern as well.
 
Joined
Dec 10, 2014
Messages
3,255
In regards to the previous issue, I've noticed that each time it happens is when I finish the course, and get an item as a reward. Mainly mint cakes. It doesn't happen everytime I get an item, maybe 1/5 times, though.
Also, on the Hefin course, the bot likes to move the camera around a lot, sometimes pushing the next obstacle off the screen, which causes it to get stuck for a minute or two before moving the camera again and continuing forward.
That's due to the antipattern, although I've added a checkbox so you can disable it.

Hey mate, it doesn't walk to the log, it can't reach it everytime it seems :(
It would be awesome if you could make it move next to it, to be 100% sure on that the bot can reach it ;)

(Wilderness)

Yeah @Bubble I'm on the same part having that issue. Would love to have wilderness fixed with the log. But I understand that will take time. Just wanted to show my concern as well.
Damn, I knew I was forgetting something... I've fixed this up, it should be all good next version (1.5)
 
Joined
Jan 2, 2015
Messages
22
The ape atoll bot seems to be crashing for me at the end of the course. If I had to guess whats going on it can't find the next obstacle.

java.lang.RuntimeException: java.lang.RuntimeException: The delay length can not be a negative value
at com.runemate.game.api.script.Execution.delayUntil(ri:31)
at com.runemate.game.api.script.Execution.delayUntil(ri:76)
at com.runemate.game.api.script.Execution.delayUntil(ri:408)
at com.slashnhax.scripts.haxagility.courses.AgilityCourse.execute(AgilityCourse.java:58)
at com.slashnhax.scripts.haxagility.HaxAgility.lambda$poll$33(HaxAgility.java:34)
at com.slashnhax.scripts.haxagility.HaxAgility$$Lambda$375/1915699715.accept(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
at java.util.concurrent.ConcurrentLinkedQueue$CLQSpliterator.forEachRemaining(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.forEach(Unknown Source)
at com.slashnhax.scripts.haxagility.HaxAgility.poll(HaxAgility.java:32)
at com.slashnhax.scripts.HaxScript.onLoop(HaxScript.java:39)
at com.runemate.game.api.script.framework.LoopingScript.run(sf:38)
at com.runemate.game.api.script.framework.AbstractScript.start(sj:116)
at a.JlA.run(qv:217)
Caused by: java.lang.RuntimeException: The delay length can not be a negative value
at com.runemate.game.api.script.Execution.delay(ri:394)
at com.runemate.game.api.script.Execution.delayUntil(ri:335)
... 19 more


Edit: It has crashed another 5-6 times. It doesn't happen at any specific time or at any specific lap and doesn't seem to be affected by failing any single obstacle. It always crashes on the last obstacle of ape atoll (walking down the rope). It seems to happen both with anti-pattern and pattern on.
There doesn't seem to be anything actually wrong with the bot, it just crashes.

I submitted a bunch of bug reports.
 
Last edited:
Joined
Jan 6, 2015
Messages
24
Dude I love the dedication you put into your script. Author's like yourself make me wish I could donate directly to the script writers. You guys really make this community great and worthwhile. Thank you
 
Joined
Oct 16, 2014
Messages
19
Here you go @ barb outpost ;p
java.lang.NullPointerException
at a.Vn.int(tkb:264)
at a.Vn.int(tkb:68)
at a.Vn.int(tkb:263)
at com.runemate.game.api.hybrid.location.navigation.Traversal.getDestination(tnb:161)
at com.runemate.game.api.hybrid.location.Coordinate$MinimapCoordinate.vr(bqb:800)
at com.runemate.game.api.hybrid.input.Mouse.click(ue:222)
at com.runemate.game.api.hybrid.location.Coordinate$MinimapCoordinate.click(bqb:551)
at com.slashnhax.scripts.haxagility.courses.BarbarianOutpostAgilityCourse.attempt(BarbarianOutpostAgilityCourse.java:200)
at com.slashnhax.scripts.haxagility.courses.BarbarianOutpostAgilityCourse.execute(BarbarianOutpostAgilityCourse.java:153)
at com.slashnhax.scripts.haxagility.HaxAgility.lambda$poll$33(HaxAgility.java:34)
at com.slashnhax.scripts.haxagility.HaxAgility$$Lambda$389/209248367.accept(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
at java.util.concurrent.ConcurrentLinkedQueue$CLQSpliterator.forEachRemaining(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.forEach(Unknown Source)
at com.slashnhax.scripts.haxagility.HaxAgility.poll(HaxAgility.java:32)
at com.slashnhax.scripts.HaxScript.onLoop(HaxScript.java:39)
at com.runemate.game.api.script.framework.LoopingScript.run(mqb:88)
at com.runemate.game.api.script.framework.AbstractScript.start(zvb:230)
at a.rJ.run(fcb:191)
 
Joined
Jan 2, 2015
Messages
22
It's now working on the wilderness course :D , but it will get stuck for 15-20 seconds on the log still sometimes.

Edit: If I manually tilt the camera up it recognizes it right away.
 
Last edited:
Joined
Jan 1, 2015
Messages
5
Lucky for you my guy worked good the 10min i watched him at wilderness then steped away and came back to him stuck at logs and wouldn't if you manually move the camera he will click on it but you have to do it every time because the camera angle goes back to the same place when you restart the course
 
Joined
Dec 17, 2014
Messages
215
Very buggy can't run for 10min on the gnome stronghold course (simple) without glitching at different places...
 
Joined
Dec 10, 2014
Messages
3,255
It's now working on the wilderness course :D , but it will get stuck for 15-20 seconds on the log still sometimes.

Edit: If I manually tilt the camera up it recognizes it right away.
Is the log visible?

Lucky for you my guy worked good the 10min i watched him at wilderness then steped away and came back to him stuck at logs and wouldn't if you manually move the camera he will click on it but you have to do it every time because the camera angle goes back to the same place when you restart the course
Is the log visible?

Very buggy can't run for 10min on the gnome stronghold course (simple) without glitching at different places...
I'll take a look at this now, although a more descriptive post would have been helpful

Edit: Just tested everything. Either I've fixed it somewhere between the current version and my local version or I just can't reproduce these errors :/
 
Last edited:
Joined
Jan 2, 2015
Messages
22
I have not tested ape atoll since the 1.5 patch, but it crashed every few runs on the last obstacle.
The wilderness agility course doesn't crash at all, I ran it for close to 3 hours, but it would get stuck for as long as 30 seconds on the log obstacle.

The log was showing for me.
 
Status
Not open for further replies.
Top