Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mirror client bug report - positions

Featured Replies

None of the questions from the report template are really relevant here, so:


 


Recently i've recieved reports of pathwalking screwing up. I took a look into it and it seems that it only happens on mirror mode. What was even stranger was that the debug I used to paint the positions for each position in my path on the minimap was actually moving. So it looks like for some reason the positions move around the place (it seems with rotational symmetry i.e the path would rotate through 90* or 180* but the positions would stay in line).


 


So it seems the static path is moving around and local walker is trying to move to a changing path and it ends up walking off somewhere.


 


I know for sure that other scripters are experiencing this and it would be great if this could be fixed as it's causing mirror mode to be pretty much redundant atm. 


 


cheers


Apa


 

None of the questions from the report template are really relevant here, so:

 

Recently i've recieved reports of pathwalking screwing up. I took a look into it and it seems that it only happens on mirror mode. What was even stranger was that the debug I used to paint the positions for each position in my path on the minimap was actually moving. So it looks like for some reason the positions move around the place (it seems with rotational symmetry i.e the path would rotate through 90* or 180* but the positions would stay in line).

 

So it seems the static path is moving around and local walker is trying to move to a changing path and it ends up walking off somewhere.

 

I know for sure that other scripters are experiencing this and it would be great if this could be fixed as it's causing mirror mode to be pretty much redundant atm. 

 

cheers

Apa

 

 

Exactly, it seems to happend very often while trying to load a new region.

If you paint out lines on tiles while trying to load it will roate or shoft them over ... very strange stuff :s

 

I also noticed that this issue very very rarely happends on normal client too, but it's too rare to care.

but on mirror it happends like a lot :s

 

A lot of my customers have been complaining about my paths shifting over to other regions :s

Causing the script to walk like 40 tiles out of where it's susposed to end.

 

Khaleesi 

When I get home I'll post a gyazo of this occurring in my webwalker

Edited by Precise

Yep kinda annoying.

Tempfix: you could just add a check for client.isLoggedIn() before walking or handling an obstacle. I'm pretty sure that fixed this issue in my script. If you're using walkPath this might not work tho. In that case you could try to create a thread which terminates all (walking) events if isMirrror and !isPaused and !loggedIn or something similar.

Edited by Flamezzz

  • Author

I would post a screenshot / gif too, however unfortunately I don't have internet (am posting with 3G) so can't run bot.

 

Hopefully house internet will be up and running when the bloody bt guy turns up and installs the phone system

 

apa

  • 2 weeks later...
  • Author

Users have reported:

 

walking this way

error api 1.png

 

...and walking this way:

 

error apa 2.png

 

Orange shows the Position[] array of the path it's trying to walk. Obviously I didnt set the path to walk that way, it's meant to walk into the furnace room (180* rotation), but I guess this is where the bug arises.

 

When I tried it myself, the path flicked back and forth between the furnace room and this orientation (very rapidly).

 

apa

Edited by Apaec

I'm having same problem with my script that i'm writing. Script runs fine until at some point starts to walk to random place...and i'm only trying to walk close to monster

  • 2 weeks later...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.