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.

Walker

Featured Replies

Hi, 

I'm making free fire giant killer script with safepot. 

Script is attacking fire giant and detecting if player stands on safespot, if not ->move to safe spot. 

But I have issue there, cause safe spot is on the same x,y as doors. 

 

safespot -> light green

doors -> yellow.

Does any1 can explain me, why walker is not moving to this spot? If i get boolean from walker().walk(), it returns true, but mouse if not moving. 

 

EDIT: walker moves only if player stands 2 squares away, if 1 not.

maxresdefault.jpg

Edited by Efpkaf

That's because the walker uses a default of a 2 tile distance. If you want to walk to a tile exactly, you need to make a WalkingEvent.

This will explain everything you need to know about walking:

 

  • Author
1 hour ago, Imateamcape said:

That's because the walker uses a default of a 2 tile distance. If you want to walk to a tile exactly, you need to make a WalkingEvent.

This will explain everything you need to know about walking:

 

Cheers mate

  • Author
4 hours ago, Imateamcape said:

That's because the walker uses a default of a 2 tile distance. If you want to walk to a tile exactly, you need to make a WalkingEvent.

This will explain everything you need to know about walking:

 

Do you have any example for it? I get NPE at walkingevent.execute. 

WalkingEvent walkingEvent = new WalkingEvent();
        walkingEvent.setMinDistanceThreshold(0);
        LinkedList<Position> positions = new LinkedList<>();
        positions.add(path[0]);
        walkingEvent.setPath(positions);
        walkingEvent.execute();

 

5 minutes ago, Efpkaf said:

Do you have any example for it? I get NPE at walkingevent.execute. 


WalkingEvent walkingEvent = new WalkingEvent();
        walkingEvent.setMinDistanceThreshold(0);
        LinkedList<Position> positions = new LinkedList<>();
        positions.add(path[0]);
        walkingEvent.setPath(positions);
        walkingEvent.execute();

 

 

Use the execute method in the MethodProvider class:

execute(walkingEvent)

Not:

walkingEvent.execute();

3 hours ago, Efpkaf said:

Do you have any example for it? I get NPE at walkingevent.execute. 


WalkingEvent walkingEvent = new WalkingEvent();
        walkingEvent.setMinDistanceThreshold(0);
        LinkedList<Position> positions = new LinkedList<>();
        positions.add(path[0]);
        walkingEvent.setPath(positions);
        walkingEvent.execute();

 

yeah, there's a bunch of examples on there, just look through the guide haha...

  • Author
7 minutes ago, Imateamcape said:

execute(walkingEvent)

Not:

walkingEvent.execute();

You killed me with this... Im such of idiot :D 

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.