Jump to content

Remove random?


Recommended Posts

Posted

Can someone tell me how to remove the login random then add it back in later?

 

I have try
client.getBot().getRandomExecutor().unregisterHook(RandomEvent.AUTO_LOGIN); // Doesnt work

client.getBot().getRandomExecutor().terminate() // work but no way to add back the random

 

I even try clearing the random list but that doesnt work

 

Posted

Not sure what it's like now, but when I had API access it was this way:

 

You can't unregister a built in solver using unregister. You can unregister your own solvers.

 

So to add in your own login handler, you'd have to use registerHook with your own solver implemented.

 

if you just want to suppress a solver, just register a solver that returns false for shouldActivate (or whatever they call it)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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