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.

Question about Areas

Featured Replies

I was looking over Pandemic's guide on a simple mining script 

http://osbot.org/forum/topic/29924-pandemics-scripting-series-part-ii-path-walking-and-simple-banking-updated-for-osbot-2/?hl=banking

 

And it was all making sense to me except when it had finally come together I had some errors, 

import org.osbot.rs07.utility.Area;

This line was couldn't be resolved, this ended up effecting any othertime when the word Area was used. 

 

The guide was written in 2014 and OSBot has been updated since then, I'm not sure how to use the Area function.

 

Thanks for any help you can provide!

change it to

 

import org.osbot.rs07.api.map.Area;

 

you establish/declare an area like so :: private Area lumbridgeGoblins = new Area(3244, 3243, 3249, 3241);

 

then i would use webwalking to walk to ur area seeing as it auto handles doors/steps/etc

 

getWalking().webWalk(lumbridgeGoblins);

  • Author

change it to

 

import org.osbot.rs07.api.map.Area;

 

you establish/declare an area like so :: private Area lumbridgeGoblins = new Area(3244, 3243, 3249, 3241);

 

then i would use webwalking to walk to ur area seeing as it auto handles doors/steps/etc

 

getWalking().webWalk(lumbridgeGoblins);

 

So would all of the walking using positions be unnecessary since webwalking would just handle that?

 

Or how does webwalking specifically work?

So would all of the walking using positions be unnecessary since webwalking would just handle that?

 

Or how does webwalking specifically work?

 

it works just as i showed you.

 

don't need each position that you want to click and walk. just need the end area/position. walks there from wherever you are

import org.osbot.rs07.api.map.Area;

Area area= new Area(x1, y1, x2, y2);
getWalking().webWalk(area);

Edited by Ayylmao420

  • Author

it works just as i showed you.

 

don't need each position that you want to click and walk. just need the end area/position. walks there from wherever you are

 

Thanks so much man!

 

I thought I was going to need to walk between every single area that I needed to go!

So would all of the walking using positions be unnecessary since webwalking would just handle that?

 

Or how does webwalking specifically work?

walk.walkPath() - walks a given path you set.

walk.walk() - walks to a local tile that is on the minimap or gamescreen. Usually for short distances only.

walking.webwalk() - creates its own advanced path to a given tile. It can use boatLinks, questLinks, and more. Mainly used for long distances or walking with a lot of obstacles.

 

-Chris

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.