AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D, L4D2] No Death Check Until Dead (https://forums.alliedmods.net/showthread.php?t=142432)

chinagreenelvis 11-05-2010 19:14

[L4D, L4D2] No Death Check Until Dead
 
21 Attachment(s)
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.

ChickenFighter 11-06-2010 02:49

Re: [L4D] & [L4D2] No Death Check Until Dead
 
What does this pugin do? O.o cant understand it

teo265 11-06-2010 02:51

Re: [L4D] & [L4D2] No Death Check Until Dead
 
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!

ChickenFighter 11-06-2010 02:53

Re: [L4D] & [L4D2] No Death Check Until Dead
 
Ah okey.... good thanks toe

Herokim 11-06-2010 17:27

Re: [L4D] & [L4D2] No Death Check Until Dead
 
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?

Skorpion1976 11-07-2010 10:50

Re: [L4D] & [L4D2] No Death Check Until Dead
 
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.

DieTeetasse 11-07-2010 11:54

Re: [L4D] & [L4D2] No Death Check Until Dead
 
The events are also invoked for common infected, which have no clientid, because they are entities and therefore no team.

TastyCheese 11-07-2010 15:25

Re: [L4D] & [L4D2] No Death Check Until Dead
 
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 :)

chinagreenelvis 11-08-2010 13:11

Re: [L4D] & [L4D2] No Death Check Until Dead
 
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.

Skorpion1976 11-08-2010 13:21

Re: [L4D] & [L4D2] No Death Check Until Dead
 
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.


All times are GMT -4. The time now is 08:15.

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