View Single Post
microleo
Junior Member
Join Date: Dec 2015
Old 10-11-2017 , 06:46   Re: [EXTENSION] [L4D2] Defibrillator Bug Fix (on servers higher than 8 players) [1.0.
Reply With Quote #235

Quote:
Originally Posted by Uncle Jessie View Post
2.1.4.7

Somebody already found the new sig?
For ver:2149
PHP Code:
"Games"
{
    
"left4dead2"
    
{
        
"Signatures"
        
{
            
"GetPlayerByCharacter"
            
{
                
"library"    "server"
                "linux"        "@_ZN13CTerrorPlayer20GetPlayerByCharacterE21SurvivorCharacterType"
                "windows"    "\x55\x8B\xEC\x8B\x45\x2A\x83\xEC\x2A\x83\xF8\x2A\x75\x06"
                
/* 2149: No change */
/*
.text:102F0D70 55                                      push    ebp
.text:102F0D71 8B EC                                   mov     ebp, esp
.text:102F0D73 8B 45 08                                mov     eax, [ebp+arg_0]
.text:102F0D76 83 EC 08                                sub     esp, 8
.text:102F0D79 83 F8 08                                cmp     eax, 8
.text:102F0D7C 75 06                                   jnz     short loc_102F0D84
.text:102F0D7E 33 C0                                   xor     eax, eax
.text:102F0D80 8B E5                                   mov     esp, ebp
.text:102F0D82 5D                                      pop     ebp
.text:102F0D83 C3
*/
            
}
            
"DefibrillatorOnStartAction"
            
{
                
"library"    "server"
                "windows"    "\x55\x8B\xEC\xD9\xEE\x53\x56\x57\x8B\x7D\x0C\x6A\x00"
                "linux"        "@_ZN18CItemDefibrillator13OnStartActionEN17CBaseBackpackItem22BackpackItemActionTypeEP13CTerrorPlayerP11CBaseEntityf"
                
/* 2149: No change */
/*
.text:103BC580 55                                      push    ebp
.text:103BC581 8B EC                                   mov     ebp, esp
.text:103BC583 D9 EE                                   fldz
.text:103BC585 53                                      push    ebx
.text:103BC586 56                                      push    esi
.text:103BC587 57                                      push    edi
.text:103BC588 8B 7D 0C                                mov     edi, [ebp+arg_4]
.text:103BC58B 6A 00                                   push    0
.text:103BC58D 51                                      push    ecx
.text:103BC58E D9 1C 24                                fstp    [esp+14h+var_14]
.text:103BC591 68 74 0F 6A 10                          push    offset aDefibrillato_0 ; "Defibrillator.UseStart"
.text:103BC596 8B CF                                   mov     ecx, edi
.text:103BC598 E8 F3 5F E1 FF                          call    sub_101D2590
.text:103BC59D 8B 37
*/
            
}
            
"DefibrillatorOnActionComplete"
            
{
                
"library"    "server"
                "windows"    "\x55\x8B\xEC\x83\xEC\x34\x53\x56\x8B\xF1\x8A\x86"
                "linux"        "@_ZN18CItemDefibrillator16OnActionCompleteEP13CTerrorPlayerP11CBaseEntity"
                
/*2149 changed*/
                /* enough:55 8B EC 83 EC 34 53 56 8B F1 8A 86 */
                /*           55 8B EC 83 EC 34 53 56 8B F1 8A 86 ? ? ? ? 57 6A 00*/
/*
.text:10308B00 55                                      push    ebp
.text:10308B01 8B EC                                   mov     ebp, esp
.text:10308B03 83 EC 34                                sub     esp, 34h
.text:10308B06 53                                      push    ebx
.text:10308B07 56                                      push    esi
.text:10308B08 8B F1                                   mov     esi, ecx
.text:10308B0A 8A 86 01 40 00 00                       mov     al, [esi+4001h]
.text:10308B10 57                                      push    edi
.text:10308B11 6A 00                                   push    0
.text:10308B13 88 45 FF                                mov     [ebp+var_1], al
.text:10308B16 C6 86 34 40 00 00 01                    mov     byte ptr [esi+4034h], 1
.text:10308B1D E8 8E 70 F3 FF                          call    sub_1023FBB0
.text:10308B22 8B 16                                   mov     edx, [esi]
.text:10308B24 8B 42 5C                                mov     eax, [edx+5Ch]
.text:10308B27 8B CE                                   mov     ecx, esi
.text:10308B29 FF D0                                   call    eax
.text:10308B2B 8B 5D 0C                                mov     ebx, [ebp+arg_4]
.text:10308B2E C6 86 34 40 00 00 00                    mov     byte ptr [esi+4034h], 0
.text:10308B35 8B 8B 38 01 00 00                       mov     ecx, [ebx+138h]
.text:10308B3B C1 E9 0B                                shr     ecx, 0Bh
.text:10308B3E F6 C1 01                                test    cl, 1
.text:10308B41 74 07                                   jz      short loc_10308B4A
.text:10308B43 8B CB                                   mov     ecx, ebx
.text:10308B45 E8 36 EE D4 FF                          call    sub_10057980
*/
            
}
            
"CSurvivorDeathModel::Create"
            
{
                
"library"    "server"
                "windows"    "\x55\x8B\xEC\x57\x8B\x7D\x08\x85\xFF\x75\x05\x33\xC0\x5F\x5D\xC3\x8B\x87"
                "linux"        "@_ZN19CSurvivorDeathModel6CreateEP13CTerrorPlayer"
                
/*55 8B EC 57 8B 7D 08 85 FF 75 05 33 C0 5F 5D C3 8B 87*/
                /* 2149: No change */
/*
.text:1030C060 55                                      push    ebp
.text:1030C061 8B EC                                   mov     ebp, esp
.text:1030C063 57                                      push    edi
.text:1030C064 8B 7D 08                                mov     edi, [ebp+arg_0]
.text:1030C067 85 FF                                   test    edi, edi
.text:1030C069 75 05                                   jnz     short loc_1030C070
.text:1030C06B 33 C0                                   xor     eax, eax
.text:1030C06D 5F                                      pop     edi
.text:1030C06E 5D                                      pop     ebp
.text:1030C06F C3                                      retn
.text:1030C070                         ; ---------------------------------------------------------------------------
.text:1030C070
.text:1030C070                         loc_1030C070:                           ; CODE XREF: sub_1030C060+
.text:1030C070 8B 87 38 01 00 00                       mov     eax, [edi+138h]
.text:1030C076 C1 E8 0B                                shr     eax, 0Bh
.text:1030C079 A8 01                                   test    al, 1
.text:1030C07B 74 07                                   jz      short loc_1030C084
.text:1030C07D 8B CF                                   mov     ecx, edi
.text:1030C07F E8 FC B8 D4 FF                          call    sub_10057980
*/
            
}
            
"CBaseEntity::SetAbsOrigin"
            
{
                
"library"    "server"
                "windows"    "\x55\x8b\xec\x83\xec*\xa1****\x33\xc5\x89\x45*\x56\x57\x8b\x7d\x08\x8b\xf1\xe8****\xf3\x0f\x10\x07"
                "linux"        "@_ZN11CBaseEntity12SetAbsOriginERK6Vector"
                
/* 2149: No change */
                /* 55 8B EC 83 EC 44 A1 ? ? ? ? 33 C5 89 45 FC 56 57 8B 7D */
/*
.text:10060530 55                                      push    ebp
.text:10060531 8B EC                                   mov     ebp, esp
.text:10060533 83 EC 44                                sub     esp, 44h
.text:10060536 A1 D8 82 7A 10                          mov     eax, ___security_cookie
.text:1006053B 33 C5                                   xor     eax, ebp
.text:1006053D 89 45 FC                                mov     [ebp+var_4], eax
.text:10060540 56                                      push    esi
.text:10060541 57                                      push    edi
.text:10060542 8B 7D 08                                mov     edi, [ebp+arg_0]
.text:10060545 8B F1                                   mov     esi, ecx
.text:10060547 E8 34 74 FF FF                          call    sub_10057980
.text:1006054C F3 0F 10 07                             movss   xmm0, dword ptr [edi]
.text:10060550 0F 2E 86 CC 02 00 00                    ucomiss xmm0, dword ptr [esi+2CCh]
.text:10060557 9F                                      lahf
.text:10060558 F6 C4 44                                test    ah, 44h
.text:1006055B 7A 28                                   jp      short loc_10060585
.text:1006055D F3 0F 10 47 04                          movss   xmm0, dword ptr [edi+4]
.text:10060562 0F 2E 86 D0 02 00 00                    ucomiss xmm0, dword ptr [esi+2D0h]
.text:10060569 9F                                      lahf
.text:1006056A F6 C4 44                                test    ah, 44h
.text:1006056D 7A 16                                   jp      short loc_10060585
.text:1006056F F3 0F 10 47 08                          movss   xmm0, dword ptr [edi+8]
.text:10060574 0F 2E 86 D4 02 00 00                    ucomiss xmm0, dword ptr [esi+2D4h]
.text:1006057B 9F                                      lahf
.text:1006057C F6 C4 44                                test    ah, 44h
.text:1006057F 0F 8B A7 01 00 00                       jnp     loc_1006072C
*/
            
}
        }
    }

microleo is offline