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.

Wilderness PKer Avoidance

Featured Replies

Hey guys,

So I'm making a script atm that is running around in the Wilderness doing stuff, and want to make sure it does not get pked.

I know how to check for players and their level and stuff, but the problem is the bot is always finishing its current loop before logging.

I there a way to run the checks over the top of the current loop and if it finds a PKer, to immediately stop whatever the bot is doing (such as webwalking) and start running priority code to avoid the PKer?

 

Thanks for all your help.

  • breaking your loop -> check java
  • breaking WebWalkEvent -> check api
  • flag -> if flag -> do antipk code else -> do ur code?

Edited by Chris

  • Author

Thanks @Chris I will look into this! Any hints into how I could update the flag continually? Like if my bot is doing a WebWalk, it doesn't seem to be running any of my code until that Event is over...

Edited by Shotdox

Create an account or sign in to comment

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.