The Hero of Time Posted March 23, 2016 Author Posted March 23, 2016 You can prevent the AUTO_LOGIN Random event from activating via response codes. You may have to play around with shouldActivate & onResponseCode. I 've done this before so it's deffo possible, but not sure if this kinda stuff is allowed for SDN scripts. getBot().getRandomExecutor().registerHook(new RandomBehaviourHook(RandomEvent.AUTO_LOGIN) { private RandomSolver solver = getBot().getRandomExecutor().forEvent(RandomEvent.AUTO_LOGIN); @Override public void onResponseCode(int c) throws InterruptedException { //INSERT WORK_AROUND HERE } @Override public void onStart() throws InterruptedException { super.onStart(); solver.onStart(); } @Override public boolean shouldActivate() { return solver.shouldActivate(); //Play around with this } @Override public int onLoop() throws InterruptedException { super.onLoop(); return solver.onLoop(); } @Override public void onExit() throws InterruptedException { super.onExit(); solver.onExit(); } }); } why wouldn't it be allowed? alek looks through the code right?
Psvxe Posted March 23, 2016 Posted March 23, 2016 why wouldn't it be allowed? alek looks through the code right? I don't think the security is the issue he's talking about.
Khaleesi Posted March 23, 2016 Posted March 23, 2016 why wouldn't it be allowed? alek looks through the code right? It's like adding bandaid to an issue instead of solving it. not sure if Alek wants to see that kind of code at the SDN 1