Raised This Month: $344 Target: $400
 86%   Almost there!

[L4D1 AND L4D2] Survivor Respawn


Post New Thread Reply   
 
Thread Tools Display Modes
Lider99
Member
Join Date: Mar 2020
Old 10-23-2020 , 21:08   Re: [L4D1 AND L4D2] Survivor Respawn
Reply With Quote #11

Good job
Lider99 is offline
moekai
Member
Join Date: Jul 2019
Old 10-30-2020 , 18:48   Re: [L4D1 AND L4D2] Survivor Respawn
Reply With Quote #12

Can you add an option to use the command on dead bots?
moekai is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 11-18-2020 , 22:42   Re: [L4D1 AND L4D2] Survivor Respawn
Reply With Quote #13

I'm having the same error reported by HarryPotter.

Reporting this one:
Code:
[SM] Blaming: Survivor Respawn.smx
[SM] Call stack trace:
[SM]   [0] GetEntProp
[SM]   [1] Line 928, /home/forums/content/files/2/9/0/3/2/7/185091.attach::IsClientIdle
[SM]   [2] Line 646, /home/forums/content/files/2/9/0/3/2/7/185091.attach::TimerCount
I added a HasEntProp(i, Prop_Send, "m_humanSpectatorUserID") check to prevent this.

Also the plugin needs do hook convar changes, if I change a convar in midgame it doesn't apply cause the plugin reads the cvar only once (3 seconds after PluginStart).

I changed it to always read from ConVar as a quick fix.

Added pt-br and pt-pt translations.
Attached Files
File Type: sp Get Plugin or Get Source (Survivor Respawn.sp - 330 views - 32.1 KB)
File Type: txt SurvivorRespawn.phrases.txt (4.9 KB, 181 views)
__________________

Last edited by Marttt; 03-02-2021 at 07:51.
Marttt is offline
VladimirTk
Senior Member
Join Date: Apr 2021
Location: Perú - Latino América
Old 10-21-2021 , 23:08   Re: [L4D1 AND L4D2] Survivor Respawn
Reply With Quote #14

Updated Game Data Signatures
If someone could review and affirm the initial compensations, Thank you very much

Signature credits updated to Psykotik for signatures
Attached Files
File Type: txt SurvivorRespawn.txt (1.8 KB, 84 views)
VladimirTk is offline
marki89
Member
Join Date: Jun 2020
Location: Argentina
Old 11-11-2021 , 18:04   Re: [L4D1 AND L4D2] Survivor Respawn
Reply With Quote #15

Blaming: Survivor Respawn.smx
[SM] Call stack trace:
[SM] [0] GetEntProp
[SM] [1] Line 865, /home/forums/content/files/2/9/0/3/2/7/187495.attach::SaveStats
[SM] [2] Line 382, /home/forums/content/files/2/9/0/3/2/7/187495.attach::Event_PlayerDeath
[SM] [4] ForcePlayerSuicide
[SM] [5] Line 336, /home/forums/content/files/2/9/0/3/2/7/187495.attach::Timer_IncapRespawn
[SM] Exception reported: SendProp m_checkpointAwardCounts type is not integer (5 != 0)


----------------------------------------------------------------------------------------------------------------------------------


[SM] Blaming: Survivor Respawn.smx
[SM] Call stack trace:
[SM] [0] SetEntProp
[SM] [1] Line 878, /home/forums/content/files/2/9/0/3/2/7/187495.attach::LoadStats
[SM] [2] Line 706, /home/forums/content/files/2/9/0/3/2/7/187495.attach::Timer_LoadStatDelayed
[SM] Exception reported: SendProp m_checkpointAwardCounts type is not integer (5 != 0)



-----------------------------------------------------------------------------------------------------------------------------------------




I have this in the errors, can someone help me, I would appreciate it
marki89 is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 11-11-2021 , 18:12   Re: [L4D1 AND L4D2] Survivor Respawn
Reply With Quote #16

Update your sourcemod. Probably related to #1570
__________________

Last edited by Marttt; 11-11-2021 at 18:21.
Marttt is offline
Striker black
Member
Join Date: Apr 2013
Old 12-11-2021 , 16:49   Re: [L4D1 AND L4D2] Survivor Respawn
Reply With Quote #17

