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.

walk() gets stuck (1.3.1)

Featured Replies

What is broken

The walk() methods sometimes get stuck. I am now talking about walk(Position), but I think the others are broken too.

 

What is happening

When you execute a walk method, your character walks to the given destination. That usually works fine, but sometimes it just gets stuck.

 

How is it happening

My guess is that it happens when OSBot missclicked (or just not clicked at all) the minimap and thus your charachter is not walking towards the position. OSBot keeps waiting untill your character is at the clicked (or around) the given destination, but never arrives there. This causes the bot to hang, NOT FREEZE.

I think you have an error in your script, if it fails, your script should loop around and call the walk method again. Walking is working fine for me.

  • Author

This is the script:

void walkToSomething() {        walk(new Position(3333, 3333, 0));        state = State.NEXT_STATE;}

I know what you mean, but it does not even go to NEXT_STATE so that isn't the problem. :s

 

Seems to work fine in 1.2.2 though...

Edited by sxforce

why won't you just use:
 

if(walk(position))state = State.NEXT_STATE;

 

 

  • Author

why won't you just use:

 

if(walk(position))state = State.NEXT_STATE;

 

Tried that. The problem persists. It happens at totally random times, sometimes everything works perfect a few minutes later it just hangs again... There should be something like a timeout, if nothing happens for a few seconds it should call onLoop again. sad.png

 

Edit: this problem happens a lot less in 1.2.2. Did not have the time to try 1.3.3 though.

Edited by sxforce

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.