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

[L4D, L4D2] No Death Check Until Dead


Post New Thread Reply   
 
Thread Tools Display Modes
Author
chinagreenelvis
Senior Member
Join Date: Dec 2009
Plugin ID:
2054
Plugin Version:
1.5.6
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Prevents mission loss until all human players have died.
    Old 11-05-2010 , 19:14   [L4D, L4D2] No Death Check Until Dead
    Reply With Quote #1

    The file has been updated to the version written by user DCX2.

    This will prevent the mission from being lost simply because all remaining players have been incapacitated. Mission loss will not occur until there are no living survivors. This can be used on servers with any number of survivor players. There is also a switch to allow or disallow bots to continue without human survivors.

    Cvars
    deathcheck 1, 0: Disable plugin, 1: Enable plugin
    deathcheck_bots 1, 0: Mission will be lost if all human players have died, 1: Bots will continue playing after all human players are dead and can rescue them

    Recommended additional plugins
    • AutoHelp: Survivors help themselves from special infected attacks and incapacitation
    • Improved Bots: This mod makes several changes to bots to make them act more like human players and make them more reliable as teammates. They can use melee weapons, rescue you if you die, react quicker to a teammate being attacked by a special infected and much more.
    • Survivor Bot Takeover: Allows dead players to take the place of a living survivor bot.
    Attached Files
    File Type: sp Get Plugin or Get Source (cge_l4d2_deathcheck.sp - 5410 views - 6.0 KB)

    Last edited by chinagreenelvis; 12-02-2019 at 00:28.
    chinagreenelvis is offline
    ChickenFighter
    Junior Member
    Join Date: Oct 2010
    Location: Germany
    Old 11-06-2010 , 02:49   Re: [L4D] & [L4D2] No Death Check Until Dead
    Reply With Quote #2

    What does this pugin do? O.o cant understand it
    ChickenFighter is offline
    teo265
    Junior Member
    Join Date: May 2010
    Location: Finland
    Old 11-06-2010 , 02:51   Re: [L4D] & [L4D2] No Death Check Until Dead
    Reply With Quote #3

    Very good idea, i hate it when the game ends when we all are incapped, because usually i "self help" myself immediatly after im incapped, thanks!
    teo265 is offline
    Send a message via MSN to teo265
    ChickenFighter
    Junior Member
    Join Date: Oct 2010
    Location: Germany
    Old 11-06-2010 , 02:53   Re: [L4D] & [L4D2] No Death Check Until Dead
    Reply With Quote #4

    Ah okey.... good thanks toe
    ChickenFighter is offline
    Herokim
    Senior Member
    Join Date: Mar 2010
    Location: In Fag-o-land
    Old 11-06-2010 , 17:27   Re: [L4D] & [L4D2] No Death Check Until Dead
    Reply With Quote #5

    Either this plugin is wrong, or it interferes with something.

    Map restart = crash of the server :/ And some errors -

    Code:
    L 11/06/2010 - 22:09:35: [SM] Native "GetClientTeam" reported: Client index 0 is invalid
    L 11/06/2010 - 22:09:35: [SM] Displaying call stack trace for plugin "l4d_2_deathcheck.smx":
    L 11/06/2010 - 22:09:35: [SM]   [0]  Line 52, /home/groups/alliedmodders/forums/files/6/6/3/4/6/76788.attach::Event_PlayerDeath()
    L 11/06/2010 - 22:09:35: [SM] Native "GetClientTeam" reported: Client index 0 is invalid
    L 11/06/2010 - 22:09:35: [SM] Displaying call stack trace for plugin "l4d_2_deathcheck.smx":
    L 11/06/2010 - 22:09:35: [SM]   [0]  Line 52, /home/groups/alliedmodders/forums/files/6/6/3/4/6/76788.attach::Event_PlayerDeath()
    L 11/06/2010 - 22:09:35: [SM] Native "GetClientTeam" reported: Client index 0 is invalid
    L 11/06/2010 - 22:09:35: [SM] Displaying call stack trace for plugin "l4d_2_deathcheck.smx":
    L 11/06/2010 - 22:09:35: [SM]   [0]  Line 52, /home/groups/alliedmodders/forums/files/6/6/3/4/6/76788.attach::Event_PlayerDeath()
    L 11/06/2010 - 22:09:35: [SM] Native "GetClientTeam" reported: Client index 0 is invalid
    L 11/06/2010 - 22:09:35: [SM] Displaying call stack trace for plugin "l4d_2_deathcheck.smx":
    L 11/06/2010 - 22:09:35: [SM]   [0]  Line 52, /home/groups/alliedmodders/forums/files/6/6/3/4/6/76788.attach::Event_PlayerDeath()
    L 11/06/2010 - 22:09:35: [SM] Native "GetClientTeam" reported: Client index 0 is invalid
    L 11/06/2010 - 22:09:35: [SM] Displaying call stack trace for plugin "l4d_2_deathcheck.smx":
    L 11/06/2010 - 22:09:35: [SM]   [0]  Line 52, /home/groups/alliedmodders/forums/files/6/6/3/4/6/76788.attach::Event_PlayerDeath()
    L 11/06/2010 - 22:09:35: [SM] Native "GetClientTeam" reported: Client index 0 is invalid
    L 11/06/2010 - 22:09:35: [SM] Displaying call stack trace for plugin "l4d_2_deathcheck.smx":
    L 11/06/2010 - 22:09:35: [SM]   [0]  Line 52, /home/groups/alliedmodders/forums/files/6/6/3/4/6/76788.attach::Event_PlayerDeath()
    I'm playing on my own dedicated server and what is that ? Why it thinks I am the server?
    Herokim is offline
    Skorpion1976
    Veteran Member
    Join Date: Jun 2009
    Location: Austria
    Old 11-07-2010 , 10:50   Re: [L4D] & [L4D2] No Death Check Until Dead
    Reply With Quote #6

    This is a great idea. We use the self revive plugin from panxiohai and everytime we get up AFTER f....g round_end event . Please include a check for client 0. I donīt have the code for that but some plugins had the same problems until they checked for index 0.
    Skorpion1976 is offline
    DieTeetasse
    Senior Member
    Join Date: Jul 2009
    Old 11-07-2010 , 11:54   Re: [L4D] & [L4D2] No Death Check Until Dead
    Reply With Quote #7

    The events are also invoked for common infected, which have no clientid, because they are entities and therefore no team.
    __________________
    DieTeetasse is offline
    Skorpion1976
    Veteran Member
    Join Date: Jun 2009
    Location: Austria
    Old 11-08-2010 , 13:23   Re: [L4D] & [L4D2] No Death Check Until Dead
    Reply With Quote #8

    Quote:
    Originally Posted by DieTeetasse View Post
    The events are also invoked for common infected, which have no clientid, because they are entities and therefore no team.
    Does this mean that the check for team 2 or team 3 is not enough o_O ?
    Skorpion1976 is offline
    DieTeetasse
    Senior Member
    Join Date: Jul 2009
    Old 11-08-2010 , 17:17   Re: [L4D] & [L4D2] No Death Check Until Dead
    Reply With Quote #9

    @Skorpion1976:
    No, it's not enough. Always check against client == 0 or check with IsClientInGame(client) ;)

    @chinagreenelvis:
    You are right, commons do not have anything to do with players, but in fact the event player_death is also fired for common infected (god knows why...). (Not sure for player_hurt.)
    __________________

    Last edited by DieTeetasse; 11-08-2010 at 17:21.
    DieTeetasse is offline
    TastyCheese
    Member
    Join Date: Nov 2010
    Old 11-07-2010 , 15:25   Re: [L4D] & [L4D2] No Death Check Until Dead
    Reply With Quote #10

    I tried this, and the chapter gets restarted when one person from the team dies, even if the three others are still incapped. I'm hoping this will get fixed because this plugin is exactly what I'm looking for
    TastyCheese 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 13:19.


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