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

[L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.16) [21-Apr-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-03-2022 , 10:24   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.11) [03-Dec-2022]
Reply With Quote #31

Code:
1.11 (03-Dec-2022)
    - Plugin now resets the heartbeat sound for spectators.
__________________
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-19-2023 , 02:58   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.12) [19-Feb-2023]
Reply With Quote #32

Code:
1.12 (19-Feb-2023)
    - Added cvar "l4d_heartbeat_incap" to set black and white status when someone is incapped, not after revive. Requested by "Jestery".
    - Fixed heartbeat sound being stopped when other players respawn.
__________________
Silvers is offline
Shao
Senior Member
Join Date: Jan 2015
Old 02-21-2023 , 19:12   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.12) [19-Feb-2023]
Reply With Quote #33

Would this plugin be why incap counts get out of sync? Or this one? I seem the get the occasional bug in between where people get to be black and white but aren't really before going down another time. I use default values outside the BW Defib plugin which when survivors are revived they go BW after 1 down rather than 2.
Shao is offline
Hawkins
Senior Member
Join Date: Jul 2021
Old 02-21-2023 , 19:15   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.12) [19-Feb-2023]
Reply With Quote #34

Quote:
Originally Posted by Shao View Post
Would this plugin be why incap counts get out of sync? Or this one? I seem the get the occasional bug in between where people get to be black and white but aren't really before going down another time. I use default values outside the BW Defib plugin which when survivors are revived they go BW after 1 down rather than 2.
Must be incapped pills pop, since i use it too and get the same bug as well.
Hawkins is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-22-2023 , 02:30   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.12) [19-Feb-2023]
Reply With Quote #35

3rd party plugins that revive people need to be modified to use this plugin if detected. See the "Natives: (for 3rd party revive/respawn style plugins)" part. Some of my plugins are demonstrating this, for example Incapped Weapons. - or maybe not, should be automatic.

Maybe I can require Left4DHooks and automatically set revive counts/screen state etc instead of plugins setting it themselves, or delay from revive event by 1 frame. When I get time I'll look into it.
__________________

Last edited by Silvers; 02-22-2023 at 03:29.
Silvers is offline
little_froy
Senior Member
Join Date: May 2021
Old 02-24-2024 , 19:25   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.13) [10-Mar-2023]
Reply With Quote #36

call native Heartbeat_SetRevives, causing player instantly die when incapacitated if the revive count has not reached the max.

-keep taking damage till down, wait for revive. repeat again.
-use command "sm_revive", and keep taking damage, instantly die, the revive count has not reached the max.
Attached Files
File Type: sp Get Plugin or Get Source (hb.sp - 19 views - 691 Bytes)
File Type: sp Get Plugin or Get Source (hb2.sp - 23 views - 688 Bytes)

Last edited by little_froy; 02-24-2024 at 19:39.
little_froy is online now
little_froy
Senior Member
Join Date: May 2021
Old 03-03-2024 , 15:32   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.13) [10-Mar-2023]
Reply With Quote #37

sorry Silvers, I found another issue
if's not good to always set "m_isGoingToDie" to 0
if the prop is 0, and next hurt damage equal or higher than real health, "m_isGoingToDie" will becomes 1, and reduce 1.0 damge(or get extra 1.0 health buffer)
always set "m_isGoingToDie" to 0, means always reduce 1.0 damage, for example, normal difficulty horde hit from front damage will reduce to 1
I have another method to block vocalize https://forums.alliedmods.net/showthread.php?p=2818615
little_froy is online now
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-12-2024 , 06:01   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.14) [12-Mar-2024]
Reply With Quote #38

Code:
1.14 (12-Mar-2024)
    - Fixed native "Heartbeat_SetRevives" not setting the correct revive count if "reviveLogic" bool was set to false. Thanks to "little_froy" for reporting and testing.
    - Fixed clients not receiving damage from behind when on Easy difficulty, due to "m_isGoingToDie" being est to 0. Thanks to "little_froy" for reporting and testing.
    - Fixed client not in game error. Thanks to "HarryPotter" for reporting.
    - New GameData file required for the plugin to operate.
__________________
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-26-2024 , 18:38   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.14) [12-Mar-2024]
Reply With Quote #39

Quote:
Originally Posted by S.A.S View Post
-
Which game, which os?
__________________
Silvers is offline
S.A.S
Member
Join Date: Jul 2023
Old 03-26-2024 , 18:42   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.14) [12-Mar-2024]
Reply With Quote #40

Quote:
Originally Posted by Silvers View Post
Which game, which os?
LD2 Linux
S.A.S 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 11:02.


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