AnArChon 1 Share Posted March 8, 2019 (edited) Hi, I'm trying to figure out how to see if an account has been banned or locked. There are no widgets on the login screen to read from and really can't figure any other way to do so. Any ideas? Edited March 8, 2019 by AnArChon Link to comment Share on other sites More sharing options...
ozeki6 32 Share Posted March 8, 2019 3 hours ago, AnArChon said: Hi, I'm trying to figure out how to see if an account has been banned or locked. There are no widgets on the login screen to read from and really can't figure any other way to do so. Any ideas? The login(...) method from LoginUtility class returns a response object. You can check using the response if account is locked/banned etc... AnArChon 1 Link to comment Share on other sites More sharing options...
AnArChon 1 Author Share Posted March 8, 2019 4 minutes ago, ozeki6 said: The login(...) method from LoginUtility class returns a response object. You can check using the response if account is locked/banned etc... Thanks a lot! Link to comment Share on other sites More sharing options...
NovaGTX 106 Share Posted March 8, 2019 Unfortunately, there's no way to currently distinguish between locked and disabled. You can tell if either one has occurred but you cannot differentiate the two due to the fact that the LoginResponse now is the same value. Link to comment Share on other sites More sharing options...
Bmc 23 Share Posted March 9, 2019 6 hours ago, NovaGTX said: Unfortunately, there's no way to currently distinguish between locked and disabled. You can tell if either one has occurred but you cannot differentiate the two due to the fact that the LoginResponse now is the same value. can you check the contents of the widget object for specific text? Link to comment Share on other sites More sharing options...
Ben 72 Share Posted March 9, 2019 You can force it to go back to login screen Link to comment Share on other sites More sharing options...
NovaGTX 106 Share Posted March 9, 2019 5 hours ago, Bmc said: can you check the contents of the widget object for specific text? There are no corresponding widgets for the login screen. Link to comment Share on other sites More sharing options...
NovaGTX 106 Share Posted March 9, 2019 Also, I take back what I said before about "there's no way to currently distinguish between locked and disabled" That's not entirely true. There's no method or function already provided by the API. You could easily check the Color for a given spot using ColorPicker getColorAt(int x, int y) AnArChon 1 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