Raised This Month: $51 Target: $400
 12% 

[L4D2] Heal Revive Exploit Bug Fix (1.5) [11-Dec-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
5626
Plugin Version:
1.5
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    30 
    Plugin Description:
    Prevents survivors self healing and reviving players at the same time
    Old 05-18-2017 , 00:02   [L4D2] Heal Revive Exploit Bug Fix (1.5) [11-Dec-2022]
    Reply With Quote #1

    Info:
    • This shouldn't be required for L4D1. The Engine seems to have it fixed, on revive the healing is stopped.


    Thanks:

    CVars:

    PHP Code:
    // Heal Revive Exploit Bug Fix plugin version.
    l4d_heal_revive_fix 

    Changes:
    Code:
    1.4a (09-Jul-2021)
        - L4D2: GameData file updated. Thanks to "Crasher_3637" for updating.
    
    1.4 (10-May-2020)
        - Added better error log message when gamedata file is missing.
        - Various changes to tidy up code.
    
    1.3 (26-Jun-2018)
        - Fixed invalid entity error - Thanks to "midnight9" for reporting.
    
    1.2 (05-May-2018)
        - Converted plugin source to the latest syntax utilizing methodmaps. Requires SourceMod 1.8 or newer.
    
    1.1 (28-Jun-2017)
        - Converted to new syntax.
        - Now only supports L4D2.
    
    1.0 (18-May-2017)
        - Initial release.

    Installation:
    1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
    2. Download the .txt gamedata file and put into your servers \addons\sourcemod\gamedata\ folder.
    Attached Files
    File Type: txt l4d_revive_end.txt (778 Bytes, 766 views)
    File Type: sp Get Plugin or Get Source (l4d_heal_revive_fix.sp - 441 views - 4.3 KB)
    __________________

    Last edited by Silvers; 12-11-2022 at 04:44.
    Silvers is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 05-19-2017 , 00:34   Re: [L4D & L4D2] Heal Revive Exploit Bug Fix (1.0) [18-May-2017]
    Reply With Quote #2

    First to reply. Hehe, Silver, I noticed that:

    Quote:
    Originally Posted by Silvers View Post
    CVars:

    PHP Code:
    // Knife Unlock plugin version. -> Typo?
    l4d_heal_revive_fix 
    Also, tested this on both L4D1 and L4D2 windows. It works like a charm! Nice release!

    Last edited by cravenge; 05-19-2017 at 01:30.
    cravenge is offline
    SEGA EMPRESS ERIS
    Senior Member
    Join Date: Sep 2010
    Location: THE-MILKY-WAY-GALAXY
    Old 05-23-2017 , 01:17   Re: [L4D & L4D2] Heal Revive Exploit Bug Fix (1.0) [18-May-2017]
    Reply With Quote #3

    Ok I tested this under Linux L4D2 from gameservers.com server which is a Linux L4D2 Dedicated. Anyway the block works properly on bots however on human survivors that are down it just blocks 1 time then still resumes picking up the survivor even while healing. Could you possibly fix under linux?

    Reason im using linux is All 8 L4D2 Survivors work under linux. If im not mistaken Zoey was broke on Windows where as before it was Bill then later they were all fixed under linux l4d2.
    __________________

    Last edited by SEGA EMPRESS ERIS; 05-23-2017 at 01:31.
    SEGA EMPRESS ERIS is offline
    JohnnyDave255
    Member
    Join Date: May 2017
    Location: Philippines
    Old 05-23-2017 , 05:13   Re: [L4D & L4D2] Heal Revive Exploit Bug Fix (1.0) [18-May-2017]
    Reply With Quote #4

    Is this like a Self Revive plugin? Just only asking
    __________________
    https://forums.alliedmods.net/signaturepics/sigpic279390_1.gif
    >>>Johnny Dave<<<
    JohnnyDave255 is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 05-23-2017 , 07:40   Re: [L4D & L4D2] Heal Revive Exploit Bug Fix (1.0) [18-May-2017]
    Reply With Quote #5

    Quote:
    Originally Posted by XJR15 View Post
    Ok I tested this under Linux L4D2 from gameservers.com server which is a Linux L4D2 Dedicated. Anyway the block works properly on bots however on human survivors that are down it just blocks 1 time then still resumes picking up the survivor even while healing. Could you possibly fix under linux?

    Reason im using linux is All 8 L4D2 Survivors work under linux. If im not mistaken Zoey was broke on Windows where as before it was Bill then later they were all fixed under linux l4d2.
    Find "0.1" in the code (without quotes) and change to 0.5 or something. See if that works.

    The plugin detects revive start, after the above number of seconds (0.5), it checks if the user is healing themselves, and if so stops the revive.
    __________________
    Silvers is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 05-25-2017 , 05:25   Re: [L4D & L4D2] Heal Revive Exploit Bug Fix (1.0) [18-May-2017]
    Reply With Quote #6

    Whoops, my bad. It's my fault for posting too soon.

    Silvers, I wondered why you used the L4D2 signature for L4D1 in the gamedata. They aren't the same plus this plugin is not needed in L4D1 since the 1.0.3.1 update. It looks like Valve already fixed it.

    Also, a suggestion: Hook "heal_start" so that way, the plugin can check both actions but I think there may be a downside and that's an unexpected crash caused by constantly calling the signature.

    Last edited by cravenge; 05-25-2017 at 05:46.
    cravenge is offline
    midnight9
    Senior Member
    Join Date: Nov 2012
    Old 06-26-2018 , 11:41   Re: [L4D2] Heal Revive Exploit Bug Fix (1.2) [05-May-2018]
    Reply With Quote #7

    Hey, any idea how to fix that?
    Code:
    L 06/25/2018 - 19:45:46: SourceMod error session started
    L 06/25/2018 - 19:45:46: Info (map "c2m1_highway") (file "errors_20180625.log")
    L 06/25/2018 - 19:45:46: [SM] Native "GetEntPropEnt" reported: Entity 3 (3) is invalid
    L 06/25/2018 - 19:45:46: [SM] Displaying call stack trace for plugin "l4d_heal_revive_fix.smx":
    L 06/25/2018 - 19:45:46: [SM]   [0]  Line 77, /home/forums/content/files/8/5/7/7/8/162841.attach::TmrBlock()
    L 06/25/2018 - 19:53:20: Error log file session closed.
    midnight9 is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-26-2018 , 12:11   Re: [L4D2] Heal Revive Exploit Bug Fix (1.2) [05-May-2018]
    Reply With Quote #8

    Quote:
    Originally Posted by midnight9 View Post
    *snip*
    Updated:

    Quote:
    1.3 (26-Jun-2018)
    - Fixed invalid entity error - Thanks to "midnight9" for reporting.
    __________________

    Last edited by Silvers; 06-26-2018 at 12:11. Reason: smilies in date
    Silvers is offline
    midnight9
    Senior Member
    Join Date: Nov 2012
    Old 06-26-2018 , 12:52   Re: [L4D2] Heal Revive Exploit Bug Fix (1.2) [05-May-2018]
    Reply With Quote #9

    Quote:
    Originally Posted by Silvers View Post
    Updated:
    Awesome, thanks
    midnight9 is offline
    tRololo312312
    Senior Member
    Join Date: Apr 2015
    Old 07-08-2021 , 17:50   Re: [L4D2] Heal Revive Exploit Bug Fix (1.4) [10-May-2020]
    Reply With Quote #10

    [SM] Exception reported: Unable to find the "CTerrorPlayer::StopRevivingSomeone" signature.

    Windows.
    tRololo312312 is offline
    Reply



    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 03:07.


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