Raised This Month: $32 Target: $400
 8% 

[L4D2] Hunter Pounce Damage (1.1d) [14-Nov-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6835
Plugin Version:
1.1d
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    8 
    Plugin Description:
    Patches the Hunter to enable bonus damage in all gamemodes.
    Old 12-01-2019 , 12:16   [L4D2] Hunter Pounce Damage (1.1d) [14-Nov-2021]
    Reply With Quote #1

    About:
    • Thanks to "XJR15" for the request.
    • Only required for L4D2.
    • By default the game only deals bonus Hunter Pounce damage in Versus games. This unlocks it for all gamemodes and bots.
    • To change the pounce range use [L4D2] Pounce Damage Uncap extension. Latest version found here.


    CVars:

    Saved to l4d2_pounce_damage.cfg in your servers \cfg\sourcemod\ folder.

    PHP Code:
    l4d2_pounce_damage_allow "1"         // 0=Plugin off, 1=Plugin on.
    l4d2_pounce_damage_version           // Hunter Pounce Damage plugin version. 


    Changes:
    Code:
    1.1d (14-Nov-2021)
        - Updated GameData signatures to avoid breaking when detoured by the "Left4DHooks" plugin.
    
    1.1c (09-Jul-2021)
        - L4D2: Fixed GameData file from the "2.2.2.0" game update.
    
    1.1b (16-Jun-2021)
        - Compatibility update for L4D2's "2.2.1.3" update.
        - GameData .txt file updated.
    
    1.1a (24-Sep-2020)
        - Compatibility update for L4D2's "The Last Stand" update.
        - GameData .txt file updated.
    
    1.1 (10-May-2020)
        - Added better error log message when gamedata file is missing.
    
    1.0 (01-Dec-2019)
        - 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 l4d2_pounce_damage.txt (1.1 KB, 649 views)
    File Type: sp Get Plugin or Get Source (l4d2_pounce_damage.sp - 1118 views - 6.6 KB)
    __________________

    Last edited by Silvers; 11-13-2021 at 21:57.
    Silvers is offline
    SEGA EMPRESS ERIS
    Senior Member
    Join Date: Sep 2010
    Location: THE-MILKY-WAY-GALAXY
    Old 12-02-2019 , 00:14   Re: [L4D2] Hunter Pounce Damage (1.0) [01-Dec-2019]
    Reply With Quote #2

    Tried this with min range 0 max range 1000 hunter pounce bonus damage 30 it would work good job, didnt find any bugs so far.
    __________________
    SEGA EMPRESS ERIS is offline
    Ein
    New Member
    Join Date: May 2020
    Old 05-01-2020 , 05:18   Re: [L4D2] Hunter Pounce Damage (1.0) [01-Dec-2019]
    Reply With Quote #3

    This is a great plugin that enhances the gameplay of L4D2!
    Is the specification that the damage received from the hunter is not displayed in the upper left? Blank after "Damage received from hunter:"
    Ein is offline
    SEGA EMPRESS ERIS
    Senior Member
    Join Date: Sep 2010
    Location: THE-MILKY-WAY-GALAXY
    Old 10-30-2020 , 16:01   Re: [L4D2] Hunter Pounce Damage (1.1) [10-May-2020]
    Reply With Quote #4

    https://forums.alliedmods.net/showth...84#post2722684

    this plugin needs a fix for linux its broken =(
    __________________

    Last edited by SEGA EMPRESS ERIS; 10-30-2020 at 16:01.
    SEGA EMPRESS ERIS is offline
    Shao
    Senior Member
    Join Date: Jan 2015
    Old 10-31-2020 , 00:19   Re: [L4D2] Hunter Pounce Damage (1.1) [10-May-2020]
    Reply With Quote #5

    Can confirm, the gamedata needs to be updated.
    Shao is offline
    Spirit_12
    Veteran Member
    Join Date: Dec 2012
    Location: Toronto, CA
    Old 01-21-2021 , 19:19   Re: [L4D2] Hunter Pounce Damage (1.1) [10-May-2020]
    Reply With Quote #6

    I check the signature and the offset. Everything is working accordingly. For me there is no logical reason why the plugin wouldn't work. The address + the offset leads here and then we are essentially just trying to skip the CTerrorGameRules::HasPlayerControlledZombies call.


    PHP Code:
    .text:0097840E E8 ED B2 B6 FF                          call    _ZN16CTerrorGameRules26HasPlayerControlledZombiesEv CTerrorGameRules::HasPlayerControlledZombies(void)
    .
    text:00978413 84 C0                                   test    alal
    .text:00978415 0F 85 85 01 00 00                       jnz     loc_9785A0 
    Even the byte checks out at 232 which is decimal for E8 and we are essentially NOP the 13 bytes. There is no logical reason for this plugin to not work unless the core game functions are changed.
    __________________
    Spirit_12 is offline
    SEGA EMPRESS ERIS
    Senior Member
    Join Date: Sep 2010
    Location: THE-MILKY-WAY-GALAXY
    Old 01-29-2021 , 12:19   Re: [L4D2] Hunter Pounce Damage (1.1) [10-May-2020]
    Reply With Quote #7

    OK well im out of luck does anyone else have this plugin working? i tried the latest versions found here and the linux .so file update in the uncap extension thread - none of them got this plugin working for me on linux.

    if u do please post the fix this plugin is really nice in coop and in that l4d2 arcade edition mod.

    also if u still dont know a fix last guy said it might be a problem with the uncap extension.
    __________________
    SEGA EMPRESS ERIS is offline
    SEGA EMPRESS ERIS
    Senior Member
    Join Date: Sep 2010
    Location: THE-MILKY-WAY-GALAXY
    Old 04-09-2021 , 13:05   Re: [L4D2] Hunter Pounce Damage (1.1) [10-May-2020]
    Reply With Quote #8

    OK had someone make one its the same thing only simpler to install and code is more streamlined u can mod the values in the .SP file and in the .cfg file it generates in sourcemod folder in cfg folder after u start the game with it installed. put .smx in plugins folder of sourcemod located in addons. thats it!
    Attached Files
    File Type: sp Get Plugin or Get Source (hunterversuspounce.sp - 344 views - 1.6 KB)
    __________________

    Last edited by SEGA EMPRESS ERIS; 04-09-2021 at 13:13.
    SEGA EMPRESS ERIS is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 06-15-2021 , 14:07   Re: [L4D2] Hunter Pounce Damage (1.1) [10-May-2020]
    Reply With Quote #9

    broken after 6/16, 2021 update

    PHP Code:
    L 06/16/2021 02:04:03: [SMException reportedFailed to loadbyte mis-match1101 (0x8B != 0xE8)
    L 06/16/2021 02:04:03: [SMBlamingl4d2_pounce_damage.smx
    L 06
    /16/2021 02:04:03: [SMCall stack trace:
    L 06/16/2021 02:04:03: [SM]   [0SetFailState
    L 06
    /16/2021 02:04:03: [SM]   [1Line 95l4d2_pounce_damage.sp::OnPluginStart
    L 06
    /16/2021 02:04:03: [SMUnable to load plugin "l4d2_pounce_damage.smx"Error detected in plugin startup (see error logs
    __________________

    Last edited by HarryPotter; 06-15-2021 at 14:08.
    HarryPotter is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 06-16-2021 , 04:53   Re: [L4D2] Hunter Pounce Damage (1.1b) [16-Jun-2021]
    Reply With Quote #10

    Should be fixed now.
    __________________
    Silvers 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 10:00.


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