RuneMate / Issues

Client and API Issue tracking. See README for more information.
8 stars 0 forks source link

Have RM Client Exit on Invalid Login Credentials / Failed Bot Start #63

Open austin-millan opened 5 years ago

austin-millan commented 5 years ago

Is your feature request related to a problem? Please describe.

It was mentioned in Slack that having the client exit when invalid login credentials are provided during launch would be beneficial.

Even better if it fails when credentials are invalid and if the bot can't start for whatever reason (like bot not in inventory).

Describe the solution you'd like

If RuneMate.jar file is invoked with invalid login credentials, instead of the client program remaining open and displaying "The requested user {USER} could not be found" in the GUI, it should exit with an appropriate warning to the console/shell it was invoked from. This would be beneficial since there's no error/warning sent to stdout that indicates invalid credentials were used.

The RuneMate client could also exit due to other issues with the invocation arguments:

Describe alternatives you've considered

Currently the only alternative I've used is to exit using the GUI.

Additional context

Here's a screenshot of the RuneMate client and the shell not indicating that the credentials were invalid:

screenshot_1