Skip 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.

'Custom' Break

Featured Replies

Is there a way to pause the Autologin and log out at certain times of the day? I've tried implementing 

if (CurrentHour > 6 && CurrentHour < 18)
  	return State.OUT_OF_HOURS;

but half the time it doesn't work. and the other time I'll get it to log out but it'll log straight back in.

You can use your own LoginHandler, or play around with pausing and resuming the scriptExecutor.

I'd advise to just go with the LoginHandler solution though. Bear in mind that you'll have the disable all randoms through CLI for this :D

 

  • Author
1 minute ago, Eagle Scripts said:

You can use your own LoginHandler, or play around with pausing and resuming the scriptExecutor.

I'd advise to just go with the LoginHandler solution though. Bear in mind that you'll have the disable all randoms through CLI for this :D

 

 

Thought I'd have to do as much. :P Thanks :)

Settings->Options and adjust the break values. It says "how long should stay logged out for before logging back in", which is what you are asking. 

  • Author
10 minutes ago, Alek said:

Settings->Options and adjust the break values. It says "how long should stay logged out for before logging back in", which is what you are asking. 

Nope. I want the script to run as normal at certain hours of the day but cease to run at times I've selected which with the current break handler, I don't think is possible.

  • Author
36 minutes ago, Charlotte said:

Custom login handler.

 

Is it me being retarded or is it broken 

2 minutes ago, HeyImJamie said:

Is it me being retarded or is it broken 

The 1st one. Although there are quite a few improvements that can be made

6 minutes ago, k9thebeast said:

The 1st one. Although there are quite a few improvements that can be made

To Explv's or mine? I just tested the default OSBot one on the latest dev build lol.

2 minutes ago, Alek said:

To Explv's or mine? I just tested the default OSBot one on the latest dev build lol.

Oh Explv's. YOURS IS FLAWLESS <3 

 

I've only experienced bugs with the built in one (maybe once every other week over a LOT of testing) when I've either started / stopped a script weirdly during the auto login (or it gets an NPE during auto login) or I start / Stop a script like a trillion times sometimes it acts funny.

Edited by k9thebeast

1 hour ago, k9thebeast said:

Oh Explv's. YOURS IS FLAWLESS <3 

 

I've only experienced bugs with the built in one (maybe once every other week over a LOT of testing) when I've either started / stopped a script weirdly during the auto login (or it gets an NPE during auto login) or I start / Stop a script like a trillion times sometimes it acts funny.

I think its an issue when you stop a script which throws an InterruptedException or gets caught in some sort of loop. I mean the way to fix this is to have scripters check to see if the script is stopped during all states, then breaking out of whatever they have if it is. Chances of this happening is not very likely at all though haha.

1 hour ago, k9thebeast said:

Although there are quite a few improvements that can be made

Such as?

I just tested it, and it works fine

Edited by Explv

11 minutes ago, Explv said:

Such as?

Two main things that I've changed in mine are a conditional sleep to tell the client is loaded before actually trying to log in (the default one throws NPE if applet isnt fully loaded)

Somethings off with the onResponseCode(), havent delved too far into it but it doesnt activate everytime when there is a response code other than a successful login of course. Remedied this by just overiding it within my main.java which works fine.

Edited by k9thebeast

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.