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.

Can anyone help me?

Featured Replies

So, I'm getting into coding & I'm just putting this here in case anyone fancies giving me the help so I can crack on when I get in from work :)

 

Basically I'm having trouble figuring out the walking API, I've looked it up but all the code I seem to implement gives me problems, could anyone give me the simple onStart walk x y code please? & maybe if he walks out of position he walks back too the place also depends if you can be bothered, either helps.

 

Also I know this will be everywhere so you can just link me to a tutorial if its easier but if you could explain it that would be great :), could you give me a little bit info on the Paint side of things so even just how to display on the screen something like "Time Ran and Levels Gained"

 

Like I said I'm just starting out and I'm not being lazy(Maybe a little bit), its just I work long hours and this will cut out a little bit of research time for me.

 

Thank you in advance to whomever decides too help :)

https://osbot.org/forum/topic/115124-explvs-scripting-101/ is gold 

https://osbot.org/forum/topic/111003-basic-walking-webwalking-tutorial-a-simple-concept/ (specific to walking)

https://osbot.org/forum/topic/87697-explvs-dank-paint-tutorial/ (specific to paint) 

To walk to a close area you can use entity hover debug to get the coordinates of a the tile.
setting->options-> check the entity hover debug checkbox
pick a tile that's atleast 3 tiles away from the tile you are on. 
then just hover of the tile you want to get it's Position coordinates.
let's assume the tile you hovered over gives you coordinates 3089,3502,0 
then you'll just do 

public void onStart() throws InterruptedException {
       getWalking().walk(new Position(3089,3502,0)); 
        }

to walk to an area that is far away, you might want to use web walk like this

public void onStart() throws InterruptedException {
         getWalking().webWalk(Banks.EDGEVILLE);
        }

I can explain more but i really see no point as the guides I've linked to do a much better job at explaining :)

Edited by Spider

Your question is pretty vague however here's a snippet that will web walk to a Lumbridge Upper Bank if you're not currently there.

if (!Banks.LUMBRIDGE_UPPER.contains(myPosition())) {
    getWalking().webWalk(Banks.LUMBRIDGE_UPPER);
} else {
    // We are at Lumbridge Upper Bank
    // Do our tasks
}

 

  • Author
10 hours ago, Ragnar Lothbrok said:

Your question is pretty vague however here's a snippet that will web walk to a Lumbridge Upper Bank if you're not currently there.


if (!Banks.LUMBRIDGE_UPPER.contains(myPosition())) {
    getWalking().webWalk(Banks.LUMBRIDGE_UPPER);
} else {
    // We are at Lumbridge Upper Bank
    // Do our tasks
}

 

 

10 hours ago, Spider said:

https://osbot.org/forum/topic/115124-explvs-scripting-101/ is gold 

https://osbot.org/forum/topic/111003-basic-walking-webwalking-tutorial-a-simple-concept/ (specific to walking)

https://osbot.org/forum/topic/87697-explvs-dank-paint-tutorial/ (specific to paint) 

To walk to a close area you can use entity hover debug to get the coordinates of a the tile.
setting->options-> check the entity hover debug checkbox
pick a tile that's atleast 3 tiles away from the tile you are on. 
then just hover of the tile you want to get it's Position coordinates.
let's assume the tile you hovered over gives you coordinates 3089,3502,0 
then you'll just do 


public void onStart() throws InterruptedException {
       getWalking().walk(new Position(3089,3502,0)); 
        }

to walk to an area that is far away, you might want to use web walk like this


public void onStart() throws InterruptedException {
         getWalking().webWalk(Banks.EDGEVILLE);
        }

I can explain more but i really see no point as the guides I've linked to do a much better job at explaining :)

Appreciate the help, Top guys :D

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.