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

Bot isn't walking

Featured Replies

Hello guys maybe sombody know why my bot isn't walking ? I tried these methods but once my player is in 1st or 2nd or 3rd floor at any buiding any of these methods that i tried isn't working.First i check if my player is in area using

 

 

if(AREA.contains(myPlayer())){

 

walking.walk()

localWalker.walkPath();

getWalking().webWalk(new Position(x,z,y));

 

 

 

Remember that these methods works if my player isn't in some kind of 2nd or 1st floor it works great when im for example at varrock bank but it stops working once i get into building like that one in quest Romeo and juliet.

 

Hope sombody could help me.Thanks :)

 

 

 

Remember that these methods works if my player isn't in some kind of 2nd or 1st floor

 

 

When you are no longer on the ground floor, you must do AREA.setPlane(1) or AREA.setPlane(2) or AREA.setPl..... for ever floor that you climb. Hope this helps 

  • Author

Can u give me example ? can't really understand where that must contain :/

Edited by futurepasts

Well, afaik, the webwalker or any walking event doesn't walk between different planes, you need to make your own ladder/stair handler until support is added.

Can u give me example ? can't really understand where that must contain :/

 

 

setPlane() is setting the Z axis for you're Area. Here is an example.

 

Ground floor is on plane(0)...Lumbridge bank is 2 Floor's above the ground floor so the plane is 2. 

final Area LUMBRIDGE_BANK = new Area(3205, 3208, 3216, 3229);

LUMBRIDGE_BANK.setPlane(2);

if(LUMBRIDGE_BANK.contains(myPlayer())){
   log("Player is on the 3rd of lumbridge castle");


} 

 

setPlane() is setting the Z axis for you're Area. Here is an example.

 

Ground floor is on plane(0)...Lumbridge bank is 2 Floor's above the ground floor so the plane is 2. 

final Area LUMBRIDGE_BANK = new Area(3205, 3208, 3216, 3229);

LUMBRIDGE_BANK.setPlane(2);

if(LUMBRIDGE_BANK.contains(myPlayer())){
   log("Player is on the 3rd of lumbridge castle");


} 

 

Or you can just do

private final Area LUMBRIDGE_BANK = new Area(new Position(3205, 3208, 2), new Position(3216, 3229, 2));

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.