-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TEST] network relogin #2809
base: master
Are you sure you want to change the base?
[TEST] network relogin #2809
Conversation
…ed out of world to fix discussed bugs
Update: With 71c27fe , I am still able to repro the 'client repeatedly tries to log into world very rapidly' bug using a new set of repro steps:
At this point, since ThwargLauncher will be connecting on a new port, it will get a new session, instead of the existing one. So the new session won't be in 'WorldConnected' state, so it won't hit any of that logic It will however, hit this logic in AuthenticationHandler, on line 176:
Thinking maybe this logic should be moved to NetworkManager.LoginRequest perhaps? |
With the revised implementation in 593cc5f, the previous bug is fixed |
fixing gap for players not in world
# Conflicts: # Source/ACE.Server/Network/Handlers/AuthenticationHandler.cs
Repro steps:
Expected:
Actual:
There are some odd issues with this PR, namely if you try this multiple times, the existing Player state will get into an odd loop, where the Session is disconnected, but the Player is still saving on the landblock or something..
This can be seen after multiple retries, or using /pktimer sometimes helps. The previous session will go into 'SessionTerminating' state, and then be dropped, while the previous player still seems to be in the world. This allows the new session to connect to the char select screen, but then gets into an automatic loop when trying to log into the world, until the existing player is finally logged out.
Could use @fartwhif 's help on this one