Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Best Running || Walking : Roast!


    f4i13rr0r

    Recommended Posts

    Best walker you every had old school sense in "Walker"

    Donate me if you get rich ;p

     

    Spoiler
    
    			Area Bank$ = new Area(
    					new Tile(3185, 3434, 0),
    					new Tile(3182, 3434, 0),
    					new Tile(3182, 3445, 0),
    					new Tile(3185, 3445, 0));
    			if (!Bank$.contains(Players.getLocal())) {
    				if(Walking.isRunEnabled()) {
    					do {
    						Walking.walk(Bank$.getRandomTile());
    						if (!Walking.isRunEnabled()) {
    							Logger.log("P4th");
    							P4th();
    						}
    						sleep(1999,5555);
    					} while (!Bank$.contains(Players.getLocal()));
    					Logger.log("B4nk");
    					B4nk();
    				} else {
    					do {
    						Walking.walk(Bank$.getRandomTile());
    						if (Walking.isRunEnabled()) {
    							Logger.log("P4th");
    							P4th();
    						}
    						sleep(7777,11111);
    					} while (!Bank$.contains(Players.getLocal()));
    					Logger.log("B4nk");
    					B4nk();
    				}
    			}

     

    Checks if run in enabled, if not goes to walking, if run gets enabled then switch's back to running.

    Link to comment
    Share on other sites

    You should try and avoid while loops in your code. As cC said you're not able to take any other actions during the loop

    Also the API will automatically toggle run

    Also wtf are those method names

    Link to comment
    Share on other sites

    • 3 months later...

    Ok so I don't know what log out during mid walking means lol.

     

    This doesn't toggle run, it just checks to see if run is toggled, and if so drop in a loop for as long as run is toggled, once run energy is out it then calls itself aka P4th();, which thens switch's to a walking loop, it was the best I could come up with.

    I'll get a video of what it does soon, I ended up having to reinstall everything lol.

     

    I was using proton mail for my account I think I can still get into it not for sure lol.

    Link to comment
    Share on other sites

    • 1 month later...
    On 10/14/2023 at 8:32 PM, bl0t_0 said:

    Ok so I don't know what log out during mid walking means lol.

     

    This doesn't toggle run, it just checks to see if run is toggled, and if so drop in a loop for as long as run is toggled, once run energy is out it then calls itself aka P4th();, which thens switch's to a walking loop, it was the best I could come up with.

    I'll get a video of what it does soon, I ended up having to reinstall everything lol.

     

    I was using proton mail for my account I think I can still get into it not for sure lol.

    They're saying if you use a while loop you're stuck in there.. generally you want to avoid that.  Instead of that you can do an if check to see if you need to walk or not.

    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.