Jump to content

'Custom' Break


HeyImJamie

Recommended Posts

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 :)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...