Raised This Month: $209 Target: $400
 52% 

[EXTENSION] [L4D2] Defibrillator Bug Fix (on servers higher than 8 players) [1.0.1]


Post New Thread Reply   
 
Thread Tools Display Modes
cravenge
Veteran Member
Join Date: Nov 2015
Location: Middle of Nowhere
Old 05-16-2017 , 21:47   Re: [EXTENSION] [L4D2] Defibrillator Bug Fix (on servers higher than 8 players) [1.0.
Reply With Quote #231

Quote:
Originally Posted by extrav3rt View Post
After 15 revives , penalty counter is reset to zero. Sad but true)
Right, I just tested this and it does reset the penalty counter to zero as long as the total number as defibrillators used reaches 15 and above.
__________________
cravenge is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Brexit
Old 06-22-2017 , 09:29   Re: [EXTENSION] [L4D2] Defibrillator Bug Fix (on servers higher than 8 players) [1.0.
Reply With Quote #232

Quote:
Originally Posted by cravenge View Post
Right, I just tested this and it does reset the penalty counter to zero as long as the total number as defibrillators used reaches 15 and above.
Tracking defibs used must be a 2bit integer
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 06-23-2017 , 07:49   Re: [EXTENSION] [L4D2] Defibrillator Bug Fix (on servers higher than 8 players) [1.0.
Reply With Quote #233

Quote:
Originally Posted by Lux View Post
Tracking defibs used must be a 2bit integer
wouldn't it be a 4bit integer?
2 bit: 11 (3)
4 bit: 1111 (15)
__________________
WildCard65 is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Brexit
Old 06-24-2017 , 00:40   Re: [EXTENSION] [L4D2] Defibrillator Bug Fix (on servers higher than 8 players) [1.0.
Reply With Quote #234

Quote:
Originally Posted by WildCard65 View Post
wouldn't it be a 4bit integer?
2 bit: 11 (3)
4 bit: 1111 (15)
Yea my bad, it's a nibble not half a nibble

Tracking defibs in versus is done with a 4bit int
but tracking in nonversus gamemodes is done with 32bit int weird
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
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
Newbie_Sexy
Member
Join Date: Aug 2016
Location: Vietnam
Old 12-09-2017 , 09:17   Re: [EXTENSION] [L4D2] Defibrillator Bug Fix (on servers higher than 8 players) [1.0.
Reply With Quote #236

Is the any update for 2149?
Newest Sm + Mm
__________________
I am a noob so... hope you guys will help me up
P/s .-. : My English is bad, i am good at Vietnamese
Newbie_Sexy is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 12-09-2017 , 23:04   Re: [EXTENSION] [L4D2] Defibrillator Bug Fix (on servers higher than 8 players) [1.0.
Reply With Quote #237

Quote:
Originally Posted by Newbie_Sexy View Post
Is the any update for 2149?
Newest Sm + Mm
This extension has been in maturity state for a long while now. Only updates you gonna see now would be, if it gets broken.

Is it broken?
__________________
Spirit_12 is offline
Newbie_Sexy
Member
Join Date: Aug 2016
Location: Vietnam
Old 12-30-2017 , 00:13   Re: [EXTENSION] [L4D2] Defibrillator Bug Fix (on servers higher than 8 players) [1.0.
Reply With Quote #238

Quote:
Originally Posted by Spirit_12 View Post
This extension has been in maturity state for a long while now. Only updates you gonna see now would be, if it gets broken.

Is it broken?
My knowledge is short so I don't know if it gets broken or not, i just seen this in my logs:
Code:
L 12/29/2017 - 22:30:39: SourceMod error session started
L 12/29/2017 - 22:30:39: Info (map "c1m1_hotel") (file "errors_20171229.log")
L 12/29/2017 - 22:30:39: [DefibFix] Sigscan for DefibrillatorOnStartAction failed - Disabling detour to prevent crashes
L 12/29/2017 - 22:30:39: [SM] Unable to load extension "defibfix.ext": Cannot SetupHooks or GetOffset.
__________________
I am a noob so... hope you guys will help me up
P/s .-. : My English is bad, i am good at Vietnamese

Last edited by Newbie_Sexy; 12-30-2017 at 00:13.
Newbie_Sexy is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 12-30-2017 , 03:24   Re: [EXTENSION] [L4D2] Defibrillator Bug Fix (on servers higher than 8 players) [1.0.
Reply With Quote #239

Quote:
Originally Posted by Newbie_Sexy View Post
My knowledge is short so I don't know if it gets broken or not, i just seen this in my logs:
Code:
L 12/29/2017 - 22:30:39: SourceMod error session started
L 12/29/2017 - 22:30:39: Info (map "c1m1_hotel") (file "errors_20171229.log")
L 12/29/2017 - 22:30:39: [DefibFix] Sigscan for DefibrillatorOnStartAction failed - Disabling detour to prevent crashes
L 12/29/2017 - 22:30:39: [SM] Unable to load extension "defibfix.ext": Cannot SetupHooks or GetOffset.
It means your gamedata file is old. Need to update it. Grab it from my github repo.
__________________
Spirit_12 is offline
mikaelangelis
Senior Member
Join Date: Oct 2017
Old 07-20-2018 , 02:23   Re: [EXTENSION] [L4D2] Defibrillator Bug Fix (on servers higher than 8 players) [1.0.
Reply With Quote #240

does not work. still player teleport to clone when revives.
mikaelangelis is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:47.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode