PDA

View Full Version : DoD AntiCamping ( v0.6beta )


Firestorm
07-08-2006, 11:50 AM
// DESCRIPTION:
// ============
//
// DoD AntiCamping is a simple but powerful plugin
// to automatically handles and encourages campers to take
// flags and fulfill the aim of Day of Defeat.
// Snipers and MGs are excluded from checking and punishments!
//
//
//
// FEATURES:
// =========
//
// This Plugin is for Day of Defeat ONLY!
//
// DoD AntiCamping has three modes:
//
// MODE 1:
// This setting activates the "camptime" mode of DoD AntiCamping.
// X seconds after a kill, the killer is checked if he's still
// on the same position and a positiv camper check is made.
// after each positive camper check, the players positive checks will
// be compared to the set actions and if the amount fits to an action,
// it will be executed.
//
// MODE 2:
// This only Mode only applies for proned players.
// if a player is proned/proned+deployed/deployed, he will be checked
// if he is still in one of those states and the same position after
// Y seconds and a positive camper check is made if he is.
// after each positive camper check, the players positive checks will
// be compared to the set actions and if the amount fits to an action,
// it will be executed.
//
// MODE 3:
// This setting activates the "kills/flag-ratio" mode of DoD AntiCamping.
// If a player exceeds the set ratio of kills devided by flagpoints,
// a positive camper check is made and is compared to the actions again.
// after an action took place, his flag-account and his kill-account
// is reset (independent from kills/score of the scoreboard).
// counted are only positive camper checks.
//
// MODE 0:
// This setting will completely disable DoD AntiCamping.

// USAGE (all cvars for amxx.cfg):
// ===============================
//
// dod_anticampingmode <1/2/3/0> = sets mode for DoD AntiCamping
//
// anticamping_startcheck = number of kills to start
// checking for kill/flag-ratio
// (Mode 3 ONLY)
// anticamping_killflagratio = sets kill/flagratio to identify
// campers. (Mode 3 ONLY)
// anticamping_pronetime = sets time in seconds someone
// is allowed to be proned and on
// same position after a kill.
// (Mode 2 ONLY)
// anticamping_camptime = sets time in seconds someone
// is allowed to be at the same
// position after a kill
// (Mode 1 ONLY)
// anticamping_glow = sets amount of positiv camping
// checks to make the player glow
// anticamping_slapglow = sets amount of positiv camping
// checks to slap a player and make
// anticamping_slapdamage = sets amount of damage to cause by
// slapping the player
// anticamping_knifeonly = sets amount of positiv camping
// checks to only allow the player
// to use a knife/spade
// anticamping_slay = sets amount of positiv camping
// checks to slay a player
// anticamping_kick = sets amount of positiv camping
// checks to kick a player

// CHANGELOG:
// ==========
//
// - 01.11.2004 Version 0.5alpha
// Initial Alpha-Release
//
// - 21.11.2004 Version 0.6beta
// * slightly changed the modes a bit
// * added autochange of mode for certain
// maps that have objectives instead of
// flags (besides para maps), this applies
// when Mode3 was chosen and will be switched
// to Mode1
// * changed name to "DoD AntiCamping"
// * changed status to Beta

lapantera
08-18-2006, 04:16 PM
// DESCRIPTION:
// ============
//
// DoD AntiCamping is a simple but powerful plugin
// to automatically handles and encourages campers to take
// flags and fulfill the aim of Day of Defeat.
// Snipers and MGs are excluded from checking and punishments!
//
//
//
// FEATURES:
// =========
//
// This Plugin is for Day of Defeat ONLY!
//
// DoD AntiCamping has three modes:
//
// MODE 1:
// This setting activates the "camptime" mode of DoD AntiCamping.
// X seconds after a kill, the killer is checked if he's still
// on the same position and a positiv camper check is made.
// after each positive camper check, the players positive checks will
// be compared to the set actions and if the amount fits to an action,
// it will be executed.
//
// MODE 2:
// This only Mode only applies for proned players.
// if a player is proned/proned+deployed/deployed, he will be checked
// if he is still in one of those states and the same position after
// Y seconds and a positive camper check is made if he is.
// after each positive camper check, the players positive checks will
// be compared to the set actions and if the amount fits to an action,
// it will be executed.
//
// MODE 3:
// This setting activates the "kills/flag-ratio" mode of DoD AntiCamping.
// If a player exceeds the set ratio of kills devided by flagpoints,
// a positive camper check is made and is compared to the actions again.
// after an action took place, his flag-account and his kill-account
// is reset (independent from kills/score of the scoreboard).
// counted are only positive camper checks.
//
// MODE 0:
// This setting will completely disable DoD AntiCamping.

God :) do you spike spanish.A'm From Argentinean

Ba5ic
01-14-2007, 01:07 PM
In an effort to minimise the amount of camping on my server , i installed this plugin, but as far as i can see nothing is actually happening, here are the cvars i have set , can anyone see what might be causing the issue?.

