bebeli555 8 Share Posted October 15, 2020 . Link to comment Share on other sites More sharing options...
Hmm 31 Share Posted October 15, 2020 Hi, Use Client.getLoginResponse(RSLoginResponse.DISABLED) to determine if an account has been banned. If banned attempt to login a new account. This can be achieved by using LoginUtility.login(String email, String password) For the buttons on the home screen, you will need to make rectangles. This rectangle should cover the try again box. Example: tryAgainBox = new Rectangle(315, 260, 425 - 291, 30); You will then use this by using Dreambot's Mouse class. Mouse.click(tryAgainBox); Hope this helps. Link to comment Share on other sites More sharing options...
Hmm 31 Share Posted October 15, 2020 Stole that rectangle snippet from @RetroBot, credit to him. Link to comment Share on other sites More sharing options...
Hmm 31 Share Posted October 15, 2020 23 minutes ago, NEWPROG said: Hi, Use Client.getLoginResponse(RSLoginResponse.DISABLED) to determine if an account has been banned. If banned attempt to login a new account. This can be achieved by using LoginUtility.login(String email, String password) For the buttons on the home screen, you will need to make rectangles. This rectangle should cover the try again box. Example: tryAgainBox = new Rectangle(315, 260, 425 - 291, 30); You will then use this by using Dreambot's Mouse class. Mouse.click(tryAgainBox); Hope this helps. Hi, I think I made an error. Use this instead: if (LoginUtility.getAccountStatus() == 0); 0 means account is banned and 1 means an account is locked. So you can this for both locked and banned accounts. You can also access the try again button using Dreambot's API (no need for rectangle) by using the following: LoginUtility.getTryAgainButton(); Hope this helps. Link to comment Share on other sites More sharing options...
bebeli555 8 Author Share Posted October 15, 2020 . Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.