una_maquina 35 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.
Bonfire 334 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);
una_maquina 35 Author Posted May 16, 2021 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.