Dqtreats 4 Posted February 13 Share Posted February 13 (edited) EDIT: Found an event login from a couple years ago, outdated but it halfway worked. Got it working! Thanks for those who helped! So I am trying to make a script that will allow me to log in for 30 seconds, grab a couple things, log out, and wait for 30 minutes for the items to refresh and then repeat. However I can't use a Break Handler because how long I stay logged in couple vary from time to time, depending on how far I am from my location. Unless I am able to call on the Break Handler to activate whenever I do a logoutTab.logOut(); command, then I am out of luck on a break handler. Example below. public int onLoop() throws InterruptedException { if (myPlayer().getPosition() != Lumbridge) { getWalking().webWalk(Lumbridge); } if (!getInventory().contains("Air Rune")) { groundItems.closestThatContains("Air Rune").interact("Take"); } if (getInventory().contains("Air Rune")) { log("Logging out for 30-45 minutes for runes to refresh."); logoutTab.logOut(); sleep(random(1_800_000, 2_400_000)); //Sit on logout screen for 30-45 minutes before Auto Login handler kicks in. } return 100; } Edited February 13 by Dqtreats Fixed Quote Link to post Share on other sites
Ayylmao420 40 Posted February 13 Share Posted February 13 you can always run a new thread with a timer and keep interrupting auto login event Quote Link to post Share on other sites
Kramnik 258 Posted February 13 Share Posted February 13 You should disable random, but they you will have to create your own Login Handler. I don't think there is many ways around it Quote Link to post Share on other sites
Dqtreats 4 Posted February 13 Author Share Posted February 13 1 hour ago, Kramnik said: You should disable random, but they you will have to create your own Login Handler. I don't think there is many ways around it I could try. I'd hate for people to think that I'm trying to steal information if I decided to release it to the public. Quote Link to post Share on other sites
Kramnik 258 Posted February 13 Share Posted February 13 1 hour ago, Dqtreats said: I could try. I'd hate for people to think that I'm trying to steal information if I decided to release it to the public. The way would be to release to SDN, Token checks every scripts not be to malicious so its trust worthy Quote Link to post Share on other sites
Gunman 437 Posted February 13 Share Posted February 13 If it's not encrypted they can just reverse it and look at the source code. Quote Link to post Share on other sites
Dqtreats 4 Posted February 13 Author Share Posted February 13 3 hours ago, Kramnik said: You should disable random, but they you will have to create your own Login Handler. I don't think there is many ways around it Found one! Works, but won't click on the "CLICK HERE TO PLAY" button so close! Quote Link to post Share on other sites
Dqtreats 4 Posted February 13 Author Share Posted February 13 Got it all figured out! Thanks guys Quote Link to post Share on other sites