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.

Scripting Question

Featured Replies

Hi guys,

I'm trying to work out how to script when my player can successfully log out. Atm i can determine if i'm getting attacked by a player, and my script hops world if my area is too crowded or a pker is nearby. The problem is lets say im getting attacked the bot runs down to 30wild to teleport. If the pker doesn't attack the bot for a few ticks like pathing or whatever  the bot thinks its not in combat and will try and hop cause theres a pker nearby - this then causes the bot to die most of the time cause its scrolling worlds and not eating. Same if the bots attacking a monster kills it then it trys to hop cause its to crowded and the bots  not in combat and itll fail 3 times before it can actually hop becuase its just been in combat. Just wondering if there where any snippets available. Has it got anything to do with getHitBarLoopCycle() im not really sure how to use it tho. 

Thanks  :)

  • Author
2 minutes ago, Juggles said:

Timer sleep 10s after last time being attacked before hopping 

Ye thought it'd be something like this, just gunna need to figure a way to implement it. Thanks for the response :)

16 minutes ago, Luke Reading said:

Ye thought it'd be something like this, just gunna need to figure a way to implement it. Thanks for the response :)

Just change .isAnimating to isInCombat and put int at 10500.

Create an account or sign in to comment

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.