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.

Script.map.walk(Entity) && script.localwalker.walk(Entity)

Featured Replies

  • Developer

Hello,
 
Since Alek didn't open my topic yesterday and I can't contact him in any way I'll just create my 4 th topic about this.
It really feels impossible to get in contact with anybody about a bug, My fault ? 
 
Previous topic:
http://osbot.org/forum/topic/64885-walking-bug-stop-closing-topics-plz/
 
Here is some proof it gets stuck in a loop, yes @Alek strange witchcraft loops?
Don't ask me how it's gets stuck, You say you don't use loops, then explain me how this gets stuck?
 
Issue noticed in script:
- khal Experiments
- Khal AIO Fisher (local)
- Khal Warriors (local)
 
Proof:

Code used:

Data.status = "Walking closer to " + npc.getName();
			
script.log("Walking closer...");

// bugged method
script.localWalker.walk(npc);

script.log("Lets sleep...");
Utils.sleep(script, 450, 800);

script.log("Code got executed?");

Screenshot of getting stuck in the API walking method (see Topic Title):

8175288fbe.jpg


 

Issue:
As you can see in the log the script never continues further then the walkign method.
"lets sleep..." and "Code got executed" never gets executed anymore.
 
This only happends when the NPC where you walk to walked to far away from the original position where you were walking too. Like a fish spot jumps to another place, A warrior or experiment walks too far while u traversing to it.
 

How to fix:

Pause script and resume it. A new Onloop will be executed and the script continues.

 

Another fix:

Use the Position instead the NPC.

Use localwalker.walk(Entity.getPosition()); or map.walk(Entity.getPosition());

This will not get stuck in a loop. See console log

Proof:

00bdf79300.jpg

 

More Proof?

If you have time I can also show you on teamviewer if you still won't believe me.
 
Kind regards
Khaleesi

Edited by Khaleesi

Seek solutions !!!!!wacko.png

localwaker

click ground infinite loop !!!Angry.png

Edited by dayong1433

Walking to entities (using walking event) is having an issue. The interact method will have a patch in .23 to use the minimap as the primary walking event instead of WalkingEvent itself (currently WalkingEvent is called first before using the minimap as a backup). 

 

Once Maxi makes a patch, we'll let everyone know. Thanks for this report. Hopefully this solves some other issues.

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.