Jump to content

Perfect Pest Control


Czar

Recommended Posts

EDIT:

Found out what was wrong sorry.

New update (v37)

- Script positions are now fixed, the script will no longer stand still, ever. (Includes all 3 boats)
- A few updates to portal mode and fight npc mode
- A few important systems re-write.

Thanks for your patience, sorry guys for any inconvenience, I wasn't testing the same settings as you guys, you should've mentioned which setup info you used, it would've greatly helped.

Update will automatically go live within 24 hours good luck guys! :D In the meantime, temporary workaround until the update goes live: use lowest level boat for points

Edited by Czar
Link to comment
Share on other sites

Using mirror? Can you use the latest dev build, mirror works better there :D It shouldn't idle after a few games after that :D

Activated all trials good luck :D

For alching in boat, make sure to disable spell filtering, it will work perfectly :D I will run some more tests, just in case!

Edited by Czar
Link to comment
Share on other sites

I'm having the AFK issue as well after a few games, also running in Mirror mode on 2.5.39 Dev build, here's log.
 

[INFO][Bot #1][02/10 02:33:23 PM]: Open dialogue is: 231 and 1
[INFO][Bot #1][02/10 02:33:23 PM]: Attempted to setVoidKnightPosition but it was null
[INFO][Bot #1][02/10 02:33:23 PM]: "portal_e" changed to "0"
[INFO][Bot #1][02/10 02:33:23 PM]: "portal_w" changed to "0"
[INFO][Bot #1][02/10 02:33:23 PM]: "portal_sw" changed to "0"
[INFO][Bot #1][02/10 02:33:23 PM]: "portal_se" changed to "0"
[INFO][Bot #1][02/10 02:33:23 PM]: "portal_sequence" changed to "0"
[INFO][Bot #1][02/10 02:33:23 PM]: We are now out of a game.
[INFO][Bot #1][02/10 02:33:41 PM]: Open dialogue is: 231 and 1
[INFO][Bot #1][02/10 02:33:41 PM]: Received dialogue: [You must defend the Void Knight while the portals are<br>unsummoned. The ritual takes twenty minutes though,<br>so you can help out by destroying them yourselves!<br>Now GO GO GO!]
[INFO][Bot #1][02/10 02:33:41 PM]: Current information successfully set!, void knight position = [x=10142, y=9696, z=0] and square size: 72
[INFO][Bot #1][02/10 02:33:41 PM]: We have started a game!
[INFO][Bot #1][02/10 02:33:41 PM]: Set void knight position from event: [x=10142, y=9696, z=0]
[INFO][Bot #1][02/10 02:33:41 PM]: "ss_portal" changed to "se"
[INFO][Bot #1][02/10 02:33:41 PM]: Open dialogue is: 231 and 1
[INFO][Bot #1][02/10 02:33:41 PM]: Walking straight up (1)
[INFO][Bot #1][02/10 02:33:42 PM]: Open dialogue is: 231 and 1
[INFO][Bot #1][02/10 02:33:42 PM]: Open dialogue is: 231 and 1
[INFO][Bot #1][02/10 02:33:43 PM]: Open dialogue is: 231 and 1
[INFO][Bot #1][02/10 02:33:43 PM]: Open dialogue is: 231 and 1
[INFO][Bot #1][02/10 02:33:43 PM]: Open dialogue is: 231 and 1
[INFO][Bot #1][02/10 02:33:44 PM]: Walking straight up (1)
[INFO][Bot #1][02/10 02:33:44 PM]: Found nearest tile next to void knight, walking there!
[INFO][Bot #1][02/10 02:33:45 PM]: Found nearest tile next to void knight, walking there!
[INFO][Bot #1][02/10 02:33:46 PM]: Found nearest tile next to void knight, walking there!
[INFO][Bot #1][02/10 02:33:47 PM]: Found nearest tile next to void knight, walking there!
[INFO][Bot #1][02/10 02:33:47 PM]: Found nearest tile next to void knight, walking there!
[ERROR][Bot #1][02/10 02:33:53 PM]: Error executing event : org.osbot.rs07.event.InteractionEvent@a93c95d
java.lang.NullPointerException
	at org.osbot.rs07.api.map.Position.isVisible(tj:127)
	at org.osbot.rs07.api.model.Character.isVisible(qo:73)
	at org.osbot.rs07.event.InteractionEvent.execute(jf:431)
	at org.osbot.rs07.event.EventExecutor$2.run(gh:1)
	at org.osbot.rs07.event.EventExecutor.execute(gh:290)
	at org.osbot.rs07.api.model.Character.interact(qo:319)
	at perfect.scripting.b.d.prN.i(ae:677)
	at perfect.scripting.b.d.prN.k(ae:606)
	at b.a.nUl.i(dj:1092)
	at b.a.nUl.onLoop(dj:953)
	at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ji:48)
	at java.lang.Thread.run(Unknown Source)
[INFO][Bot #1][02/10 02:33:57 PM]: Activating portal (se)
[INFO][Bot #1][02/10 02:33:57 PM]: "portal_se" changed to "1"
[INFO][Bot #1][02/10 02:33:57 PM]: "portal_sequence" changed to "b"
[INFO][Bot #1][02/10 02:34:27 PM]: Activating portal (w)
[INFO][Bot #1][02/10 02:34:27 PM]: "portal_w" changed to "1"
[INFO][Bot #1][02/10 02:34:27 PM]: "portal_sequence" changed to "bw"
[INFO][Bot #1][02/10 02:34:57 PM]: Activating portal (sw)
[INFO][Bot #1][02/10 02:34:57 PM]: "portal_sw" changed to "1"
[INFO][Bot #1][02/10 02:34:57 PM]: "portal_sequence" changed to "bwa"
[INFO][Bot #1][02/10 02:35:28 PM]: Activating portal (e)
[INFO][Bot #1][02/10 02:35:28 PM]: "portal_e" changed to "1"
[INFO][Bot #1][02/10 02:35:28 PM]: "portal_sequence" changed to "bwae"
[WARN][Bot #1][02/10 02:35:39 PM]: Script executor is taking too long to suspend; restarting now...
[INFO][Bot #1][02/10 02:35:39 PM]: Script Perfect Pest Control has paused!
[INFO][Bot #1][02/10 02:35:40 PM]: Script Perfect Pest Control has resumed!
[INFO][Bot #1][02/10 02:37:14 PM]: Attempted to setVoidKnightPosition but it was null
[INFO][Bot #1][02/10 02:37:14 PM]: "portal_e" changed to "0"
[INFO][Bot #1][02/10 02:37:14 PM]: "portal_w" changed to "0"
[INFO][Bot #1][02/10 02:37:14 PM]: "portal_sw" changed to "0"
[INFO][Bot #1][02/10 02:37:14 PM]: "portal_se" changed to "0"
[INFO][Bot #1][02/10 02:37:14 PM]: "portal_sequence" changed to "0"
[INFO][Bot #1][02/10 02:37:14 PM]: We are now out of a game.
[INFO][Bot #1][02/10 02:37:14 PM]: Attempted to setVoidKnightPosition but it was null
[INFO][Bot #1][02/10 02:37:14 PM]: "portal_e" changed to "0"
[INFO][Bot #1][02/10 02:37:14 PM]: "portal_w" changed to "0"
[INFO][Bot #1][02/10 02:37:14 PM]: "portal_sw" changed to "0"
[INFO][Bot #1][02/10 02:37:14 PM]: "portal_se" changed to "0"
[INFO][Bot #1][02/10 02:37:14 PM]: "portal_sequence" changed to "0"
[INFO][Bot #1][02/10 02:37:14 PM]: We are now out of a game.
[INFO][Bot #1][02/10 02:37:14 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:14 PM]: Received dialogue: [The knights noticed your lack of zeal in that battle and have not<br>presented you with any points.]
[INFO][Bot #1][02/10 02:37:15 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:15 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:16 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:16 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:17 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:17 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:17 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:18 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:18 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:19 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:19 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:19 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:20 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:20 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:21 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:21 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:22 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:22 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:22 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:23 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:23 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:24 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:24 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:25 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:25 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:25 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:26 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:26 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:27 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:27 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:27 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:28 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:28 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:29 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:29 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:29 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:30 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:30 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:31 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:31 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:31 PM]: Terminating script Perfect Pest Control...
[INFO][Bot #1][02/10 02:37:31 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:32 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:32 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:33 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:33 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:34 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:34 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:34 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:35 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:35 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:36 PM]: Open dialogue is: 229 and 1
[INFO][Bot #1][02/10 02:37:36 PM]: Open dialogue is: 229 and 1
[WARN][Bot #1][02/10 02:37:36 PM]: Script executor is taking too long to suspend; restarting now...

 

  • Like 1
Link to comment
Share on other sites

Yes very common error with mirror client, all scripters have the same complaint unfortunately. We are trying to get a fix for mirror client, I have messaged devs on the OSBot scripter/dev chat.

Infamous mirror error:

[ERROR][Bot #1][02/10 02:33:53 PM]: Error executing event : org.osbot.rs07.event.InteractionEvent@a93c95d
java.lang.NullPointerException
	at org.osbot.rs07.api.map.Position.isVisible(tj:127)
	at org.osbot.rs07.api.model.Character.isVisible(qo:73)
	at org.osbot.rs07.event.InteractionEvent.execute(jf:431)
	at org.osbot.rs07.event.EventExecutor$2.run(gh:1)
	at org.osbot.rs07.event.EventExecutor.execute(gh:290)
	at org.osbot.rs07.api.model.Character.interact(qo:319)
	at perfect.scripting.b.d.prN.i(ae:677)
	at perfect.scripting.b.d.prN.k(ae:606)
	at b.a.nUl.i(dj:1092)
	at b.a.nUl.onLoop(dj:953)
	at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ji:48)
	at java.lang.Thread.run(Unknown Source)

Unfortunately all we can do is restart clients and hope for the best.

Also, to maximize stability:

(Optional): Download the OSBot dev client .39, it features better performance for mirror.

If the script randomly doesn't work after some time, give it a client restart. To maximize stability:

- Don't stay logged in while both mirror client and OSRS client are trying to hook together
- Don't use any other clients other than default OSRS client
- Set client to fixed mode at all times, restart client if it wasn't already set
- Once both clients are hooked (make sure you are still logged out), start to login manually by yourself, enter the game completely manually
- Once you're logged in, open some tabs/interfaces, walk around, let the client load for a bit, the mirror works by copying all in-game objects
- You can now safely start the script.

That will maximize stability, but it's not perfect. Of course, the devs are working on mirror.

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...