Skip to content

Commit 002e01f

Browse files
committed
fix: update networking setting defaults
pending explanation
1 parent 96b2d52 commit 002e01f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/engine/cl_bounded_cvars.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class CBoundedCvar_CmdRate : public ConVar_ServerBounded
7272
CBoundedCvar_CmdRate() :
7373
ConVar_ServerBounded(
7474
"cl_cmdrate",
75-
"30",
75+
"66",
7676
FCVAR_ARCHIVE | FCVAR_USERINFO,
7777
"Max number of command packets sent to server per second", true, MIN_CMD_RATE, true, MAX_CMD_RATE )
7878
{
@@ -119,7 +119,7 @@ class CBoundedCvar_UpdateRate : public ConVar_ServerBounded
119119
CBoundedCvar_UpdateRate() :
120120
ConVar_ServerBounded(
121121
"cl_updaterate",
122-
"20",
122+
"66",
123123
FCVAR_ARCHIVE | FCVAR_USERINFO | FCVAR_NOT_CONNECTED,
124124
"Number of packets per second of updates you are requesting from the server" )
125125
{

src/engine/net.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// Flow control bytes per second limits
2222
#define MAX_RATE (1024*1024)
2323
#define MIN_RATE 1000
24-
#define DEFAULT_RATE 80000
24+
#define DEFAULT_RATE 131072
2525

2626
#define SIGNON_TIME_OUT 300.0f // signon disconnect timeout
2727

src/engine/net_chan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ static ConVar net_maxfilesize( "net_maxfilesize", "16", 0, "Maximum allowed file
4444
static ConVar net_compresspackets( "net_compresspackets", "1", 0, "Use compression on game packets." );
4545
static ConVar net_compresspackets_minsize( "net_compresspackets_minsize", "1024", 0, "Don't bother compressing packets below this size." );
4646
static ConVar net_maxcleartime( "net_maxcleartime", "4.0", 0, "Max # of seconds we can wait for next packets to be sent based on rate setting (0 == no limit)." );
47-
static ConVar net_maxpacketdrop( "net_maxpacketdrop", "5000", 0, "Ignore any packets with the sequence number more than this ahead (0 == no limit)" );
47+
static ConVar net_maxpacketdrop( "net_maxpacketdrop", "0", 0, "Ignore any packets with the sequence number more than this ahead (0 == no limit)" );
4848

4949
extern ConVar net_maxroutable;
5050

src/game/client/cdll_bounded_cvars.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class CBoundedCvar_Interp : public ConVar_ServerBounded
9999
public:
100100
CBoundedCvar_Interp() :
101101
ConVar_ServerBounded( "cl_interp",
102-
"0.1",
102+
"0.03",
103103
FCVAR_USERINFO | FCVAR_NOT_CONNECTED | FCVAR_ARCHIVE,
104104
"Sets the interpolation amount (bounded on low side by server interp ratio settings).", true, 0.0f, true, 0.5f )
105105
{

0 commit comments

Comments
 (0)