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] Client Questions

Featured Replies

When logging in, you have 4 stages: login screen, transfering profile, welcome screen, and actual in-game.

 

1. Does onLoop start as soon as it is on the welcome screen? I noticed it does, and when it gets to in-game, it resets the onLoop assuming it doesn't finish first.

 

2. When we search for the closestGroundItem(), is it able to acquire the information when it is on the welcome screen?

When logging in, you have 4 stages: login screen, transfering profile, welcome screen, and actual in-game.

 

1. Does onLoop start as soon as it is on the welcome screen? I noticed it does, and when it gets to in-game, it resets the onLoop assuming it doesn't finish first.

 

2. When we search for the closestGroundItem(), is it able to acquire the information when it is on the welcome screen?

1. Yes it starts on the Welcome screen. 

2. I am assuming so.. I can obtain config information when on the welcome screen so it might be possible.

I think the onLoop starts as soon as welcome window has been clicked.

I use this to start it off if I use world hopping.

          if(client.getMyPlayer().isVisible()) {
          log("I see user..");
          sleep(random(1000, 3000));

The script start after the moment you select an account or press none, even if you at the login screen, but as you know there a RandomSolver and one of them is the login which interrup and pause the script and execute it self. 

  • Author

I think the onLoop starts as soon as welcome window has been clicked.

I use this to start it off if I use world hopping.

          if(client.getMyPlayer().isVisible()) {

          log("I see user..");

          sleep(random(1000, 3000));

I tried using sleep, but it still gives me inconsistent results. If it clicks the welcome screen fast enough, it will only go through the onLoop once. If it doesn't click fast enough, it will start the onLoop and when it is clicked, it will reset it. Sometimes, it is done running the onLoop after the welcome screen is clicked. World hopping is a pain.

The script start after the moment you select an account or press none, even if you at the login screen, but as you know there a RandomSolver and one of them is the login which interrup and pause the script and execute it self. 

This only poses a problem when I am world hopping.

1. Yes it starts on the Welcome screen. 

2. I am assuming so.. I can obtain config information when on the welcome screen so it might be possible.

2. I hope it provides accurate items on ground when it is on the welcome screen.

Edited by BotRS123

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.