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.

Phony's Walker

Featured Replies

Phony's Walker

 

- Simple lightweight walker

- It will walk to given location from anywhere

- Includes simple GUI

 

This is my first script so any feedback would be appreciated!

If you find any bugs or want anything added, just let me know!

 

Shout out to @Apaec for helping me with the GUI!

 

Download:

Walker.jar

walker.gif

Edited by phony

  • Author
Just now, harrypotter said:

Gz on your first release :)

Thanks my dude

  • Author
50 minutes ago, Funfight said:

congrats :)

Thanks buddy!

  • 10 months later...
On 4/11/2018 at 3:47 PM, zekeria said:

when i start the script it logs out right away :(

Same

2 hours ago, Mahdan said:

Same

 

@zekeria

Just create your own if you need one here is code to do it this example checks if player is at the small varrock bank if they are will walk to square then to ge, but if its not at small bank to start will walk there then go to square then ge after just example if u wanted it to go multiple places before stopping or could edit it to only got one spot.

 

import org.osbot.rs07.api.map.Area;
import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;


@ScriptManifest(name = "Walking Script", author = "", version = 1.0, info = "", logo = "") 

public class Main extends Script {
	
	// Get area codes here - https://explv.github.io/
	Area varrockSquare = new Area(3207, 3434, 3219, 3422);
	Area grandExchange = new Area(3161, 3492, 3167, 3487);
	Area varrockSmallBank = new Area(3250, 3422, 3257, 3419);
	
    @Override
    public void onStart() throws InterruptedException {
    }

    @Override
    public void onExit() {
    }
    
    @Override
    public int onLoop() throws InterruptedException {
    		// checks if player is at first location, if they are then will walk to second location, but if player isnt at first location will walk to first, once player is at second
    		// location, it will then walk to final location.
    		if(varrockSmallBank.contains(myPlayer())) {
    			log("At first location walking to second.");
    			getWalking().webWalk(varrockSquare);
    		} else {
    			getWalking().webWalk(varrockSmallBank);
    			log("was not at first location walking to it.");
    		}
    		if(varrockSquare.contains(myPlayer())) {
    			log("At second location walking to final");
    			getWalking().webWalk(grandExchange);
    		}
    		if(grandExchange.contains(myPlayer())) {
    			stop();
    			log("At final location stopping");
    		}
        return random(800);
    }
}

 

Edited by DeadPk3r

42 minutes ago, DeadPk3r said:

 

@zekeria

Just create your own if you need one here is code to do it this example checks if player is at the small varrock bank if they are will walk to square then to ge, but if its not at small bank to start will walk there then go to square then ge after just example if u wanted it to go multiple places before stopping or could edit it to only got one spot.

 


import org.osbot.rs07.api.map.Area;
import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;


@ScriptManifest(name = "Walking Script", author = "", version = 1.0, info = "", logo = "") 

public class Main extends Script {
	
	// Get area codes here - https://explv.github.io/
	Area varrockSquare = new Area(3207, 3434, 3219, 3422);
	Area grandExchange = new Area(3161, 3492, 3167, 3487);
	Area varrockSmallBank = new Area(3250, 3422, 3257, 3419);
	
    @Override
    public void onStart() throws InterruptedException {
    }

    @Override
    public void onExit() {
    }
    
    @Override
    public int onLoop() throws InterruptedException {
    		// checks if player is at first location, if they are then will walk to second location, but if player isnt at first location will walk to first, once player is at second
    		// location, it will then walk to final location.
    		if(varrockSmallBank.contains(myPlayer())) {
    			log("At first location walking to second.");
    			getWalking().webWalk(varrockSquare);
    		} else {
    			getWalking().webWalk(varrockSmallBank);
    			log("was not at first location walking to it.");
    		}
    		if(varrockSquare.contains(myPlayer())) {
    			log("At second location walking to final");
    			getWalking().webWalk(grandExchange);
    		}
    		if(grandExchange.contains(myPlayer())) {
    			stop();
    			log("At final location stopping");
    		}
        return random(800);
    }
}

 

Oh, thank you very much!

On ١٤‏/٤‏/٢٠١٨ at 9:30 AM, DeadPk3r said:

 

@zekeria

Just create your own if you need one here is code to do it this example checks if player is at the small varrock bank if they are will walk to square then to ge, but if its not at small bank to start will walk there then go to square then ge after just example if u wanted it to go multiple places before stopping or could edit it to only got one spot.

 


import org.osbot.rs07.api.map.Area;
import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;


@ScriptManifest(name = "Walking Script", author = "", version = 1.0, info = "", logo = "") 

public class Main extends Script {
	
	// Get area codes here - https://explv.github.io/
	Area varrockSquare = new Area(3207, 3434, 3219, 3422);
	Area grandExchange = new Area(3161, 3492, 3167, 3487);
	Area varrockSmallBank = new Area(3250, 3422, 3257, 3419);
	
    @Override
    public void onStart() throws InterruptedException {
    }

    @Override
    public void onExit() {
    }
    
    @Override
    public int onLoop() throws InterruptedException {
    		// checks if player is at first location, if they are then will walk to second location, but if player isnt at first location will walk to first, once player is at second
    		// location, it will then walk to final location.
    		if(varrockSmallBank.contains(myPlayer())) {
    			log("At first location walking to second.");
    			getWalking().webWalk(varrockSquare);
    		} else {
    			getWalking().webWalk(varrockSmallBank);
    			log("was not at first location walking to it.");
    		}
    		if(varrockSquare.contains(myPlayer())) {
    			log("At second location walking to final");
    			getWalking().webWalk(grandExchange);
    		}
    		if(grandExchange.contains(myPlayer())) {
    			stop();
    			log("At final location stopping");
    		}
        return random(800);
    }
}

 

how do i add this to my local script?

1 hour ago, zekeria said:

how do i add this to my local script?

You will need to edit my script above, and then compile it after that just add it to folder below change your username first though, if you don't know how to compile it look in the tutorial section there are a few tutorials on how to set it up.

C:\Users\USERNAME\OSBot\Scripts

  • 2 months later...

when i end the script the second window doesn't close, and if i close it it closes the whole osbot. But if i leave it running I have to run more instances and more windows just keep adding up :(

1 hour ago, stevlano said:

when i end the script the second window doesn't close, and if i close it it closes the whole osbot. But if i leave it running I have to run more instances and more windows just keep adding up :(

This hasn't been updated in over a year so it's probably permanently broken.

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.