Fixed dedicated build

This commit is contained in:
unknown 2024-08-23 23:54:59 +02:00
parent 9d8cdc284a
commit 5ad83143c0
4 changed files with 5 additions and 5 deletions

View file

@ -1437,7 +1437,7 @@ void CBaseClient::UpdateUserSettings()
SetRate( rate, false );
// set server to client update rate
SetUpdateRate( m_ConVars->GetInt( "cl_updaterate", 60), false );
SetUpdateRate( m_ConVars->GetInt( "cl_updaterate", 100), false );
SetMaxRoutablePayloadSize( m_ConVars->GetInt( "net_maxroutable", MAX_ROUTABLE_PAYLOAD ) );

View file

@ -2337,7 +2337,7 @@ int NET_SendLong( INetChannel *chan, int sock, SOCKET s, const char FAR * buf, i
// Output : void NET_SendPacket
//-----------------------------------------------------------------------------
ConVar net_force_compression("net_force_compression", "1");
ConVar net_force_compression("net_force_compression", "0");
int NET_SendPacket ( INetChannel *chan, int sock, const netadr_t &to, const unsigned char *data, int length, bf_write *pVoicePayload /* = NULL */, bool bUseCompression /*=false*/ )
{

View file

@ -250,7 +250,7 @@ steam_no_good:
WarningAndLog( "*********************************************************\n" );
#endif
m_eServerMode = eServerModeNoAuthentication;
sv_lan.SetValue( true );
sv_lan.SetValue( false );
return;
}
Init(); // Steam API context init

View file

@ -54,8 +54,8 @@ public:
bool BSecure() { return SteamGameServer() && SteamGameServer()->BSecure(); }
bool BIsActive() { return SteamGameServer() && ( m_eServerMode >= eServerModeNoAuthentication ); }
bool BLanOnly() const { return m_eServerMode == eServerModeNoAuthentication; }
bool BWantsSecure() { return m_eServerMode == eServerModeAuthenticationAndSecure; }
bool BLanOnly() const { return false; }
bool BWantsSecure() { return false; }
bool BLoggedOn() { return SteamGameServer() && SteamGameServer()->BLoggedOn(); }
bool CompareUserID( const USERID_t & id1, const USERID_t & id2 );
const CSteamID& GetGSSteamID();