Quote:
Originally Posted by Marttt View Post
I'm having the same error reported by HarryPotter.

Reporting this one:
Code:
[SM] Blaming: Survivor Respawn.smx
[SM] Call stack trace:
[SM]   [0] GetEntProp
[SM]   [1] Line 928, /home/forums/content/files/2/9/0/3/2/7/185091.attach::IsClientIdle
[SM]   [2] Line 646, /home/forums/content/files/2/9/0/3/2/7/185091.attach::TimerCount
I added a HasEntProp(i, Prop_Send, "m_humanSpectatorUserID") check to prevent this.

Also the plugin needs do hook convar changes, if I change a convar in midgame it doesn't apply cause the plugin reads the cvar only once (3 seconds after PluginStart).

I changed it to always read from ConVar as a quick fix.

Added pt-br and pt-pt translations.
I was testing both plugins and the truth is that Ernecio's did not give me problems in versus 13vs13 mode, the survivors were automatically revived but what I noticed is that it gave 02 crash server.

In your version of the 13 survivors the auto respawn only revived a few "2 to 4".
__________________
--------------------------------------
Striker black is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Taipei
Old 02-09-2022 , 06:36   Re: [L4D1 AND L4D2] Survivor Respawn
Reply With Quote #18

Survivor Respawn Improved Version 3.4 [2022/7/20]
When a Survivor dies, is hanging, or is incapped, will respawn after a period of time.

-New Feature-
- Remake Code
- Don't remove dead body
- If player replaces a dead bot, respawn player after a period of time.
- Invincible time after survivor respawn by this plugin.
- Respawn again if player dies within Invincible time.
- Disable respawning while the final escape starts (rescue vehicle ready)

Apply to:
l4d1/2 both

-Require-
1. Left 4 DHooks Direct

Updating cfg:
  • New cvars have been added: use the Cvar Configs Updater, or delete the old cvars config or manually add them.
Remove gamedata:
  • Delete old gamedata/SurvivorRespawn.txt
Updating translation:
Spoiler

-Convar-
Spoiler


-Command-
Spoiler


Related plugin:
  • MultiSlots Improved: When 5+ player joins the server but no any bot can be taken over, this plugin will spawn an alive survivor bot for him.
  • Infected Bots Control Improved: Spawns infected bots in L4D1 versus, and gives greater control of the infected bots in L4D1/L4D2 without being limited by the director.
  • AFK and Join Team Commands Improved: Add more commands to let the player spectate and join team. (!afk, !survivors, !infected, etc.), but no changing team abuse.
-Edit Github-
Latest version always here
Attached Files
File Type: zip Survivor_Respawn v3.4.zip (33.9 KB, 43 views)
__________________

Last edited by HarryPotter; 07-20-2022 at 08:54. Reason: v3.4 release
HarryPotter is offline
strikeraot
Senior Member
Join Date: Dec 2018
Location: Viet Nam
Old 02-09-2022 , 22:31   Re: [L4D1 AND L4D2] Survivor Respawn
Reply With Quote #19

Quote:
Originally Posted by HarryPotter View Post
-New Feature-
- Remake Code
- Don't remove dead body
- If player replaces a dead bot, respawn player after a period of time.
- Invincible time after survivor respawn by this plugin.
- Respawn again if player dies within Invincible time.
great one, i always have annoying problem that survivor keep respawn in front of my crosshair and then die because of friendly-fire XD

Last edited by strikeraot; 02-09-2022 at 22:33.
strikeraot is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Taipei
Old 02-10-2022 , 00:38   Re: [L4D1 AND L4D2] Survivor Respawn
Reply With Quote #20

Quote:
Originally Posted by strikeraot View Post
great one, i always have annoying problem that survivor keep respawn in front of my crosshair and then die because of friendly-fire XD
Well acutually, I didn't prevent respawn player from taking teammate friendly fire.
But nvm, your idea is good.

v3.0
* Respawn Player won't take teammate friendly fire and infected damage(including witch and common infected) within invincible time.
__________________

Last edited by HarryPotter; 02-10-2022 at 00:41.
HarryPotter 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 11:27.


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