Fixed dedicated build
This commit is contained in:
parent
9d8cdc284a
commit
5ad83143c0
4 changed files with 5 additions and 5 deletions
|
@ -1437,7 +1437,7 @@ void CBaseClient::UpdateUserSettings()
|
||||||
SetRate( rate, false );
|
SetRate( rate, false );
|
||||||
|
|
||||||
// set server to client update rate
|
// 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 ) );
|
SetMaxRoutablePayloadSize( m_ConVars->GetInt( "net_maxroutable", MAX_ROUTABLE_PAYLOAD ) );
|
||||||
|
|
||||||
|
|
|
@ -2337,7 +2337,7 @@ int NET_SendLong( INetChannel *chan, int sock, SOCKET s, const char FAR * buf, i
|
||||||
// Output : void NET_SendPacket
|
// 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*/ )
|
int NET_SendPacket ( INetChannel *chan, int sock, const netadr_t &to, const unsigned char *data, int length, bf_write *pVoicePayload /* = NULL */, bool bUseCompression /*=false*/ )
|
||||||
{
|
{
|
||||||
|
|
|
@ -250,7 +250,7 @@ steam_no_good:
|
||||||
WarningAndLog( "*********************************************************\n" );
|
WarningAndLog( "*********************************************************\n" );
|
||||||
#endif
|
#endif
|
||||||
m_eServerMode = eServerModeNoAuthentication;
|
m_eServerMode = eServerModeNoAuthentication;
|
||||||
sv_lan.SetValue( true );
|
sv_lan.SetValue( false );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Init(); // Steam API context init
|
Init(); // Steam API context init
|
||||||
|
|
|
@ -54,8 +54,8 @@ public:
|
||||||
|
|
||||||
bool BSecure() { return SteamGameServer() && SteamGameServer()->BSecure(); }
|
bool BSecure() { return SteamGameServer() && SteamGameServer()->BSecure(); }
|
||||||
bool BIsActive() { return SteamGameServer() && ( m_eServerMode >= eServerModeNoAuthentication ); }
|
bool BIsActive() { return SteamGameServer() && ( m_eServerMode >= eServerModeNoAuthentication ); }
|
||||||
bool BLanOnly() const { return m_eServerMode == eServerModeNoAuthentication; }
|
bool BLanOnly() const { return false; }
|
||||||
bool BWantsSecure() { return m_eServerMode == eServerModeAuthenticationAndSecure; }
|
bool BWantsSecure() { return false; }
|
||||||
bool BLoggedOn() { return SteamGameServer() && SteamGameServer()->BLoggedOn(); }
|
bool BLoggedOn() { return SteamGameServer() && SteamGameServer()->BLoggedOn(); }
|
||||||
bool CompareUserID( const USERID_t & id1, const USERID_t & id2 );
|
bool CompareUserID( const USERID_t & id1, const USERID_t & id2 );
|
||||||
const CSteamID& GetGSSteamID();
|
const CSteamID& GetGSSteamID();
|
||||||
|
|
Loading…
Reference in a new issue