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

[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 - 5370 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
    TastyCheese
    Member
    Join Date: Nov 2010
    Old 11-07-2010 , 15:25   Re: [L4D] & [L4D2] No Death Check Until Dead
    Reply With Quote #8

    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
    chinagreenelvis
    Senior Member
    Join Date: Dec 2009
    Old 11-08-2010 , 13:11   Re: [L4D] & [L4D2] No Death Check Until Dead
    Reply With Quote #9

    Tasty, I think I know why that might be happening. I'll make the proper adjustments to the code tonight.

    Die, I don't know what you're talking about with the CI. Could you explain? I wouldn't think that player_hurt or player_death have anything to do with the commons.

    Scorpion, I'd like to find out more about what you're saying. If you could find an example of it, please let me know.

    Herokim, I don't know where those errors are coming from. I don't get them at all.
    chinagreenelvis is offline
    Skorpion1976
    Veteran Member
    Join Date: Jun 2009
    Location: Austria
    Old 11-08-2010 , 13:21   Re: [L4D] & [L4D2] No Death Check Until Dead
    Reply With Quote #10

    found here:https://forums.alliedmods.net/showthread.php?t=63759
    PHP Code:
    //Make sure it's not console
        
    if(client == 0){
            return 
    Plugin_Continue
        

    That SHOULD fix the errors he posted above.
    Skorpion1976 is offline
    Reply


    Thread Tools
    Display Modes

    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 01:56.


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