csgo-osx-linux
csgo-osx-linux copied to clipboard
Getting kicked during initial connect makes you unable to join any servers until the game is restarted
Please describe your issue in as much detail as possible:
If you get kicked in CBaseServer::ConnectClient while connecting to a server your client's reservation cookie isn't reset to 0, which makes you unable to join any non-lan servers until you either restart your game or cause your reservation cookie to reset in another way. From what I can tell the fix is simply to clear the reservation cookie in CBaseClientState::Disconnect.
Steps for reproducing this issue:
- Connect to a community server that is either full, password protected or in lan-only mode (sv_lan 1 or no GSLT set). You will get disconnected during the initial connection.
- Try to connect to a non-lan server where none of the connections above apply.
You will get kicked for
"You may only connect to this server from a lobby."(#Valve_Reject_Connect_From_Lobby). - Fully join a local or lan server, this sets your reservation cookie to 0.
- Try connecting to the same server again, this time the connection will succeed.
hey sapphyrus
is there a command to reset the reservation key?