Jump to content

APA Sand Crabs


Apaec

Recommended Posts

3 hours ago, Twisted Staff said:

yea doesnt attack crabs either on force attack

 

19 hours ago, Echo said:

Bot's having trouble both getting to the bank, and actually banking if you start the script there.

 

On 9/20/2018 at 2:18 PM, timsander22 said:

Mine works perfectly fun except after like 50 minutes it says 'walking to safe location' and it just stands there for the rest of the day ? 

 

On 9/20/2018 at 2:16 PM, snaiper1990 said:

Script not working i started at the bank and it dont do anything 

 

[INFO][Bot #1][09/20 02:13:16 PM]: Registered two gaussian-random input movement events.
[INFO][Bot #1][09/20 02:13:16 PM]: Movement event frequency: 320274ms, deviation: 106758ms
[ERROR][Bot #1][09/20 02:13:17 PM]: Error in bot executor!
java.lang.AbstractMethodError: client.getSpellSelected()Z
    at org.osbot.rs07.api.Magic.isSpellSelected(uh:229)
    at org.osbot.rs07.api.Menu.iiIIIiiIIIII(oo:157)
    at org.osbot.rs07.api.Menu.getMenuIndex(oo:256)
    at org.osbot.rs07.api.Menu.getMenuIndex(oo:81)
    at org.osbot.rs07.event.InteractionEvent$1.condition(gp:13)
    at org.osbot.rs07.utility.ConditionalSleep.sleep(wj:278)
    at org.osbot.rs07.event.InteractionEvent.iiIIIiiIIIII(gp:245)
    at org.osbot.rs07.event.InteractionEvent.execute(gp:430)
    at org.osbot.rs07.event.EventExecutor$2.run(uo:117)
    at org.osbot.rs07.event.EventExecutor.execute(uo:204)
    at org.osbot.rs07.script.MethodProvider.execute(ag:428)
    at org.osbot.rs07.api.Bank.iiIIIiiIIIII(rn:1004)
    at org.osbot.rs07.api.Bank.withdraw(rn:1238)
    at org.osbot.rs07.api.Bank.withdraw(rn:1232)
    at org.osbot.rs07.api.Bank.withdraw(rn:1044)
    at uk.co.ramyun.sandcrabs.g.aUX.I(sb:102)
    at uk.co.ramyun.sandcrabs.d.com1.I(h:23)
    at uk.co.ramyun.sandcrabs.core.Main.onLoop(ab:267)
    at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(we:242)
    at java.lang.Thread.run(Unknown Source)
 

 

 

Hiya all,

It is not unusual for there to be issues following a game update (OSRS updated yesterday). Please be patient while the developers work on updating the client :)

-Apa

Link to comment
Share on other sites

1 hour ago, timsander22 said:

Mine still does 'walking to safe location' after a while and just stands there. I thought it was taking a break but after my actual break time started it logged out and took the break too lol. Would like to hear from you! :)

Hey,

It will move to a safe position 2 mins before a break. After the break, the script will walk back to the spot and resume function. The break data is given to the script from the client, so please make sure that your break settings are correct as it sounds like you might have misconfigured your break timings?

-Apa

Link to comment
Share on other sites

6 minutes ago, dsstriker said:

noticed if the crabs are active due to say someone running through them and your not under attack it goes to reset and runs back and forth until all the crabs have reset..

Not much that i can do about this sadly :( once the crabs are awake, the script has no way of determining which are yours and which are other peoples, so it cannot attack them. This situation will happen very rarely however, and the crabs reset within a minute or so to impact to exp rates should be minimal!

Best

Apa

Link to comment
Share on other sites

14 hours ago, Apaec said:

Not much that i can do about this sadly :( once the crabs are awake, the script has no way of determining which are yours and which are other peoples, so it cannot attack them. This situation will happen very rarely however, and the crabs reset within a minute or so to impact to exp rates should be minimal!

Best

Apa

yeah but extreamly bot like for it to continue to run back and forth.. and rare in some spots more common in others.

maybe you could implement a by pass that waits until they spawn then steps back into the spot, or a hey iv reset I'll re ender my spot and wait if that's possible.

Link to comment
Share on other sites

3 hours ago, dsstriker said:

yeah but extreamly bot like for it to continue to run back and forth.. and rare in some spots more common in others.

maybe you could implement a by pass that waits until they spawn then steps back into the spot, or a hey iv reset I'll re ender my spot and wait if that's possible.

Hmm, maybe. I've taken note of this on my to-do list and i'll see if there's a neat way to detect this situation. :)

Apa

  • Like 1
Link to comment
Share on other sites

On 10/3/2018 at 5:32 PM, Apaec said:

Hmm, maybe. I've taken note of this on my to-do list and i'll see if there's a neat way to detect this situation. :)

Apa

i'm not that smart on code, but wouldn't the easiest method be to add like a timer that says i'v returned but haven't entered in combat in say 2mins try to re aggro. but thanks this probably makes it so easy to see whos botting crabs.

 

Link to comment
Share on other sites

Spoiler

[INFO][Bot #1][10/06 01:10:43 PM]: Executing movement event: Mouse event
[INFO][Bot #1][10/06 01:11:45 PM]: Executing movement event: Camera event
[INFO][Bot #1][10/06 01:16:37 PM]: Sipping potion: Combat potion(4)
[INFO][Bot #1][10/06 01:18:23 PM]: Executing movement event: Mouse event
[INFO][Bot #1][10/06 01:19:55 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:20:11 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:20:29 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:21:41 PM]: Executing movement event: Camera event
[INFO][Bot #1][10/06 01:24:37 PM]: Sipping potion: Combat potion(3)
[INFO][Bot #1][10/06 01:28:39 PM]: Executing movement event: Mouse event
[INFO][Bot #1][10/06 01:31:24 PM]: Started random solver : Auto Login
[INFO][Bot #1][10/06 01:31:30 PM]: Successfully logged in, waiting for welcome screen.
[INFO][Bot #1][10/06 01:31:30 PM]: Random solver exited : Auto Login
[INFO][Bot #1][10/06 01:31:34 PM]: Refreshing location: Crab claw isle 1
[ERROR][Bot #1][10/06 01:31:34 PM]: Failed to wrap : class client.dr
java.lang.RuntimeException: Could not initiate wrapper : RS2Widget
    at org.osbot.core.api.Wrapper.wrap(pi:110)
    at org.osbot.rs07.api.ui.RS2Widget.getChildWidgets(ff:868)
    at org.osbot.rs07.api.Widgets.getAll(ok:239)
    at org.osbot.rs07.api.util.CachedWidget.cache(pe:51)
    at org.osbot.rs07.api.Bank.iiiIIiiiiIIi(lj:169)
    at org.osbot.rs07.api.Bank.isOpen(lj:380)
    at uk.co.ramyun.sandcrabs.f.auX.B(d:195)
    at uk.co.ramyun.sandcrabs.core.Main.B(zb:427)
    at java.util.ArrayList.forEach(Unknown Source)
    at uk.co.ramyun.sandcrabs.core.Main.onPaint(zb:427)
    at org.osbot.rs07.canvas.WrappedCanvas.iiiIIiiiiIIi(nl:272)
    at org.osbot.rs07.canvas.WrappedCanvas.getGraphics(nl:172)
    at client.bqV.run(Unknown Source)
[ERROR][Bot #1][10/06 01:31:34 PM]: Failed to wrap : class client.dr
java.lang.RuntimeException: Could not initiate wrapper : RS2Widget
    at org.osbot.core.api.Wrapper.wrap(pi:110)
    at org.osbot.rs07.api.ui.RS2Widget.getChildWidgets(ff:868)
    at org.osbot.rs07.api.Widgets.getAll(ok:239)
    at org.osbot.rs07.api.util.CachedWidget.cache(pe:51)
    at org.osbot.rs07.api.Bank.iiiIIiiiiIIi(lj:169)
    at org.osbot.rs07.api.Bank.isOpen(lj:380)
    at uk.co.ramyun.sandcrabs.f.auX.B(d:195)
    at uk.co.ramyun.sandcrabs.core.Main.B(zb:427)
    at java.util.ArrayList.forEach(Unknown Source)
    at uk.co.ramyun.sandcrabs.core.Main.onPaint(zb:427)
    at org.osbot.rs07.canvas.WrappedCanvas.iiiIIiiiiIIi(nl:272)
    at org.osbot.rs07.canvas.WrappedCanvas.getGraphics(nl:172)
    at client.bqV.run(Unknown Source)
[INFO][Bot #1][10/06 01:31:35 PM]: Started random solver : Welcome Screen
[INFO][Bot #1][10/06 01:31:39 PM]: Random solver exited : Welcome Screen
[INFO][Bot #1][10/06 01:31:39 PM]: Refreshing location: Crab claw isle 1
[ERROR][10/06 01:31:50 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.gC.getDefinition(Unknown Source)
    at org.osbot.rs07.api.model.NPC.getId(pl:96)
    at org.osbot.rs07.api.model.NPC.getDefinition(pl:106)
    at org.osbot.rs07.api.NPCS.getAll(zk:26)
    at uk.co.ramyun.sandcrabs.g.Con.run(bb:15)
[INFO][Bot #1][10/06 01:31:54 PM]: Executing movement event: Camera event
[INFO][Bot #1][10/06 01:31:54 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:32:09 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:32:27 PM]: Walking to location: Crab claw isle 1
[ERROR][Bot #1][10/06 01:32:46 PM]: Error executing event : org.osbot.rs07.event.InteractionEvent$CameraControl@60da84
java.lang.NullPointerException
    at org.osbot.rs07.api.map.Position.isVisible(tm:282)
    at org.osbot.rs07.input.mouse.MainScreenTileDestination.isVisible(rf:151)
    at org.osbot.rs07.event.InteractionEvent$CameraControl.execute(gf:447)
    at org.osbot.rs07.event.EventExecutor$2.run(ji:250)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
[INFO][Bot #1][10/06 01:32:50 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:33:09 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:33:35 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:34:00 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:34:26 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:34:51 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:35:16 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:35:44 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:36:00 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:36:03 PM]: Sipping potion: Combat potion(2)
[INFO][Bot #1][10/06 01:36:19 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:36:38 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:37:04 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:37:29 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:37:54 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:38:19 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:38:45 PM]: Executing movement event: Mouse event
[INFO][Bot #1][10/06 01:38:45 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:39:10 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:39:27 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:40:14 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:40:31 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:41:25 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:42:01 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:42:27 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:42:31 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:42:56 PM]: Executing movement event: Camera event
[INFO][Bot #1][10/06 01:42:56 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:43:19 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:43:35 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:44:01 PM]: Walking to location: Crab claw isle 1
[ERROR][Bot #1][10/06 01:44:06 PM]: Error executing event : org.osbot.rs07.event.InteractionEvent$CameraControl@11a6017
java.lang.NullPointerException
    at org.osbot.rs07.api.map.Position.isVisible(tm:282)
    at org.osbot.rs07.input.mouse.MainScreenTileDestination.isVisible(rf:151)
    at org.osbot.rs07.event.InteractionEvent$CameraControl.execute(gf:447)
    at org.osbot.rs07.event.EventExecutor$2.run(ji:250)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
[INFO][Bot #1][10/06 01:44:13 PM]: Sipping potion: Combat potion(1)
[INFO][Bot #1][10/06 01:44:15 PM]: Dropping junk item.
[INFO][Bot #1][10/06 01:44:16 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:44:48 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:45:22 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:45:47 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:46:12 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:46:29 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:46:50 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:47:24 PM]: Executing movement event: Mouse event
[INFO][Bot #1][10/06 01:47:25 PM]: Walking to location: Crab claw isle 1
[INFO][Bot #1][10/06 01:47:51 PM]: Refreshing location: Crab claw isle 1
[INFO][Bot #1][10/06 01:47:56 PM]: Terminating script APA Sand Crabs...
[INFO][Bot #1][10/06 01:47:57 PM]: Your progress has been saved to: http://ramyun.co.uk/sandcrab/Dsstriker.png
[INFO][Bot #1][10/06 01:47:57 PM]: Script stopped: APA Sand Crabs v3.09 by Apaec.
[INFO][Bot #1][10/06 01:47:57 PM]: Script APA Sand Crabs has exited!
 

It got stuck in refreshing again, Even though there was craps that had reset it still tried to refresh again.. please fix, this will get people banned..


mirror mode, turned off the paint that was taking a huge chunk of power off the mirror client, also turned off randomized respawn refresh and about 4 hours no and no stuff ups..
so it could be a issue, to do with the fps drop when using the paint, or the randomized refresh.. i'll try each separately soon, and let you know if i can pin it to one of them as the cause.

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