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

[L4D2] Friendly-Fire Protection Tool


Post New Thread Reply   
 
Thread Tools Display Modes
clutch22
Junior Member
Join Date: Dec 2010
Old 07-09-2011 , 00:50   Re: [L4D2] Friendly-Fire Protection Tool
Reply With Quote #11

Also, _punish won't work unless _attacker_redirect is enabled (thought they were separate..?)

Last edited by clutch22; 07-09-2011 at 02:57.
clutch22 is offline
Simca
Senior Member
Join Date: Feb 2012
Old 04-21-2012 , 23:28   Re: [L4D2] Friendly-Fire Protection Tool
Reply With Quote #12

I have this at top of cfg.
// Enables Display of person who is attacking teammates.
// -
// Default: "0"
l4d2_ffprotection_attacker_display "1"

// Attacker Display must be enabled. 1 (Center) 2 (Hint) 3 (Chat). If war, warn display, and attacker display enabled, encourage all 3 different values.)
// -
// Default: "0"
l4d2_ffprotection_attacker_display_type "2"


And this at the end. What does this do?

// 1 - Center Text 2 - Hint Text 3 - Chat Text. (Defaults to 1 if invalid selection. Should not be same as warn type due to conflict)
// -
// Default: "1"
l4d2_ffprotection_warn_display_type "3"

// 1 - Center Text (that small stuff) 2 - Hint Text 3 - Chat Text. (Defaults to 1 if invalid selection. Should not be same as display type due to conflict)
// -
// Default: "1"
l4d2_ffprotection_warn_type "3"
Simca is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 08-06-2012 , 16:34   Re: [L4D2] Friendly-Fire Protection Tool
Reply With Quote #13

Hello,

just a one warning :

Quote:
// F:\SRCDS\l4d2\left4dead2\left4dead2\addons\so urcemod\scripting\sky_ffpt_16r2.
sp(337) : warning 213: tag mismatch
line 337 :
Code:
BanClient(attackerUserId, Float:banTime, BANFLAG_AUTO, "Temp Ban: Excessive Friendly-Fire", "Temp Ban: Excessive Friendly-Fire", "sm_ban", attackerUserId);

Vey nice plugin if works, I will test !
eric0279 is offline
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 08-06-2012 , 17:07   Re: [L4D2] Friendly-Fire Protection Tool
Reply With Quote #14

Ah... I no longer support this plugin, as my manager plugin contains a friendly-fire module.
I may write a new, more simplistic version of a friendly-fire tool, but not likely since it's already included as a module to
my manager plugin, and since there are already several plugins out there that are designed to prevent griefing players.

Last edited by Skyy; 08-06-2012 at 17:10.
Skyy is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 08-06-2012 , 17:14   Re: [L4D2] Friendly-Fire Protection Tool
Reply With Quote #15

Ah ...

I have not found a plugin such as your compatible L4D2 ...

Anti Anti Tk Tk manager and simple not for me ...

I would tell you if there is ever a problem for any update ...
eric0279 is offline
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 08-06-2012 , 17:33   Re: [L4D2] Friendly-Fire Protection Tool
Reply With Quote #16

Manager is a pretty robust plugin, but it includes this feature which is why I have not created a new version. I could write up a new version relatively fast. If I have a moment, some time tonight, I will do so.
Skyy is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 08-06-2012 , 18:33   Re: [L4D2] Friendly-Fire Protection Tool
Reply With Quote #17

It works great, just a detail, kick the player is from when?

because I have a TK bot, well I lose HP in its place but I'm not kicked ...

Quote:
autokick is disabled for Let's Go!
Name Nickname Acc ├ ¿s Admin
1. Let's Go! custom (1)
2. Zoey none
3. Louis none
4. Francis none
Let's Go! Attacked Francis
Let's Go! Attacked Francis
Let's Go! Attacked Francis
Let's Go! Attacked Francis
Let's Go! Attacked Francis
Let's Go! Attacked Francis
Let's Go! Attacked Francis
Let's Go! Attacked Francis
Let's Go! Attacked Francis
Let's Go! Attacked Francis
Let's Go! Attacked Francis
Let's Go! Attacked Francis
Let's Go! Attacked Francis
I can get the time I want, I am at 1hp and after the bot heals me without my being kicked and seeing no check if an admin flag is present, I think I should be kicked ....

.cfg :
Code:
// This file was auto-generated by SourceMod (v1.4.4)
// ConVars for plugin "sky_ffpt_16r2.smx"


// Enables Display of person who is attacking teammates.
// -
// Default: "0"
l4d2_ffprotection_attacker_display "0"

