AngryKey Posted November 8, 2016 Share Posted November 8, 2016 (edited) public int onLoop() throws InterruptedException { NPC monster=npcs.closest("monster"); if(monster.isVisible()){ Time=System.currentTimeMillis(); logoutTab.logOut;//logout game } return 0; } public void onStart() { bot.getRandomExecutor().registerHook(new RandomBehaviourHook( RandomEvent.AUTO_LOGIN) { public boolean shouldActivate() { if(this.client.getLoginStateValue()==10&&System.currentTimeMillis()-Time>20000){//Delay login return true; } return false; } }); } Before 2.4.96 is perfect. 2.4.99 Removed "RandomBehaviourHook". What should I do?(please give the sample) Edited November 8, 2016 by AngryKey Quote Link to comment Share on other sites More sharing options...
Abuse Posted November 8, 2016 Share Posted November 8, 2016 There currently is no way besides using the norandoms parameter and making your own login handler Quote Link to comment Share on other sites More sharing options...
AngryKey Posted November 8, 2016 Author Share Posted November 8, 2016 There currently is no way besides using the norandoms parameter and making your own login handler how to using "norandoms" Quote Link to comment Share on other sites More sharing options...
Abuse Posted November 8, 2016 Share Posted November 8, 2016 how to using "norandoms" java -jar osbot.jar -login angrykev:password -bot zezima@@hotmail.com:password:0000 -allow norandoms Quote Link to comment Share on other sites More sharing options...
AresScripts Posted November 8, 2016 Share Posted November 8, 2016 Spoon feeding will not lead to learning 1 Quote Link to comment Share on other sites More sharing options...
Kittens Posted November 8, 2016 Share Posted November 8, 2016 idk why you pmed me for help lol I dont have scripter rank and not really a big coder lol 1 Quote Link to comment Share on other sites More sharing options...