dirtrider478 12 Share Posted July 22, 2020 Trying to get some numbers to figure out the state the client is in when its at the log in screen after an account has been disconnected. For instance when the client has been freshly loaded without logging in comes back as (0) example- if (getClient().getLoginIndex() == 0) { getMouse().click(existingUser); sleepUntil(() -> getClient().getLoginIndex() != 0, 5000); What is the index number for when you disconnected and the main login is not visible or is there an easy way to see the client log in state from the debug tab some how? Link to comment Share on other sites More sharing options...
Pseudo 179 Share Posted July 23, 2020 Take a look at the LoginStage class fam, you can find info on it on the jdocs. Link to comment Share on other sites More sharing options...
NovaGTX 106 Share Posted July 23, 2020 There's this magical function called "log()" that allows you to find things yourself log("Index: " + getClient().getLoginIndex()); Link to comment Share on other sites More sharing options...
dirtrider478 12 Author Share Posted July 24, 2020 9 hours ago, NovaGTX said: There's this magical function called "log()" that allows you to find things yourself log("Index: " + getClient().getLoginIndex()); worked like a charm thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.