Jump to content

Remove random?


Doout

Recommended Posts

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

 

Link to comment
Share on other sites

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)

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