una_maquina 25 Share Posted May 15, 2021 Hey, I wanna basically stop autologin solver and then re-enable it again after condition is met; but I'm having "you can't run non-static on static" error. So usually when this happens, I just initiate a class object: RandomManager rm = new RandomManager(); But it asks for Thread and Abstract script inputs, and that's what I don't get -- what are those? I tried putting in: RandomManager rm = new RandomManager(null, null); But then it doesn't work when I do rm.disableSolver(RandomEvent.LOGIN); it doesn't disable the solver. Link to comment Share on other sites More sharing options...
Bonfire 323 Share Posted May 15, 2021 Have you tried getting the already existing RandomManager and using that? Something like what I have below. getRandomManager().disableSolver(RandomEvent.LOGIN); bap 1 Link to comment Share on other sites More sharing options...
una_maquina 25 Author Share Posted May 16, 2021 (edited) On 5/16/2021 at 1:07 AM, Bonfire said: Have you tried getting the already existing RandomManager and using that? Something like what I have below. getRandomManager().disableSolver(RandomEvent.LOGIN); Just tried putting it in, says the method is undefined Looks like I need to define RandomManager object, but then again, what the heck are those two parameters it needs? Thread and AbstractScript Edited May 16, 2021 by una_maquina Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now