May 12, 20178 yr 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 Edited May 12, 20178 yr by phony
April 14, 20187 yr On 4/11/2018 at 3:47 PM, zekeria said: when i start the script it logs out right away Same
April 14, 20187 yr 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 April 14, 20187 yr by DeadPk3r
April 14, 20187 yr 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!
April 15, 20187 yr 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?
April 15, 20187 yr 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
July 8, 20187 yr 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
July 8, 20187 yr 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