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

[L4D & L4D2] Block Stumble From Tanks (2.0) [30-Sep-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6718
Plugin Version:
2.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    5 
    Plugin Description:
    Prevents Tank punches and rocks from stumbling survivors.
    Old 09-16-2019 , 12:46   [L4D & L4D2] Block Stumble From Tanks (2.0) [30-Sep-2022]
    Reply With Quote #1

    About:

    Thanks:

    Cvars:

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

    PHP Code:
    // 0=Plugin off, 1=Plugin on.
    l4d_block_stumble_allow "1"

    // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
    l4d_block_stumble_modes ""

    // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
    l4d_block_stumble_modes_off ""

    // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
    l4d_block_stumble_modes_tog "0"

    // Block Stumble From Tanks plugin version.
    l4d_block_stumble_version 


    Changes:
    Code:
    2.0 (30-Sep-2022)
        - Plugin now requires "Left 4 DHooks" plugin to function.
        - Rewritten to prevent round ending bug. Thanks to "ZBzibing" for reporting.
    
    1.6 (10-May-2020)
        - Extra checks to prevent "IsAllowedGameMode" throwing errors.
        - Various changes to tidy up code.
    
    1.5 (01-Apr-2020)
        - Fixed "IsAllowedGameMode" from throwing errors when the "_tog" cvar was changed before MapStart.
    
    1.4 (22-Sep-2019)
        - Fixed server crashing.
        - Fixed the round ending when the last standing survivor gets hit.
    
    1.3 (16-Sep-2019)
        - Fixed not accounting for temporary health. Thanks to "xZk" for reporting.
    
    1.2 (16-Sep-2019)
        - Fixed reviving when they should be incapped and instant death on hit.
    
    1.1 (16-Sep-2019)
        - Fixed affecting incapacitated players - Thanks to "xZk" for scripting.
    
    1.0 (16-Sep-2019)
        - Initial release.


    Requirements:
    1. Left 4 DHooks Direct plugin.


    Installation:
    DO NOT click 'Get Plugin' or it will fail to compile because this plugin requires Left4DHooks!
    • Download the .smx file and put into your servers \addons\sourcemod\plugins folder.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_block_stumble.sp - 381 views - 7.8 KB)
    File Type: smx l4d_block_stumble.smx (5.2 KB, 206 views)
    __________________

    Last edited by Silvers; 11-12-2022 at 06:40.
    Silvers is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 09-16-2019 , 17:56   Re: [L4D & L4D2] Block Stumble From Tanks (1.1) [16-Sep-2019]
    Reply With Quote #2

    Thanks updated.
    __________________
    Silvers is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 09-20-2019 , 04:14   Re: [L4D & L4D2] Block Stumble From Tanks (1.3) [16-Sep-2019]
    Reply With Quote #3

    Can you specify more details? "punches and rocks from stumbling survivors."
    Any demonstrate video?
    __________________
    HarryPotter is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 09-20-2019 , 13:45   Re: [L4D & L4D2] Block Stumble From Tanks (1.3) [16-Sep-2019]
    Reply With Quote #4

    Quote:
    Originally Posted by fbef0102 View Post
    Can you specify more details? "punches and rocks from stumbling survivors."
    Any demonstrate video?
    When a tank punches a survivor, or throws a rock and that hits a survivor, the survivor will stumble and fall down briefly. This plugin stops that happening so you can keep running.
    __________________
    Silvers is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 09-21-2019 , 04:09   Re: [L4D & L4D2] Block Stumble From Tanks (1.3) [16-Sep-2019]
    Reply With Quote #5

    Quote:
    Originally Posted by Silvers View Post
    When a tank punches a survivor, or throws a rock and that hits a survivor, the survivor will stumble and fall down briefly. This plugin stops that happening so you can keep running.
    I run l4d1 & l4d2 windows server,
    when tank spawns and punches a survivor, or throws a rock,
    server suddenly crashes (no any error.log)

    Any required files?
    __________________
    HarryPotter is offline
    theproperson
    Member
    Join Date: Feb 2017
    Old 09-21-2019 , 17:07   Re: [L4D & L4D2] Block Stumble From Tanks (1.3) [16-Sep-2019]
    Reply With Quote #6

    I am also getting server crashes in l4d2 windows when this plugin is running. Logs are clean and no errors are being printed.
    edit : Just saw an update was posted, will try it out and report back.
    edit 2 : Just tried out again on a l4d2 windows server running co-op. Spawned 2 tanks, none of the tanks seemed to have knockdown against survivors blocked. Took over a tank bot and used it myself, still normal game behavior. Plugin was running in console, no start up errors. Then my server crashed after about 5 minutes. Still no errors in the logs.

    Last edited by theproperson; 09-21-2019 at 17:22.
    theproperson is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 09-22-2019 , 04:32   Re: [L4D & L4D2] Block Stumble From Tanks (1.4) [22-Sep-2019]
    Reply With Quote #7

    Hopefully fixed, please let me know.

    Quote:
    1.4 (22-Sep-2019)
    - Fixed server crashing.
    - Fixed the round ending when the last standing survivor gets hit.
    __________________
    Silvers is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 09-22-2019 , 11:36   Re: [L4D & L4D2] Block Stumble From Tanks (1.4) [22-Sep-2019]
    Reply With Quote #8

    Quote:
    Originally Posted by Silvers View Post
    Hopefully fixed, please let me know.
    both l4d1+2 windows works fine,thanks
    __________________

    Last edited by HarryPotter; 09-22-2019 at 11:36.
    HarryPotter is offline
    theproperson
    Member
    Join Date: Feb 2017
    Old 09-22-2019 , 16:28   Re: [L4D & L4D2] Block Stumble From Tanks (1.4) [22-Sep-2019]
    Reply With Quote #9

    Yup working perfectly for me too.
    theproperson is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 09-22-2019 , 17:19   Re: [L4D & L4D2] Block Stumble From Tanks (1.4) [22-Sep-2019]
    Reply With Quote #10

    Thank you both for the report!
    __________________
    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 20:42.


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