mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-03 05:49:41 +03:00
Upload shitty multiplayer hacks
This commit is contained in:
@@ -569,7 +569,7 @@ bool CBaseClientState::PrepareSteamConnectResponse( uint64 unGSSteamID, bool bGS
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
#if !defined( NO_STEAM ) && !defined( SWDS )
|
||||
if ( !Steam3Client().SteamUser() )
|
||||
{
|
||||
@@ -577,8 +577,8 @@ bool CBaseClientState::PrepareSteamConnectResponse( uint64 unGSSteamID, bool bGS
|
||||
Disconnect( "#GameUI_ServerRequireSteam", true );
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif*/
|
||||
|
||||
netadr_t checkAdr = adr;
|
||||
if ( adr.GetType() == NA_LOOPBACK || adr.IsLocalhost() )
|
||||
{
|
||||
@@ -592,12 +592,14 @@ bool CBaseClientState::PrepareSteamConnectResponse( uint64 unGSSteamID, bool bGS
|
||||
|
||||
Steam3Client().GetAuthSessionTicket( steam3Cookie, sizeof(steam3Cookie), &steam3CookieLen, checkAdr.GetIPHostByteOrder(), checkAdr.GetPort(), unGSSteamID, bGSSecure );
|
||||
|
||||
/*
|
||||
if ( steam3CookieLen == 0 )
|
||||
{
|
||||
COM_ExplainDisconnection( true, "#GameUI_ServerRequireSteam" );
|
||||
Disconnect( "#GameUI_ServerRequireSteam", true );
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
|
||||
msg.WriteShort( steam3CookieLen );
|
||||
if ( steam3CookieLen > 0 )
|
||||
@@ -936,6 +938,7 @@ bool CBaseClientState::ProcessConnectionlessPacket( netpacket_t *packet )
|
||||
int authprotocol = msg.ReadLong();
|
||||
uint64 unGSSteamID = 0;
|
||||
bool bGSSecure = false;
|
||||
/*
|
||||
if ( authprotocol == PROTOCOL_STEAM )
|
||||
{
|
||||
if ( msg.ReadShort() != 0 )
|
||||
@@ -962,7 +965,7 @@ bool CBaseClientState::ProcessConnectionlessPacket( netpacket_t *packet )
|
||||
Disconnect( "#GameUI_ServerInsecure", true );
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
SendConnectPacket( challenge, authprotocol, unGSSteamID, bGSSecure );
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user