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.

Is there any way to make a script hit "Continue" whenever PVP world warning comes up in lobby?

Featured Replies

19 minutes ago, hreyvirtue said:

Sorry for obnoxious title, but title says all  

 

Is there anyway to make either the client or script hit continue?

 

Just to clarify:

http://prntscr.com/mfu81d

 

 

Thanks!


If the default OSBot login handler isn't clicking it, then use a custom login handler, and click the button yourself:

https://osbot.org/forum/topic/109560-a-simple-login-handler/

  • Author
14 hours ago, Explv said:


If the default OSBot login handler isn't clicking it, then use a custom login handler, and click the button yourself:

https://osbot.org/forum/topic/109560-a-simple-login-handler/

Whenever I tried adding it to onStart/onLoop, I get an error about username/password not being static, how do I fix this?

(Making them static makes me remove final, making me have to initialize them to null, giving a NullPointerException)

Thanks

 

code:

 

http://prntscr.com/mg0k4k (somehow got this error to go away)

 

But now it's still giving a nullpointerexception

 

the full error: 

[ERROR][Bot #1][02/03 09:11:39 AM]: Error executing event : org.osbot.rs07.input.keyboard.TypeStringEvent@2eaf52f3
java.lang.NullPointerException
    at org.osbot.rs07.input.keyboard.TypeStringEvent.execute(lh:84)
    at org.osbot.rs07.event.EventExecutor$2.run(sk:136)
    at org.osbot.rs07.event.EventExecutor.execute(sk:69)
    at org.osbot.rs07.script.MethodProvider.execute(ue:402)
    at org.osbot.rs07.api.Keyboard.typeString(fg:162)
    at org.osbot.rs07.api.Keyboard.typeString(fg:89)
    at LoginEvent.enterUserDetails(LoginEvent.java:92)
    at LoginEvent.login(LoginEvent.java:75)
    at LoginEvent.execute(LoginEvent.java:38)
    at org.osbot.rs07.event.EventExecutor$2.run(sk:136)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

and code:

http://prntscr.com/mg0ur4

Edited by hreyvirtue

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.