greekhaima 1 Share Posted November 23, 2023 Is there a way to set a break from the code? I used to use sleep to break, but not that disconnects from dreambot and stops the script: 5:52:25 AM: [ERROR] There was an issue connecting to our servers Link to comment Share on other sites More sharing options...
MaximusPrimo 59 Share Posted November 23, 2023 Dreambot has a built in break manager. You can access this from the client directly located at the bottom of the client Link to comment Share on other sites More sharing options...
greekhaima 1 Author Share Posted November 24, 2023 @MaximusPrimothanks but that was not the question. You can't set a time to sleep at night and that break also has issues like if in combat sometimes it will keep trying to break, or the character might die because it just went on a break. Im looking to take a break from the script programically Link to comment Share on other sites More sharing options...
greekhaima 1 Author Share Posted December 2, 2023 @Pandemichow to take a break programically ? Link to comment Share on other sites More sharing options...
red20 0 Share Posted December 20, 2023 🤔 I just use sleeps, did they change something so that it doesn't work anymore then? Link to comment Share on other sites More sharing options...
fallacy87 8 Share Posted February 3 private void toggleLogin(boolean enable){ if(enable) getRandomManager().enableSolver("Login Handler"); else getRandomManager().disableSolver("Login Handler"); } then when it's break time just toggleLogin(false) when its time to resume toggleLogin(true) I know it's a little late but I just got here today, hope this helps someone. 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