This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[L4D1 AND L4D2] Survivor Respawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author
VladimirTk
Senior Member
Join Date: Apr 2021
Location: Perú - Latino América
Plugin ID:
7037
Plugin Version:
2.1
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    When a Survivor dies, is hanging, or is incapped, will respawn after a period of time.
    Unapprover:
    Reason for Unapproving:
    No source code / plugin, upload source and use the Report Post button for a new review.
    Old 10-21-2021 , 23:08   Re: [L4D1 AND L4D2] Survivor Respawn
    Reply With Quote #1

    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, 304 views)
    VladimirTk is offline
    marki89
    Senior Member
    Join Date: Jun 2020
    Location: Argentina
    Old 11-11-2021 , 18:04   Re: [L4D1 AND L4D2] Survivor Respawn
    Reply With Quote #2

    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 #3

    Update your sourcemod. Probably related to #1570
    __________________

    Last edited by Marttt; 11-11-2021 at 18:21.
    Marttt is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 02-09-2022 , 06:36   Re: [L4D1 AND L4D2] Survivor Respawn
    Reply With Quote #4

    Survivor Respawn Improved Version
    When a Survivor dies, 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
    2. Multi Colors

    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.
    Source Code Download
    __________________

    Last edited by HarryPotter; 03-19-2024 at 07:25.
    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 #5

    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, Asia
    Old 02-10-2022 , 00:38   Re: [L4D1 AND L4D2] Survivor Respawn
    Reply With Quote #6

    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
    strikeraot
    Senior Member
    Join Date: Dec 2018
    Location: Viet Nam
    Old 02-10-2022 , 10:38   Re: [L4D1 AND L4D2] Survivor Respawn
    Reply With Quote #7

    Quote:
    Originally Posted by HarryPotter View Post
    v3.0
    * Respawn Player won't take teammate friendly fire and infected damage(including witch and common infected) within invincible time.
    got these error:
    Code:
    L 02/10/2022 - 21:17:47: SourceMod error session started
    L 02/10/2022 - 21:17:47: Info (map "abegin") (file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\logs\errors_20220210.log")
    L 02/10/2022 - 21:17:47: [SM] Plugin "Survivor_Respawn.smx" encountered error 23: Native detected error
    L 02/10/2022 - 21:17:47: [SM] Invalid timer handle 25a006ea (error 1) during timer end, displayed function is timer callback, not the stack trace
    L 02/10/2022 - 21:17:47: [SM] Unable to call function "Timer_Respawn" due to above error(s).
    L 02/10/2022 - 21:19:50: Error log file session closed.
    L 02/10/2022 - 21:31:09: SourceMod error session started
    L 02/10/2022 - 21:31:09: Info (map "amap") (file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\logs\errors_20220210.log")
    L 02/10/2022 - 21:31:09: [SM] Plugin "Survivor_Respawn.smx" encountered error 23: Native detected error
    L 02/10/2022 - 21:31:09: [SM] Invalid timer handle 440006e6 (error 1) during timer end, displayed function is timer callback, not the stack trace
    L 02/10/2022 - 21:31:09: [SM] Unable to call function "Timer_Respawn" due to above error(s).
    L 02/10/2022 - 21:32:41: [SM] Plugin "Survivor_Respawn.smx" encountered error 23: Native detected error
    L 02/10/2022 - 21:32:41: [SM] Invalid timer handle b9400661 (error 1) during timer end, displayed function is timer callback, not the stack trace
    L 02/10/2022 - 21:32:41: [SM] Unable to call function "Timer_Respawn" due to above error(s).
    L 02/10/2022 - 21:35:07: [SM] Plugin "Survivor_Respawn.smx" encountered error 23: Native detected error
    L 02/10/2022 - 21:35:07: [SM] Invalid timer handle cf70093a (error 1) during timer end, displayed function is timer callback, not the stack trace
    L 02/10/2022 - 21:35:07: [SM] Unable to call function "Timer_Respawn" due to above error(s).
    L 02/10/2022 - 21:35:58: [SM] Plugin "Survivor_Respawn.smx" encountered error 23: Native detected error
    L 02/10/2022 - 21:35:58: [SM] Invalid timer handle 2e300960 (error 1) during timer end, displayed function is timer callback, not the stack trace
    L 02/10/2022 - 21:35:58: [SM] Unable to call function "Timer_Respawn" due to above error(s).
    L 02/10/2022 - 21:37:36: Error log file session closed.
    L 02/10/2022 - 21:45:30: SourceMod error session started
    L 02/10/2022 - 21:45:30: Info (map "amap2") (file "C:\Program Files (x86)\Steam\steamapps\common\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\logs\errors_20220210.log")
    L 02/10/2022 - 21:45:30: [SM] Plugin "Survivor_Respawn.smx" encountered error 23: Native detected error
    L 02/10/2022 - 21:45:30: [SM] Invalid timer handle 3a0095c (error 1) during timer end, displayed function is timer callback, not the stack trace
    L 02/10/2022 - 21:45:30: [SM] Unable to call function "Timer_Respawn" due to above error(s).
    L 02/10/2022 - 21:47:17: [SM] Plugin "Survivor_Respawn.smx" encountered error 23: Native detected error
    L 02/10/2022 - 21:47:17: [SM] Invalid timer handle c6a008c0 (error 1) during timer end, displayed function is timer callback, not the stack trace
    L 02/10/2022 - 21:47:17: [SM] Unable to call function "Timer_Respawn" due to above error(s).
    L 02/10/2022 - 21:48:31: [SM] Plugin "Survivor_Respawn.smx" encountered error 23: Native detected error
    L 02/10/2022 - 21:48:31: [SM] Invalid timer handle 2f3006c4 (error 1) during timer end, displayed function is timer callback, not the stack trace
    L 02/10/2022 - 21:48:31: [SM] Unable to call function "Timer_Respawn" due to above error(s).
    L 02/10/2022 - 21:52:41: Error log file session closed.
    strikeraot is offline
    DARG367
    AlliedModders Donor
    Join Date: Aug 2018
    Old 04-13-2023 , 14:40   Re: [L4D1 AND L4D2] Survivor Respawn
    Reply With Quote #8

    Quote:
    Originally Posted by HarryPotter View Post
    Survivor Respawn Improved Version [2023/4/9]
    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

    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
    I noticed that the commands are now /respawnex and /respawnexmenu which is fine for me but /respawnexmenu doesn't seem to actually bring up a menu. Am I missing something that comes after that command or is it really just supposed to bring up a menu to choose a player?

    Also wondering if it would be possible to add a cvar to change it from only allowing those commands to work when a survivor is dead to instead respawn them anytime even if not incapped or dead? If not no worries.

    Last edited by DARG367; 04-13-2023 at 14:45.
    DARG367 is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 04-14-2023 , 09:57   Re: [L4D1 AND L4D2] Survivor Respawn
    Reply With Quote #9

    Quote:
    Originally Posted by DARG367 View Post
    I noticed that the commands are now /respawnex and /respawnexmenu which is fine for me but /respawnexmenu doesn't seem to actually bring up a menu. Am I missing something that comes after that command or is it really just supposed to bring up a menu to choose a player?
    Because there are no any dead players at the moment.
    I add more hints and update new version.
    __________________
    HarryPotter is offline
    DARG367
    AlliedModders Donor
    Join Date: Aug 2018
    Old 04-14-2023 , 16:15   Re: [L4D1 AND L4D2] Survivor Respawn
    Reply With Quote #10

    Quote:
    Originally Posted by HarryPotter View Post
    Because there are no any dead players at the moment.
    I add more hints and update new version.
    Ah okay that makes sense. When I was testing these I had the impression the plugin allowed respawning even if the player wasn't dead, because I used another plugin that was very similar and had that feature. But now that you mentioned that, yes the menu does actually come up if someone is dead. Thanks for the heads up!
    DARG367 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:05.


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