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.

i need one more thing help with script

Featured Replies

  • Author

too general. make your question more specific

if my acc is above 20 wildy it cant teleport how do i make it go to 20 so it can use teleport?

if my acc is above 20 wildy it cant teleport how do i make it go to 20 so it can use teleport?

 

walk south

Edited by Imateamcape

know nothing about scripting but make it run south until it detects its in 20wild, then queue it to tele

or maybe just make an area in the wildly at level 20 so it walks to there

Edited by Mr Pro Pop

You could try reading the widget and finding the wilderness level from it boge.png keep -1 your position until you are at < 20 wildy

 

Edit: there's a method in the API to get the wilderness level

Edited by Zappster

As you really didn't specify where you want it to walk, I needed to get creative, there might be a better way to do this, but it should work.

if(myPlayer().getPosition().getY() > 3678){
    ArrayList<Position> closestTile = new ArrayList<Position>();
    if(closestTile.size() <= 383){
        for(int i = 0; i <= 383; i++){
            closestTile.add(new Position(3678, 2946 + i, 0));
        }
    }else{
        closestTile.sort(new Comparator<Position>() {
            public int compare(Position entry1, Position entry2) {
                return entry1.distance(myPlayer()) - entry2.distance(myPlayer());
            }
        });
        getWalking().webWalk(closestTile.get(0));
    }
}else{
    //do tele
}

Edited by Vilius

 

As you really didn't specify where you want it to walk, I needed to get creative, there might be a better way to do this, but it should work.

if(myPlayer().getPosition().getY() > 3678){
    ArrayList<Position> closestTile = new ArrayList<Position>();
    if(closestTile.size() <= 383){
        for(int i = 0; i <= 383; i++){
            closestTile.add(new Position(3678, 2946 + i, 0));
        }
    }else{
        closestTile.sort(new Comparator<Position>() {
            public int compare(Position entry1, Position entry2) {
                return entry1.distance(myPlayer()) - entry2.distance(myPlayer());
            }
        });
        getWalking().webWalk(closestTile.get(0));
    }
}else{
    //do tele
}

 

if(map.getWildernessLevel() > 20) {

      getWalking().walk(new Position(myPosition().getX(), myPosition().getY() - 5, myPosition.getZ());

}

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.