csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

Getting kicked during initial connect makes you unable to join any servers until the game is restarted

Open sapphyrus opened this issue 4 years ago • 1 comments

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:

  1. 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.
  2. 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).
  3. Fully join a local or lan server, this sets your reservation cookie to 0.
  4. Try connecting to the same server again, this time the connection will succeed.

sapphyrus avatar Jun 22 '21 13:06 sapphyrus

hey sapphyrus

picocode1 avatar May 04 '22 18:05 picocode1

is there a command to reset the reservation key?

ConteXCrown avatar Nov 23 '22 09:11 ConteXCrown