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.

Walking bug! Stop closing topics plz

Featured Replies

  • Developer

You are doing exactly what Valkyr did, he had a similar problem.

Data.fightLocation.getPath().walk(script, false, 8);

You aren't using our API. You are using your own class called "Path" with a custom walking method. Use the API as it was intended to be used.

 

getLocalWalker().walk(position/entity)

getLocalWalker.walkPath(path)

For more information: http://osbot.org/api...ocalWalker.html

 

These methods call WalkingEvent which you may call yourself if you fully read the documentation and understand how it works. For now, use the methods I described above. 

 

Since I don't believe this is an issue regarding our API/client, this thread will be locked. Please take my advice, I don't search and figure out other scripter's code for fun (it eats up a good portion of my free time).

 

Best of luck and kind regards,

-Alek

 

ALEK Can you please stop closing topics? How can we talk to you when you keep closing them!

This is my 3th topic already just to make 1 bug clear... IS THAT EVEN NORMAL? xD

 

We can't even reply on your answer even when you don't understand my point.

It really feels like you are giving us the fault of our mistakes, but it's not.

I have to make a glitchy method now to make my script not spamm click the ground.

 

The issue isn't related to my path class... The code where it's gets stuck isn't using my path. 

It only happends when it want to walk closer to a NPC.

Here is the code where it's gets stuck in a infite loop:

if (Utils.getDistance(script.myPosition(), pos) > 8) {
Data.status = "Walking closer to " + npc.getName();
script.log("Walking closer!!!");

// bugged method, spamm clicks ground, Onloop never gets executed again after this method
// script.map.walk(npc);

// temporary method ...
Utils.clickMinimap(script, pos);
Utils.sleep(script, 450, 800);
}

It's from my walkCloser() method in the Methods class.

It doesn't happends everytime though.

This only happends when the Npc where you try to walk to runs to far away since the methods script.map.walk(npc) gets executed. I can even show you the error if you don't believe me.

 

Can you please Check this?

I'm not the only one who got this issue.

Edited by Khaleesi

The first topic was locked because your thread was hijacked and the second topic was locked because you are using custom methods. I'm having no problems whatsoever using getLocalWalker().walkPath() or walk(). 

 

 

Guest
This topic is now closed to further replies.

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.