// USAGE (all cvars for amxx.cfg):
// ===============================
//
dod_anticampingmode 1 = sets mode for DoD AntiCamping
//
anticamping_startcheck 1 = number of kills to start
// checking for kill/flag-ratio
// (Mode 3 ONLY)
anticamping_killflagratio 1 = sets kill/flagratio to identify
// campers. (Mode 3 ONLY)
anticamping_pronetime 15 = sets time in seconds someone
// is allowed to be proned and on
// same position after a kill.
// (Mode 2 ONLY)
anticamping_camptime 15 = sets time in seconds someone
// is allowed to be at the same
// position after a kill
// (Mode 1 ONLY)
anticamping_glow 3 = sets amount of positiv camping
// checks to make the player glow
anticamping_slapglow 3 = sets amount of positiv camping
// checks to slap a player and make
anticamping_slapdamage 10 = sets amount of damage to cause by
// slapping the player
anticamping_knifeonly = sets amount of positiv camping
// checks to only allow the player
// to use a knife/spade
anticamping_slay 5 = sets amount of positiv camping
// checks to slay a player
anticamping_kick 5 = sets amount of positiv camping
// checks to kick a player
//



TIA

{SR} *Raggy*
01-14-2007, 02:09 PM
Plugin might need to be updated by the developers due to recent updates in the AmxModX Versions

Ba5ic
01-15-2007, 11:50 AM
Thanks Raggy, in the meantime anyone know of a decent anti camping plugin i can use in the interim?

Ba5ic
01-20-2007, 05:05 AM
Plugin might need to be updated by the developers due to recent updates in the AmxModX Versions


Does this need updating , if so can anyone say when, as i'm in need a descent anti camp plugin! :(

TIA.

oddball
02-12-2008, 08:47 PM
will this work on amx 1.8???

jondoe
02-13-2008, 04:54 PM
dod_badcamper FTW

Ba5ic
02-13-2008, 05:10 PM
dod_badcamper FTW


Link please?

jondoe
02-13-2008, 06:46 PM
Link please?

Dont get me wrong feuersturms plugin is an excellent plugin and works perfect.
I just prefer to use this because it does everything i want it too and works well with the other plugins i run. So try them both out to see which one suits you best for your server.
http://forums.alliedmods.net/showthread.php?p=156560


Here are my configuration settings for this plugin.


//BAD camper cvars

badcamper_punish 2 //1: Slap
//2: Health Reduction
//4: Sound (set sound via badcamper_sound)
//8: Blind
//16: Money Reduction (requires CSTRIKE module)
//32: Snark Attack (requires Monster Mod with Snarks enabled)
//The default is 12 (snore and blind).

badcamper_sound 2 //1: Snore
//2: Heartbeat
//The default is 1 (snore).

badcamper_limit 35 //The default is 35 seconds.

badcamper_display 1

badcamper_show_spec 1 //show spectators <0|1>

badcamper_check_all 1 //check one or both teams <0|1>

badcamper_immunity_flags a

badcamper_start 10

badcamper_damage_reset 3 //0: No meters are reset.
//1: The attacker's meter is reset.
//2: The defender's meter is reset.
//3: Both meters are reset.
//The default is 3.

badcamper_damage_restart 40 //meter restart time after damage

badcamper_health 1 //how much HP will be removed at 100% meter

badcamper_allow 0 //allow a team to camp when being checked

badcamper_min_players 0 //minimum players on the server before allowed to camp

badcamper_announce 1 //0: Make no announcement.
//1: Announce via chat.
//2: Announce via HUD.
//3: Announce via chat and HUD.
//The default is 3 (chat and HUD).


So basicaly what happens is if a player camps for too long they get snark attacked or they start getting hurt for X amount of HP until they move there ass.

Ba5ic
02-15-2008, 04:38 AM
[QUOTE=jondoe;9160]

Does this take into consideration proned MG players?.

Also the .sma file from the allied modders forum gives 2 errors when i try and compile 1.8 with our compiler, however it compiled 1.76 using the amxx site compiler.

Thanks!

jondoe
02-15-2008, 11:41 AM
it will effect all classes. I think this plugin is best used on cs servers in order to stop a player from just camping when it gets down to 1v1. Thats why i hate cs.

I no longer use it on my servers because we just tell the player that's being lame, ie: Camping in a room with an mg pointed at the door, to either move or be perma banned.

camp or not 99.999% of all players that come to my servers get destroyed, Because they have no clue about the game strats or how to clear windows,doorways,corners, ect.

If you know how to do shoulder flicks then you can clear any line of fire, Even if a player is camping, preaimed at a certain spot with a sniper or mg. You're goal is to flick any corner that a player may be preaimed at.

By flick i mean a quick strafe out and then back in, Just enough to make the preaimed player fire and miss and then have to reload. At that point you either pop out and blow them away with a rifle shot, or if you have an auto move to a spot that has defilade. Then you can either nade the target or flank them or whatever.

In short, If you know how the game should be played, You can own anyone.
I have beaten many of the complexity, and pandemic krew on my servers in the past years because when there alone or just with one other teammate, And there's 10,12 or 15 sets of enemy eyes on them, Their league tactics dont apply.

Well this reply is getting long in the tooth and i didn't mean to bend any ears or have this turn into a dod tutorial. But sufice to say, if your a good player ( CAL M or better) then you shouldn't need this plugin because campers can easily be defeated.

They just end up leaving my server because they get tortured. Cheers.

oddball
02-16-2008, 08:41 AM
ok here comes my silly questions again

Righ i've put all the files in the right place. it works on the server..but where do i add the cvars setting u put up???

Ba5ic
02-16-2008, 11:28 AM
ok here comes my silly questions again

Righ i've put all the files in the right place. it works on the server..but where do i add the cvars setting u put up???

Put the cvars in your amxx.cfg file which should be in the configs folder.

jondoe
02-16-2008, 03:14 PM
#14 ftw ;)