Open KimLS opened 2 weeks ago
There was some question of approach here, Akkadius wanted a back off timer but the more I thought about it the more it seemed like if we're getting fatal errors from login: do we even want to try reconnecting? My thought was no; if we still want to put the work into the exponential backoff instead we can but it's not simple.
Looks good but I need to test this yet
Description
When connecting to Legacy Login Servers with bad login info you will get a fatal error back from the server. It will then disconnect you triggering the reconnect code to trigger. This changes the logic slightly to prevent this from happening. If we get a fatal error from the server, we disconnect on the world side instead of waiting for login to do it and then do not attempt to reconnect.
Fixes # (issue)
Type of change
Testing
I've run it locally there aren't many cases to test.
Clients tested:
This does not affect clients it is between world -> login.
Checklist