Skip to content

Commit c3417ca

Browse files
committed
engine: fix cmdrate/updaterate values
1 parent 67ef35b commit c3417ca

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

engine/baseclient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@ void CBaseClient::UpdateUserSettings()
14311431
SetRate( rate, false );
14321432

14331433
// set server to client update rate
1434-
SetUpdateRate( m_ConVars->GetInt( "cl_updaterate", 20), false );
1434+
SetUpdateRate( m_ConVars->GetInt( "cl_updaterate", 60), false );
14351435

14361436
SetMaxRoutablePayloadSize( m_ConVars->GetInt( "net_maxroutable", MAX_ROUTABLE_PAYLOAD ) );
14371437

engine/masterserver.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ void CMaster::RunFrame()
161161
{
162162
m_serverListResponse->RefreshComplete( NServerResponse::nServerFailedToRespond );
163163
StopRefresh();
164+
return;
164165
}
165166

166167
if( m_iServersResponded > 0 &&

engine/sv_client.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ static ConVar sv_timeout( "sv_timeout", "65", 0, "After this many seconds withou
4141
static ConVar sv_maxrate( "sv_maxrate", "0", FCVAR_REPLICATED, "Max bandwidth rate allowed on server, 0 == unlimited" );
4242
static ConVar sv_minrate( "sv_minrate", "3500", FCVAR_REPLICATED, "Min bandwidth rate allowed on server, 0 == unlimited" );
4343

44-
ConVar sv_maxupdaterate( "sv_maxupdaterate", "66", FCVAR_REPLICATED, "Maximum updates per second that the server will allow" );
45-
ConVar sv_minupdaterate( "sv_minupdaterate", "10", FCVAR_REPLICATED, "Minimum updates per second that the server will allow" );
44+
ConVar sv_maxupdaterate( "sv_maxupdaterate", "100", FCVAR_REPLICATED, "Maximum updates per second that the server will allow" );
45+
ConVar sv_minupdaterate( "sv_minupdaterate", "20", FCVAR_REPLICATED, "Minimum updates per second that the server will allow" );
4646

4747
ConVar sv_stressbots("sv_stressbots", "0", FCVAR_DEVELOPMENTONLY, "If set to 1, the server calculates data and fills packets to bots. Used for perf testing.");
4848
static ConVar sv_allowdownload ("sv_allowdownload", "1", 0, "Allow clients to download files");

engine/sv_main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ static ConVar sv_voicecodec( "sv_voicecodec", "vaudio_opus", 0,
218218
"steam - Use Steam voice API" );
219219

220220

221-
ConVar sv_mincmdrate( "sv_mincmdrate", "10", FCVAR_REPLICATED, "This sets the minimum value for cl_cmdrate. 0 == unlimited." );
222-
ConVar sv_maxcmdrate( "sv_maxcmdrate", "66", FCVAR_REPLICATED, "(If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate." );
221+
ConVar sv_mincmdrate( "sv_mincmdrate", "20", FCVAR_REPLICATED, "This sets the minimum value for cl_cmdrate. 0 == unlimited." );
222+
ConVar sv_maxcmdrate( "sv_maxcmdrate", "100", FCVAR_REPLICATED, "(If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate." );
223223
ConVar sv_client_cmdrate_difference( "sv_client_cmdrate_difference", "20", FCVAR_REPLICATED,
224224
"cl_cmdrate is moved to within sv_client_cmdrate_difference units of cl_updaterate before it "
225225
"is clamped between sv_mincmdrate and sv_maxcmdrate." );

0 commit comments

Comments
 (0)