oschecker 0 Posted December 4, 2022 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
Genius 50 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.