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

[L4D2] 0HP Bug Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
mixjay
New Member
Join Date: Oct 2011
Location: Vladivostok
Plugin ID:
5183
Plugin Version:
1.1
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Fix bug, when survivors get 0 HP (zero).
    Old 05-10-2016 , 10:02   [L4D2] 0HP Bug Fix
    Reply With Quote #1

    Title:
    L4D2 0HP Bug Fix

    Description:
    Fix bug, when survivors get Zero HP. Hides the HUD panel, and you can not select the items.

    Command list:
    For manual fix, use sm_0hp or !0hp

    Installation instructions:
    put .smx file into folder: addons/sourcemod/plugins

    Version:
    Quote:
    V1.1 - added check any hurt, remove logs
    v1.0 - first release
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_0hp_bug_fix_v1.1.sp - 962 views - 1.7 KB)
    File Type: smx l4d2_0hp_bug_fix_v1.1.smx (4.7 KB, 479 views)
    mixjay is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 05-10-2016 , 10:18   Re: [L4D2] 0HP Bug Fix
    Reply With Quote #2

    Never encountered this bug before but I'm gonna try it out.

    EDIT: Hmm, for some bizarre and strange reason, it changes HP to 1 whether falling from high or low height. Also, tried it many times, I never died. How about adding a check for that?

    Last edited by cravenge; 05-10-2016 at 10:39.
    cravenge is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 05-10-2016 , 10:27   Re: [L4D2] 0HP Bug Fix
    Reply With Quote #3

    ...not 100% sure, but this "feature" is every game. I assume player need still 1hp even he /she is dead.
    By setting player hp to 0 will bring those different hud...
    __________________
    Do not Private Message @me
    Bacardi is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 05-10-2016 , 10:40   Re: [L4D2] 0HP Bug Fix
    Reply With Quote #4

    I think this plugin messes up the game (for me though). Reasons: (1) Can't get incapacitated or die. Only way to die is through a slay command. And (2) The game already handles the events you hooked to know when players will die.

    Look, I know this is your first plugin but I know there's still a proper use to this. I think it might be best if you redo this so that it will now check for infected survivors which is a really annoying bug in Versus because they can't be hit or be dead.
    cravenge is offline
    Pyc
    Senior Member
    Join Date: Jan 2014
    Old 05-17-2016 , 10:36   Re: [L4D2] 0HP Bug Fix
    Reply With Quote #5

    doesn't help for me(
    Pyc is offline
    a124900492
    Junior Member
    Join Date: Dec 2016
    Old 01-10-2017 , 02:36   Re: [L4D2] 0HP Bug Fix
    Reply With Quote #6

    Can set death when the survivor is HP0?

    like the ->if survivor hp is 0 sm_kill
    a124900492 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:14.


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