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.

fix dialogue api

Featured Replies

-dialogues.clickContinue() spam clicks the option and the next part of the dialogue is unable to load to due to spam click

 

i have ->

if (dialogues.indialogue()) {
dialogues.clickContinue();
}

but it spam clicks so much next interface wont load :)

-dialogues.clickContinue() spam clicks the option and the next part of the dialogue is unable to load to due to spam click

 

i have ->

if (dialogues.indialogue()) {
dialogues.clickContinue();
}

but it spam clicks so much next interface wont load smile.png

 

Add in a sleep after: dialogues.clickContinue();

The API isn't broken.

Your implementation might be, tho. What value are you returning from onLoop after clicking continue?

Your onLoop() will be executing anywhere from 5-10 times per second (depending on your return value of course, should typically have it at around 215ms), so you can imagine it would be clicking 5-10 times per second since it will just continue the loop after clicking continue.

A way to do this would be to see if there is a widget with the text "Please wait...", as this is the substitute when you click continue (right?), and if there is, you wait.

Another way is to sleep until the widget changes/disappears.


if(dialogues.isPendingContinuation() || dialogues.clickContinue())

return random(...);

Edited by Flamezzz


if (getDialogues().isPendingContinuation()) {

getDialogues().clickContinue();

return random(900 , 1200);

}

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.