Jump to content

APA Sand Crabs


Apaec

Recommended Posts

Very nice GUI and Setup. The only problem I've run into is that if someone leads them away and logs out, the bot just sits in the afk spot waiting for them to respawn in their spots after enough times passed of them wandering around instead of walking out of the afk zone and killing them. It's not a big deal, it does diminish XP/H though if it happens more than once. Also not sure if this is your script or a problem with OSBot breaker, but if you're in combat and a break occurs, it tries to log you out while in combat but you can't, and after only trying to break one time while in combat, it doesn't try again and just continues on through the break time.

Edited by Buckaroo
Link to comment
Share on other sites

7 hours ago, Buckaroo said:

Very nice GUI and Setup. The only problem I've run into is that if someone leads them away and logs out, the bot just sits in the afk spot waiting for them to respawn in their spots after enough times passed of them wandering around instead of walking out of the afk zone and killing them. It's not a big deal, it does diminish XP/H though if it happens more than once. Also not sure if this is your script or a problem with OSBot breaker, but if you're in combat and a break occurs, it tries to log you out while in combat but you can't, and after only trying to break one time while in combat, it doesn't try again and just continues on through the break time.

Heya

Unfortunately there's not alot that I can do about someone leading the sand crabs away as there's no way to detect which spawned sand crabs are yours.If this is a big problem, I would recommend switching spots to a more concealed one, or perhaps disabling refresh delay such that not all the sand crabs have the opportunity to respawn before you return from the refresh route.

As for the breaking, the script should automatically walk to a safe spot approximately two minutes before a break starts - it's worrying to me that this did not happen for you. Perhaps it's a mirror mode thing? Either way, I will run some tests and try and conclude why it did not take you to safety!

Apa

2 hours ago, durry_ said:

Not the best xp/h because i used bone bolts but heres a screen shot of it running smooth for 10hours. really good script, would recommend.

 

 

Screen Shot 2017-09-12 at 7.42.01 PM.png

Hey,

