ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.75k stars 630 forks source link

[CS 1.6 - Bug] kick with reason "CMD_MAXBACKUP hit" #660

Closed ghost closed 11 years ago

ghost commented 11 years ago
Counter-Strike 1.6 Beta update released
posted by alfred @ 05:41AM on March 01, 2013
We have released a Beta update for Counter-Strike 1.6. 
Changes in this update are: 
...
Increased default cl_cmdrate value to 60 
Increased default cl_updaterate value to 60

I start a local HLDS, join on it, then I restart the server with restart command, and client gets kicked off with CMD_MAXBACKUP hit message server console:

217.4 fps  0/21 on         de_dust2
Console initialized.
Protocol version 48
Exe version 1.1.2.7 (cstrike)
Exe build: 14:59:51 Feb 13 2013 (5956)
STEAM Auth Server
Server logging data to file logs\L0301000.log
L 03/01/2013 - 09:09:20: Log file started (file "logs\L0301000.log") (game "cstrike") (version "48/1.1.2.7/5956")
Server IP address 95.24.133.24:27016
L 03/01/2013 - 09:09:20: Loading map "de_dust2"
couldn't exec listip.cfg
couldn't exec banned.cfg
Connection to Steam servers successful.
   VAC secure mode is activated.
L 03/01/2013 - 09:09:28: "NeoXidizer<1><STEAM_0:1:29437217><>" connected, address "95.24.133.24:27005"
L 03/01/2013 - 09:09:28: "NeoXidizer<1><STEAM_0:1:29437217><>" STEAM USERID validated
L 03/01/2013 - 09:09:30: "NeoXidizer<1><STEAM_0:1:29437217><>" entered the game
Firing: (game_playerjoin)
Firing: (game_playerspawn)
L 03/01/2013 - 09:09:30: World triggered "Round_Start"
L 03/01/2013 - 09:09:31: "NeoXidizer<1><STEAM_0:1:29437217><>" joined team "CT"
Firing: (game_playerspawn)
restart
Firing: (game_playerleave)
L 03/01/2013 - 09:09:33: "NeoXidizer<1><STEAM_0:1:29437217><CT>" disconnected
L 03/01/2013 - 09:09:33: World triggered "Round_Draw" (CT "0") (T "0")
L 03/01/2013 - 09:09:33: World triggered "Round_End"
L 03/01/2013 - 09:09:33: Log file closed
Server logging data to file logs\L0301002.log
L 03/01/2013 - 09:09:33: Log file started (file "logs\L0301002.log") (game "cstrike") (version "48/1.1.2.7/5956")
L 03/01/2013 - 09:09:33: Loading map "de_dust2"
L 03/01/2013 - 09:09:34: Started map "de_dust2" (CRC "1159425449")
SV_ReadClientMessage: too many cmds 31 sent for NeoXidizer/95.24.133.24:27005
Dropped NeoXidizer from server
Reason:  CMD_MAXBACKUP hit
SV_ReadClientMessage: badread
L 03/01/2013 - 09:09:41: World triggered "Round_Start"
sv_maxupdaterate
"sv_maxupdaterate" is "30.0"

client output:

Connecting to 95.24.133.24:27016...
Connection accepted by 95.24.133.24:27016

BUILD 5956 SERVER (0 CRC)
Server # 1
Serverinfo packet received.
Clearing memory
Remote host:  Counter-Strike 1.6 Server
Spooling demo header.
"sv_cheats" changed to "0"
Verifying and downloading resources...
loading maps/de_dust2.bsp
Using WAD File: halflife.wad
Using WAD File: decals.wad
Using WAD File: cs_dust.wad
Texture load:   22.1ms
Setting up renderer...
SKY:  desrt, desbk, deslf, desft, desup, desdn, done
CL_SignonReply: 1
121.6 megabyte data cache
CL_SignonReply: 2
NeoXidizer connected
NeoXidizer is joining the Counter-Terrorist force
Scoring will not start until both teams have players

BUILD 5956 SERVER (0 CRC)
Server # 2
Serverinfo packet received.
Clearing memory
Remote host:  Counter-Strike 1.6 Server
Spooling demo header.
"sv_cheats" changed to "0"
Verifying and downloading resources...
loading maps/de_dust2.bsp
Using WAD File: halflife.wad
Using WAD File: decals.wad
Using WAD File: cs_dust.wad
Texture load:    6.4ms
Setting up renderer...
SKY:  desrt, desbk, deslf, desft, desup, desdn, done
CMD_MAXBACKUP hit
Host_EndGame: Server disconnected

Netchan_Clear() : reliable length not 0, reliable_sequence: 128, incoming_reliable_acknowledged: 1

] cl_updaterate 
"cl_updaterate" is "102"
] rate
"rate" is "100000"
] cl_cmdbackup 
"cl_cmdbackup" is "2"
] cl_cmdrate 
"cl_cmdrate" is "105"
] version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 16:01:13 Feb 28 2013 (5971)

Everything was working yeasterday

Also, the problem appears on changelevel

AnAkkk commented 11 years ago

Are you sure that's not a plugin with the server you're playing on?

BTW @alfred-valve it might be a good idea to remove cl_cmdbackup like on Source engine, so players don't mess with it.

ghost commented 11 years ago

@AnAkIn1 I'm sure. For tests I use a clean (no plugins, no metamod, no nothing) server downloaded via SteamCMD.

] version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 16:01:13 Feb 28 2013 (5971)
zp commented 11 years ago

Server needs to be updated again, been seeing this on a server I play regularly on.

Tried my local linux steamcmd hlds and saw it also, went away after I updated (app_update 90 validate) my local hlds though.

Server version should also be version 5971. (not sure if server 5971 is a beta though, I probably opted in to the beta on my local hlds)

edit: yeah, server 5971 is a beta opt in, maybe they'll push all the beta changes to release today.

ghost commented 11 years ago

It happens on all servers.

alfred-valve commented 11 years ago

I increased the max pending move commands you could send with the last beta updates, servers will also need to update to allow the same number (that beta update will be out today). Running on a listen server should work so I will work out what is going wrong with that.

AnAkkk commented 11 years ago

@alfred-valve : Is there any point to change cl_cmdbackup value?

ghost commented 11 years ago

@alfred-valve Everything is fine on listenserver. Is it possible to write some back-compatibility code? I don't think that server admins will know about SteamCMD and update their servers in a short period of time. I get kick on all servers when a map is changing, old ones, new ones, it doesn't matter. Or force everyone to update their servers: https://github.com/ValveSoftware/halflife/issues/665#issuecomment-14297981