oschecker 0 Share Posted December 4, 2022 (edited) My script keeps getting stuck on the forgot password screen due to lag, I can't find out how to detect if I'm on it though, If it's detected I'm looking to click backButton then cancelButton, could anyone help me out? The buttons are refined as rectangles. There doesn't seem to be a loginindex for it since it's not technically logged in Edited December 4, 2022 by oschecker Link to comment Share on other sites More sharing options...
Genius 49 Share Posted December 7, 2022 On 12/4/2022 at 9:41 AM, oschecker said: My script keeps getting stuck on the forgot password screen due to lag, I can't find out how to detect if I'm on it though, If it's detected I'm looking to click backButton then cancelButton, could anyone help me out? The buttons are refined as rectangles. There doesn't seem to be a loginindex for it since it's not technically logged in Untested, but looking at the API, this should get you started: if (LoginUtility.getStage() == LoginStage.FORGOTTEN_PASSWORD) { Mouse.click(LoginUtility.getBackButton()); } You may need to disable the login random solver and write your own though. https://dreambot.org/javadocs/org/dreambot/api/methods/login/LoginUtility.html Let me know if I can help. 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