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.

Walking around under runescape

Featured Replies

I've been writing a script that requires some walking underground (through doors as well). To do this, obviously webwalk cannot be used, so I've been using walkPath instead.

Now here comes the problem. I want the bot to be able to pick up where it left off. If there is a disconnect, it should be able to pick up even if it is in the middle of running somewhere.

I've tried a state model which was absolutely horrid to work with and I've tried a procedural approach which works but is really unreliable. Does anyone have any ideas on possible methods/improvements?

On 10/14/2018 at 8:30 AM, dynamicninja said:

I've been writing a script that requires some walking underground (through doors as well). To do this, obviously webwalk cannot be used, so I've been using walkPath instead.

Now here comes the problem. I want the bot to be able to pick up where it left off. If there is a disconnect, it should be able to pick up even if it is in the middle of running somewhere.

I've tried a state model which was absolutely horrid to work with and I've tried a procedural approach which works but is really unreliable. Does anyone have any ideas on possible methods/improvements?

I'm assuming this is an instance?

You can try using local positions - failing that I'd find some static object that is always there and use that as an anchor point to build your pathing. You can translate a local position to an absolute position by:

x = localX + baseX
y = localY + baseY
z = localZ + baseZ

 

  • Author

"If you didn't want to use web walking and still support disconnecting, I don't see why you can't just use walkPath" 

Firstly; I honestly didn't know about the web-walking links - I'm going to have to have a look into this for future projects.

Second; After trying a few things, I found webwalk was not working with what I wanted. Specifically moving from Edgeville to the chaos druids. Now that you've mentioned the links I can see why this wouldn't have worked. But still, I even tried webWalking along one of the corridors underground (taking points on the same plane with no obstacles in between )and got an error message saying no path can be found.

http://prntscr.com/l6jp8q

Either way, I ended up using walkPath with a few conditionals to determine which path segment is currently being traversed when moving from the bank to the druids and to handle the obstacles between.

 

  • Author

Before I submit any bug reports I'll try it again and see if I can replicate the same Issue. 

Yes that is correct. At first the issue was the whole path and figured webWalker couldn't do it. Then did some tests underground, progressively shortening the path and not including obstacles. 

I'll send you a PM with the code source. It is nowhere near complete and is full of bad practice & a few nitty gritty tings I have to sort out. I'd much rather not share it around at this stage.

Create an account or sign in to comment

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.