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
SpannerV2
Member
Join Date: Jun 2019
Old 02-18-2021 , 21:36   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.6) [15-Feb-2021]
Reply With Quote #11

Plugin does not seem to be working for me, i have set the revives to 6 and removed the ingame cvar to allow this to work but still no.
SpannerV2 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-20-2021 , 09:06   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.6) [15-Feb-2021]
Reply With Quote #12

Quote:
Originally Posted by SpannerV2 View Post
Plugin does not seem to be working for me, i have set the revives to 6 and removed the ingame cvar to allow this to work but still no.
Can you post the cvars you're using for this plugin and maybe mention the steps to replicate the issue? I'm guessing just attempt to incap myself 6 times.. When you say removed ingame cvar, what exactly do you mean, how have you done that?


Edit: simply change "l4d_heartbeat_revives" value to "6" and don't change the games cvar. This works for me.
__________________

Last edited by Silvers; 02-21-2021 at 06:59.
Silvers is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 03-29-2021 , 15:25   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.6) [15-Feb-2021]
Reply With Quote #13

Can you add two new commands?
Mainly to test with the current gnome/cola plugin when they go into black and white state and because I don't know of any command that does this directly.

sm_bnws / sm_bnw_state - define <target> and <survivor_max_incapacitated_count number>

sm_bnw - define <target> to change status to black and white directly

I don't know if this affects the special infected in any way.

Last edited by Tonblader; 03-29-2021 at 17:26.
Tonblader is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-31-2021 , 04:27   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.7) [31-Mar-2021]
Reply With Quote #14

Code:
1.7 (31-Mar-2021)
    - Added command "sm_heartbeat" to toggle or specify someone as black and white health status.
__________________
Silvers is offline
jeremyvillanueva
AlliedModders Donor
Join Date: Jan 2021
Location: dcord:Jeremy333#7632
Old 04-01-2021 , 12:47   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.7) [31-Mar-2021]
Reply With Quote #15

Hi Silver, thanks to Ton I have found this plugin
May you please add a B&W or BnW or BW [Post Revive / "BW" Options] to the plugin post name,
because I was looking for this plugin like for 2 months and I didn't now how to find it
until today

Best wishes (BW xd)
jeremyvillanueva is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-27-2022 , 08:32   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.7) [31-Mar-2021]
Reply With Quote #16

Hi, Silvers.

Just let you know that such way of setting max incap in pre-hook to kill the survivor is only work in L4D1:
Code:
OnTakeDamageMain
...
if( damage >= health )
	{
...
			// Allow to die
			if( g_bLeft4Dead2 )
				SetEntProp(client, Prop_Send, "m_bIsOnThirdStrike", 1);
			else
				SetEntProp(client, Prop_Send, "m_currentReviveCount", g_iCvarRevives);
SetEntProp + m_currentReviveCount is also doesn't help in L4D2.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 01-27-2022 , 22:16   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.7) [31-Mar-2021]
Reply With Quote #17

If teammates are black and white, it would be nice to add an external expression. Instead of prompting teammates to be black and white. For example, a morbid display of a character, or a debilitating color, etc.
Because sometimes teammates don't notice your black and white state, all external performance will be taken care of by teammates
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:

Last edited by ZBzibing; 01-27-2022 at 22:19.
ZBzibing is offline
Gold Fish
Senior Member
Join Date: Mar 2020
Old 01-28-2022 , 03:16   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.7) [31-Mar-2021]
Reply With Quote #18

Most plugins associated with the player's health have one drawback. They do not see the intentional healing of the players (from the admin menu, Give CMD, or just through the code in another plugin)Someone has seen a solution to complete tracking the player's healing ? Or is it easier to make a timer which will check the health of players for the whole game?
__________________
-

PHP Code:
public OnClientConnect(int Client) {
    
KickClient(Client"sorry");


Last edited by Gold Fish; 01-28-2022 at 03:18.
Gold Fish is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-28-2022 , 03:23   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.7) [31-Mar-2021]
Reply With Quote #19

Not correct. This plugin listen for "give" command.
As about SetClientHealth(), it has no relation to B&W state.

If you need to listen for health status, you'll have to hook appropriate game function.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 01-28-2022 at 03:24.
Dragokas is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 02-03-2022 , 09:19   Re: [L4D & L4D2] Heartbeat (Revive Fix - Post Revive Options) (1.7) [31-Mar-2021]
Reply With Quote #20

Quote:
Originally Posted by ZBzibing View Post
If teammates are black and white, it would be nice to add an external expression. Instead of prompting teammates to be black and white. For example, a morbid display of a character, or a debilitating color, etc.
Because sometimes teammates don't notice your black and white state, all external performance will be taken care of by teammates
The black and white player in L4D1 pretends to use a medical kit to heal, but cancels the healing process, and the black and white screen disappears.
My settings l4d_heartbeat_screen","1"
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:
ZBzibing 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 16:26.


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