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.

damufinmkan

Members
  • Joined

  • Last visited

Everything posted by damufinmkan

  1. Hello, not sure if I'm posting this in the right spot so please move if necessary. So, I'm making a script to assist my Nightmare Zone AFK training. Right now, I have it set up so that an alarm goes off when I need to drink an overload or prayer potion. Now, I want to scan the chatbox to see when a Power Surge powerup spawns. I'm trying to figure out the best way to do this. My first thought, given the API limitations, was to grab all messages in the chat of MessageType.GAME and evaluate just the most recent one, see if it's a power surge notificaiton, and if so, set the alarm. BUT, since I'm grabbing all the chat messages in a loop once every second, I think it's causing the client to crash. Is there a better way to get the most recent chatbox message without getting the whole list of messages? Or is there a way to put that part in an onLoop separate from my other code, to only scans the chatbox every 30 seconds or so? Keep in mind, I want to make sure that the alarm only beeps once, when the powerup is first available to use. Please share your thoughts. -Damufin

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.