Thanks for the awesome screenshot!!!! 10 hours is crazy (:

Not sure what's up with the font there, it's a bit unusual and I tried to choose a cross-platform font, but oh well.

-Apa

Link to comment
Share on other sites

hey mate, i dont know why, but this keeps happening on west 3 location
sorry for long post
 [ERROR][09/12 06:58:52 PM]: Uncaught exception!
java.lang.RuntimeException: Union object is null or owned by someone else
    at client.nat.stream.Stream.m22(Native Method)
    at client.aci.getNext(Unknown Source)
    at org.osbot.rs07.api.util.NodeDequeIteratorG.next(pi:154)
    at org.osbot.rs07.api.model.Character.iIiIiiiIIiIi(fg:6)
    at org.osbot.rs07.api.model.Character.getHitBarLoopCycle(fg:423)
    at org.osbot.rs07.api.model.Character.isHitBarVisible(fg:231)
    at org.osbot.rs07.api.model.Character.isUnderAttack(fg:146)
    at uk.co.ramyun.sandcrabs.g.nul.j(jb:128)
    at uk.co.ramyun.sandcrabs.g.nul.run(jb:31)
[ERROR][Bot #1][09/12 06:58:52 PM]: Error in script executor!
java.lang.NullPointerException
    at org.osbot.rs07.api.util.NodeDequeIteratorG.next(pi:154)
    at org.osbot.rs07.api.model.Character.iIiIiiiIIiIi(fg:6)
    at org.osbot.rs07.api.model.Character.getHitBarLoopCycle(fg:423)
    at org.osbot.rs07.api.model.Character.isHitBarVisible(fg:231)
    at org.osbot.rs07.api.model.Character.isUnderAttack(fg:146)
    at uk.co.ramyun.sandcrabs.g.nuL.l(ub:23)
    at uk.co.ramyun.sandcrabs.core.Main.E(lb:48)
    at uk.co.ramyun.sandcrabs.core.Main.onLoop(lb:17)
    at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(jp:267)
    at java.lang.Thread.run(Unknown Source)
[ERROR][09/12 06:58:52 PM]: Uncaught exception!
java.lang.NullPointerException
    at org.osbot.rs07.api.util.NodeDequeIteratorG.next(pi:154)
    at org.osbot.rs07.api.model.Character.iIiIiiiIIiIi(fg:6)
    at org.osbot.rs07.api.model.Character.getHitBarLoopCycle(fg:423)
    at org.osbot.rs07.api.model.Character.isHitBarVisible(fg:231)
    at org.osbot.rs07.api.model.Character.isUnderAttack(fg:146)
    at uk.co.ramyun.sandcrabs.g.nul.j(jb:128)
    at uk.co.ramyun.sandcrabs.g.nul.run(jb:31)
[ERROR][Bot #1][09/12 06:58:52 PM]: Error in script executor!
java.lang.NullPointerException
    at org.osbot.rs07.api.util.NodeDequeIteratorG.next(pi:154)
    at org.osbot.rs07.api.model.Character.iIiIiiiIIiIi(fg:6)
    at org.osbot.rs07.api.model.Character.getHitBarLoopCycle(fg:423)
    at org.osbot.rs07.api.model.Character.isHitBarVisible(fg:231)
    at org.osbot.rs07.api.model.Character.isUnderAttack(fg:146)
    at uk.co.ramyun.sandcrabs.g.nuL.l(ub:23)
    at uk.co.ramyun.sandcrabs.core.Main.E(lb:48)
    at uk.co.ramyun.sandcrabs.core.Main.onLoop(lb:17)
    at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(jp:267)
    at java.lang.Thread.run(Unknown Source)
[INFO][Bot #1][09/12 07:01:02 PM]: Eating food: Monkfish
[INFO][Bot #1][09/12 07:01:15 PM]: Refreshing location: West 3
[ERROR][09/12 07:01:17 PM]: Uncaught exception!
java.lang.NullPointerException
    at org.osbot.rs07.api.model.Character.getX(fg:179)
    at org.osbot.rs07.api.map.Area.contains(pn:90)
    at uk.co.ramyun.sandcrabs.g.prn.E(pb:36)
    at org.osbot.rs07.api.filter.FilterAPI.filter(pl:65)
    at org.osbot.rs07.api.filter.FilterAPI.filter(pl:126)
    at uk.co.ramyun.sandcrabs.g.prn.E(pb:36)
    at uk.co.ramyun.sandcrabs.g.prn.j(pb:128)
    at uk.co.ramyun.sandcrabs.g.prn.l(pb:110)
    at uk.co.ramyun.sandcrabs.g.prn.run(pb:177)
[INFO][Bot #1][09/12 07:01:32 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:01:49 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:02:27 PM]: Executing movement event: Camera event
[INFO][Bot #1][09/12 07:02:38 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:02:54 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:03:12 PM]: Executing movement event: Mouse event
[INFO][Bot #1][09/12 07:03:38 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:03:54 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:04:44 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:05:13 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:05:41 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:06:10 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:06:37 PM]: Sipping potion: Ranging potion(1)
[INFO][Bot #1][09/12 07:06:38 PM]: Dropping junk item.
[INFO][Bot #1][09/12 07:06:42 PM]: Executing movement event: Camera event
[INFO][Bot #1][09/12 07:06:53 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:07:11 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:07:36 PM]: Executing movement event: Mouse event
[INFO][Bot #1][09/12 07:07:36 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:08:05 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:08:35 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:08:41 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:09:10 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:09:40 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:10:02 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:10:22 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:10:30 PM]: Terminating script APA Sand Crabs...
[INFO][Bot #1][09/12 07:10:32 PM]: Your progress has been saved to: Thebotdog.png
[INFO][Bot #1][09/12 07:10:32 PM]: Script stopped: APA Sand Crabs v3.03 by Apaec.
[INFO][Bot #1][09/12 07:10:32 PM]: Script APA Sand Crabs has exited!

Link to comment
Share on other sites

16 minutes ago, thebotdog said:

hey mate, i dont know why, but this keeps happening on west 3 location
sorry for long post
 [ERROR][09/12 06:58:52 PM]: Uncaught exception!
java.lang.RuntimeException: Union object is null or owned by someone else
    at client.nat.stream.Stream.m22(Native Method)
    at client.aci.getNext(Unknown Source)
    at org.osbot.rs07.api.util.NodeDequeIteratorG.next(pi:154)
    at org.osbot.rs07.api.model.Character.iIiIiiiIIiIi(fg:6)
    at org.osbot.rs07.api.model.Character.getHitBarLoopCycle(fg:423)
    at org.osbot.rs07.api.model.Character.isHitBarVisible(fg:231)
    at org.osbot.rs07.api.model.Character.isUnderAttack(fg:146)
    at uk.co.ramyun.sandcrabs.g.nul.j(jb:128)
    at uk.co.ramyun.sandcrabs.g.nul.run(jb:31)
[ERROR][Bot #1][09/12 06:58:52 PM]: Error in script executor!
java.lang.NullPointerException
    at org.osbot.rs07.api.util.NodeDequeIteratorG.next(pi:154)
    at org.osbot.rs07.api.model.Character.iIiIiiiIIiIi(fg:6)
    at org.osbot.rs07.api.model.Character.getHitBarLoopCycle(fg:423)
    at org.osbot.rs07.api.model.Character.isHitBarVisible(fg:231)
    at org.osbot.rs07.api.model.Character.isUnderAttack(fg:146)
    at uk.co.ramyun.sandcrabs.g.nuL.l(ub:23)
    at uk.co.ramyun.sandcrabs.core.Main.E(lb:48)
    at uk.co.ramyun.sandcrabs.core.Main.onLoop(lb:17)
    at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(jp:267)
    at java.lang.Thread.run(Unknown Source)
[ERROR][09/12 06:58:52 PM]: Uncaught exception!
java.lang.NullPointerException
    at org.osbot.rs07.api.util.NodeDequeIteratorG.next(pi:154)
    at org.osbot.rs07.api.model.Character.iIiIiiiIIiIi(fg:6)
    at org.osbot.rs07.api.model.Character.getHitBarLoopCycle(fg:423)
    at org.osbot.rs07.api.model.Character.isHitBarVisible(fg:231)
    at org.osbot.rs07.api.model.Character.isUnderAttack(fg:146)
    at uk.co.ramyun.sandcrabs.g.nul.j(jb:128)
    at uk.co.ramyun.sandcrabs.g.nul.run(jb:31)
[ERROR][Bot #1][09/12 06:58:52 PM]: Error in script executor!
java.lang.NullPointerException
    at org.osbot.rs07.api.util.NodeDequeIteratorG.next(pi:154)
    at org.osbot.rs07.api.model.Character.iIiIiiiIIiIi(fg:6)
    at org.osbot.rs07.api.model.Character.getHitBarLoopCycle(fg:423)
    at org.osbot.rs07.api.model.Character.isHitBarVisible(fg:231)
    at org.osbot.rs07.api.model.Character.isUnderAttack(fg:146)
    at uk.co.ramyun.sandcrabs.g.nuL.l(ub:23)
    at uk.co.ramyun.sandcrabs.core.Main.E(lb:48)
    at uk.co.ramyun.sandcrabs.core.Main.onLoop(lb:17)
    at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(jp:267)
    at java.lang.Thread.run(Unknown Source)
[INFO][Bot #1][09/12 07:01:02 PM]: Eating food: Monkfish
[INFO][Bot #1][09/12 07:01:15 PM]: Refreshing location: West 3
[ERROR][09/12 07:01:17 PM]: Uncaught exception!
java.lang.NullPointerException
    at org.osbot.rs07.api.model.Character.getX(fg:179)
    at org.osbot.rs07.api.map.Area.contains(pn:90)
    at uk.co.ramyun.sandcrabs.g.prn.E(pb:36)
    at org.osbot.rs07.api.filter.FilterAPI.filter(pl:65)
    at org.osbot.rs07.api.filter.FilterAPI.filter(pl:126)
    at uk.co.ramyun.sandcrabs.g.prn.E(pb:36)
    at uk.co.ramyun.sandcrabs.g.prn.j(pb:128)
    at uk.co.ramyun.sandcrabs.g.prn.l(pb:110)
    at uk.co.ramyun.sandcrabs.g.prn.run(pb:177)
[INFO][Bot #1][09/12 07:01:32 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:01:49 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:02:27 PM]: Executing movement event: Camera event
[INFO][Bot #1][09/12 07:02:38 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:02:54 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:03:12 PM]: Executing movement event: Mouse event
[INFO][Bot #1][09/12 07:03:38 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:03:54 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:04:44 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:05:13 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:05:41 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:06:10 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:06:37 PM]: Sipping potion: Ranging potion(1)
[INFO][Bot #1][09/12 07:06:38 PM]: Dropping junk item.
[INFO][Bot #1][09/12 07:06:42 PM]: Executing movement event: Camera event
[INFO][Bot #1][09/12 07:06:53 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:07:11 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:07:36 PM]: Executing movement event: Mouse event
[INFO][Bot #1][09/12 07:07:36 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:08:05 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:08:35 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:08:41 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:09:10 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:09:40 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:10:02 PM]: Walking to location: West 3
[INFO][Bot #1][09/12 07:10:22 PM]: Refreshing location: West 3
[INFO][Bot #1][09/12 07:10:30 PM]: Terminating script APA Sand Crabs...
[INFO][Bot #1][09/12 07:10:32 PM]: Your progress has been saved to: Thebotdog.png
[INFO][Bot #1][09/12 07:10:32 PM]: Script stopped: APA Sand Crabs v3.03 by Apaec.
[INFO][Bot #1][09/12 07:10:32 PM]: Script APA Sand Crabs has exited!

Hey

Please could you give me more info as to exactly what is happening, so I can re-create and fix the issue?

  • Are you running mirror mode?
  • Are you running on low-resource mode?
  • Do you have a low fps/reaction time?
  • When it refreshes the sand crabs, does it successfully re-aggro?
  • Also, please could you share a screenshot of your GUI configuration?

I want to get to the bottom of this issue since a couple of other people have experienced it, however I haven't managed to get enough information to reliably re-create the bug.

Cheers

Apa 

Edited by Apaec
Link to comment
Share on other sites

22 minutes ago, Apaec said:

Hey

Please could you give me more info as to exactly what is happening, so I can re-create and fix the issue?

  • Are you running mirror mode?
  • Are you running on low-resource mode?
  • Do you have a low fps/reaction time?
  • When it refreshes the sand crabs, does it successfully re-aggro?
  • Also, please could you share a screenshot of your GUI configuration?

I want to get to the bottom of this issue since a couple of other people have experienced it, however I haven't managed to get enough information to reliably re-create the bug.

Cheers

Apa 

im running mirror mode,
im not running low resource, 
running 50 reaction, 1000ms
and from what ive been seeing, after a few minutes, usually 4-6, character runs away to re-agro prematurely. all 3 crabs are still attacking. then they follow until character
is out of range and then they start roaming around. when the character returns, there are no crabs in the little combat square, so he just runs back to the spot he goes to re-agro and that starts the never ending cycle of running back and forth like a stooge.

if you need more info, i can run it gain and watch closely to see exactly what happens.

gui.png

Link to comment
Share on other sites

38 minutes ago, tumblr said:

I forgot to grab the logs but I think I might get banned :( Just stood still for a few hours and kept relogging.. But the new GUI and paint is pretty cool GJ.

B1Th6Bd.png

Hey : / this is a little worrying to me. Please could you check - is there anything logged in the console?

Apa

22 minutes ago, thebotdog said:

im running mirror mode,
im not running low resource, 
running 50 reaction, 1000ms
and from what ive been seeing, after a few minutes, usually 4-6, character runs away to re-agro prematurely. all 3 crabs are still attacking. then they follow until character
is out of range and then they start roaming around. when the character returns, there are no crabs in the little combat square, so he just runs back to the spot he goes to re-agro and that starts the never ending cycle of running back and forth like a stooge.

if you need more info, i can run it gain and watch closely to see exactly what happens.

gui.png

Thank you for the in-depth info (: I've managed to re-create the issue and am looking into a fix. At the moment, the issue is out of my control as the error is client-sided, but once I determine whether this happens on stealth injection too, I will gather enough information to submit a client bug report. 

Cheers

Link to comment
Share on other sites

Hey guys

So i've looked in to the issue and it seems to be related to mirror mode - the API isn't happy about something.

I've posted a client bug report here: https://osbot.org/forum/topic/129404-bug-characterisunderattack/

Unfortunately there's nothing that I can do to fix this directly as the problem appears to be with the mirror client. I'm going to experiment with removing the faulty client call and seeing if the script can get by without it, but that would certainly be a temporary measure.

For now, PLEASE USE STEALTH INJECTION!

Apa

 

Link to comment
Share on other sites

*Update*

With some instability on mirror mode caused by an issue with a combat related API call, this update is a temporary 'fix' to the problem, removing the call altogether until the developers find the time to take a look.

Version 3.04

  • Removed isUnderAttack() calls as these were causing issues on mirror mode. As a result, combat detection will be slightly less accurate, however the script will now *hopefully* work reliably on mirror mode
  • Added CLI support, see main thread for more details!

Cheers

Apa

Edit: Please give up to 24 hours for the developers to verify this update and push it live.

Edited by Apaec
Link to comment
Share on other sites

16 hours ago, Apaec said:

Hey,

I'm sorry to hear this... :/ A couple of people have reported this now, but for some reason I cannot re-create the issue whatsoever?  (Perhaps it's a mirror thing since everyone reporting this has VIP!) I want to look in to it but I'm still not sure under which circumstances it happens.

-- Okay so I just tried it in mirror and for some reason it's misbehaving on mirror mode but it's fine on stealth injection... I have no idea why this is and I will look into it first thing tomorrow morning, for now there's nothing more I can do other than urge people to use stealth injection until I find the root of the issue!

Cheers

Apa

yep all 3 accounts i have been using that had this problem have all been banned for 2 days and one received a perm ban this is the only script i have been botting bit up setting i will no longer be using this script piddy i can not get a refund :s

Link to comment
Share on other sites

2 minutes ago, haydennoon said:

yep all 3 accounts i have been using that had this problem have all been banned for 2 days and one received a perm ban this is the only script i have been botting bit up setting i will no longer be using this script piddy i can not get a refund :s

I'm sorry to hear that, this is the reason Mirror mode is still in Beta! 

Link to comment
Share on other sites

14 minutes ago, Walnut69 said:

I have breaks turned and it just tryed to log out during combat and just suicided to sand crabs

Hey,

Not sure why it would do this, as I recently tested the break handler which should take you to safety before breaking. I will run some further tests now... It might be an issue with OSBot 2.4.137 which was made stable recently.

Thanks for letting me know.

Edited by Apaec
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...