Raised This Month: $67 Target: $400
 16% 

[L4D2] suicide blocker


Post New Thread Reply   
 
Thread Tools Display Modes
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 03-29-2021 , 08:14   Re: [L4D2] suicide blocker
Reply With Quote #11

Quote:
Originally Posted by Spirit_12 View Post
I also noticed this.

PHP Code:
if(JumpCount[victim] > 10)
{
    
//KickClientEx(client,"Have A Nice Day!");
    
JumpCount[victim] = 0;

I do like the kick feature. I think switching the jump count to a ConVar and allowing the kick feature based on a ConVar would be valuable additions to the plugin.
This only needs to be one ConVar. When the jump count ConVar is set to 0, treat the feature as disabled and only kick if the value is > 0.

FYI...there is a similar feature in MasterMind420's Survivor Griefer Protection plugin.
__________________
Mystik Spiral is offline
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 03-29-2021 , 10:04   Re: [L4D2] suicide blocker
Reply With Quote #12

I also think it would be a good idea to change this line...

PHP Code:
if(IsTriggerHurt(attacker) || (damagetype == 32 && damage health) ) 
...to...

PHP Code:
if (IsTriggerHurt(attacker) || (damagetype DMG_FALL && damage health)) 
This is to detect fall damage if there are other concurrent damages.
__________________
Mystik Spiral is offline
jeremyvillanueva
Member
Join Date: Jan 2021
Location: Lima
Old 04-08-2021 , 14:03   Re: [L4D2] suicide blocker
Reply With Quote #13

Hi,
On topic, it's nice to see that you remove the teleport on fire hurt,
a lot of the players went by the hallway and it was a mess,
How did you do that, I also think that there should be a threshold
of how much damage they receive and work in base of that,
Also, there is a easy way to protect players from damage like
the trailer explosion on c1m2, or the gas station one on c11m2 I think it was,

Also, your work is awesome dude,
May you create a github so I'll collaborate to you also,

About the survivor grief protection,
I've tested both plugins,
I couldn't make survivor grief protection teleport me on a suicide attempt,

BW,
jeremyvillanueva is offline
MasterMind420
Veteran Member
Join Date: Nov 2010
Old 04-09-2021 , 09:51   Re: [L4D2] suicide blocker
Reply With Quote #14

Quote:
Originally Posted by jeremyvillanueva View Post
Hi,
On topic, it's nice to see that you remove the teleport on fire hurt,
a lot of the players went by the hallway and it was a mess,
How did you do that, I also think that there should be a threshold
of how much damage they receive and work in base of that,
Also, there is a easy way to protect players from damage like
the trailer explosion on c1m2, or the gas station one on c11m2 I think it was,

Also, your work is awesome dude,
May you create a github so I'll collaborate to you also,

About the survivor grief protection,
I've tested both plugins,
I couldn't make survivor grief protection teleport me on a suicide attempt,

BW,
Survivor Griefer Protection teleport works, admins aren't affected by the plugin at all which was likely the case.
MasterMind420 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 19:53.


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