View Single Post
crasx
Member
Join Date: May 2011
Location: Lakewood, CO
Old 07-11-2013 , 22:22   Re: [EXTENSION] Left 4 Downtown 2 (0.5.4.2) - L4D2 Only, Updated Left4Downtown
Reply With Quote #517

Does anybody have the correct ConnectClientLobbyCheck? and offset?
I got:
PHP Code:
        /* Not an actual function,
               this is inside CBaseServer::ConnectClient (a jz instruction)
               
               use it to remove skippable code when sv_allow_lobby_connect 0
               */
            
"ConnectClientLobbyCheck"
            
{
                
/* look for "#Valve_Reject_Server_Full" */
                
"library"    "engine"
                "linux"        "\x8B\x2A\x2A\x2A\x00\x00\x85\x2A\x74\x2C"
                               
/* 8B ? ? ? 00 00 85 ? 74 2C */
                
"windows"    "\x83\xBE\x2A\x2A\x2A\x2A\x2A\x74\x2A\x8B\x55\x2A\x8B\x06\x8B\x7A"
                
/* 83 BE ? ? ? ? ? 74 ? 8B 55 ? 8B 06 8B 7A ? */            
            
}
                
            
/* Offset from ConnectClientLobbyCheck to cmp with max players check
               
               string #Valve_Reject_Server_Full
             */
            
"ValveRejectServerFullFirst"
            
{
                
"windows"    "37"  /* cmp eax, [esi+180h] -> cmp eax, imm32 */ 
                
"linux"        "42"  /* cmp edi, [esi+17ch] -> cmp edi, imm32 */
            

but nobody can join.
crasx is offline