// Attacker Display must be enabled. 1 (Center) 2 (Hint) 3 (Chat). If war, warn display, and attacker display enabled, encourage all 3 different values.)
// -
// Default: "0"
l4d2_ffprotection_attacker_display_type "0"

// Enable or Disable the redirection of Friendly Fire upon the attacker.
// -
// Default: "1"
l4d2_ffprotection_attacker_redirect "1"

// Friendly-Fire Limit at which to Ban Offender. 0 Disables. (Overrides Kick.)
// -
// Default: "0"
l4d2_ffprotection_ban "0"

// Enable or Disable the plugin.
// -
// Default: "1"
l4d2_ffprotection_enable "1"

// FF Damage Limit Enabled or Disabled. (Must be ON for Kick/Ban/Slay
// -
// Default: "1"
l4d2_ffprotection_fflimit "1"

// Enable or Disable Friendly-Fire through Molotov usage.
// -
// Default: "0"
l4d2_ffprotection_fire "0"

// Friendly-Fire Limit at which to Kick Offender. 0 Disables.
// -
// Default: "1"
l4d2_ffprotection_kick "1"

// If at least 1, will kick offender this many times prior to ban. If 0, will never kick.
// -
// Default: "1"
l4d2_ffprotection_kickmax "1"

// Punish the Attacking Teammate?
// -
// Default: "1"
l4d2_ffprotection_punish "1"

// Amount of damage offender receives. If 0, received is same as dealt.
// -
// Default: "1"
l4d2_ffprotection_punish_amount "1"

// Reset Friendly-Fire At the end of the campaign?
// -
// Default: "1"
l4d2_ffprotection_reset_finale "1"

// Reset Friendly-Fire At the end of the round? (Overrides campaign reset)
// -
// Default: "1"
l4d2_ffprotection_reset_round "1"

// If Enabled, shows full detail. Show victim, and attacker display must be enabled for this to work.
// -
// Default: "0"
l4d2_ffprotection_show_detail "0"

// If Attacker Display Enabled, Enables or Disables showing the victim.
// -
// Default: "0"
l4d2_ffprotection_show_victim "0"

// When set above 0, will kill attacker when they pass the Friendly-Fire Limit set here.
// -
// Default: "0"
l4d2_ffprotection_slay "0"

// Enable or Disable the plugin from slaying offenders.
// -
// Default: "0"
l4d2_ffprotection_slay_enabled "0"

// If ban is enabled, the amount of time in minutes to ban the offender.
// -
// Default: "3600"
l4d2_ffprotection_timeban "3600"

// Enable or Disable healing victim of damage received from Friendly-Fire.
// -
// Default: "1"
l4d2_ffprotection_victim_heal "1"

// Enable or Disable Warning Attacker.
// -
// Default: "1"
l4d2_ffprotection_warn "1"

// Enables or Disables showing player damage amount caused by their friendly-fire.
// -
// Default: "1"
l4d2_ffprotection_warn_display "1"

// 1 - Center Text 2 - Hint Text 3 - Chat Text. (Defaults to 1 if invalid selection. Should not be same as warn type due to conflict)
// -
// Default: "1"
l4d2_ffprotection_warn_display_type "1"

// 1 - Center Text (that small stuff) 2 - Hint Text 3 - Chat Text. (Defaults to 1 if invalid selection. Should not be same as display type due to conflict)
// -
// Default: "2"
l4d2_ffprotection_warn_type "2"

// Sky_ffpt_Ver
// -
// Default: "1.6r2"
sky_ffpt_ver "1.6r2"
Manager may be a very good plugin but I personally have not actually need.


An update your plugin would be much appreciated.
eric0279 is offline
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 08-06-2012 , 19:32   Re: [L4D2] Friendly-Fire Protection Tool
Reply With Quote #18

As I said, this plugin will not be updated, I no longer support it, and it should be moving to unapproved thread soon.
Skyy is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 08-06-2012 , 19:51   Re: [L4D2] Friendly-Fire Protection Tool
Reply With Quote #19

Ok ..

could just tell me how to trigger the kick from that TK?

I would try to fix this bug if I can figure out'' what you did.


Slay Works ! ^^

edit :
Hmm, after some testing, there are too many bugs and I do not have enough experience yet to correct.

Too bad ...

Last edited by eric0279; 08-06-2012 at 20:26.
eric0279 is offline
SilentBr
Veteran Member
Join Date: Jan 2009
Old 10-26-2012 , 17:19   Re: [L4D2] Friendly-Fire Protection Tool
Reply With Quote #20

this plugin lags linux servers when they are empty.
SilentBr 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 09:52.


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