PDA

View Full Version : DoD Anti No-Scope ( v2.0c beta )


Firestorm
07-08-2006, 11:52 AM
// DESCRIPTION:
// ============
//
// This Plugin is for Day of Defeat ONLY!
// It warns/punishes snipers that kill enemies (and team mates) with
// their sniper-rifle without using the scope.
// It's useful to prevent cheating snipers that mark the center
// of the screen (or use special custom crosshairs) from using their
// one-shot-kill rifles in close combat and for distance shots
// without needing the time for bringing up the scope.

// USAGE (cvars for amxx.cfg):
// ===========================
//
// dod_antinoscope 1 = enable the plugin by default
//
// antinoscope_warnings = amount of warnings a no-scoper gets
// before punishing him.
// (set to 0 for instant punishment)
//
// antinoscope_mode <0/1/2/3> = punishment after exceeding warnings:
// - Slap (mode 0)
// - Slay (mode 1)
// - Kick (mode 2)
// - Ban (mode 3)
//
// antinoscope_slapdmg = sets the amount of damage a user takes
// from being slapped (mode 0)
//
// antinoscope_bantime = sets the time in minutes to ban a
// no-scoper (mode 3)

// CHANGELOG:
// ==========
//
// - 27.07.2004 Version 1.0a
// Initial Release
//
// - 02.08.2004 Version 1.0b
// As requested by some people, you have two options on how to let the
// plugin react on no-scopers now.
// 1. the plugin just tells the no-scoper that it is forbidden and that
// he/she has a pistol and a knife for close combat.
// 2. the plugin slays the no-scoper after he/she killed another player
// and globally announces it.
// Change the line "//#define KILL_NOSCOPER" to "#define KILL_NOSCOPER"
// if you prefer the no-scoper to be slayed.
// Leave it as it is if you just want to warn him/her to stop it.
//
// - 05.08.2004 Version 1.0c
// As requested, i did another change and removed the standard
// "warn only"-mode and replaced it with 2 warnings, suicide
// on 3rd warning and kick after 4th no-scoped kill.
// i think that was what most of you wanted.
// but you can still use the "slay on no-scoped kill"-mode if you like,
// then just change "//#define KILL_NOSCOPER" to "#define KILL_NOSCOPER".
// if you want to use the "warn and kick"-mode leave the file as is.
//
// - 27.09.2004 Version 2.0a
// updated the plugin to use DoDx functions,
// so it will run a bit smoother
//
// - 16.10.2004 Version 2.0b (still beta :P)
// added a cvar to enable/disable the plugin
//
// - 07.11.2004 Version 2.0c beta
// this is a big update, as the plugin can be totally
// changed to your needs now!
// added features:
// * definable amount of warnings (instant action possible as well)
// * definable action after reaching X/X warnings:
// - slap (damage definable)
// - slay
// - kick
// - ban (bantime definable)

<SK> | AussieAdam
12-22-2006, 05:38 AM
(i mean no offence)
what about people that no scope but dont cheat.

i know that durring a close fight i will use my side arm but when the clip runs out, i out of habbit, hit "q" which draws my sniper, i then will try and pull a shot off no-scope. some times i do hit the ememy, mostly i don't tho.

still i can't code to save my life so good job.

Adam

diamond-optic
12-22-2006, 09:30 PM
lol well theres no way to detect if the person is 'cheating'

so this is mainly for people who want to like stop all no scoping on their server.. (dont ask me why lol)

=|[76AD]|= TatsuSaisei
12-23-2006, 01:07 PM
so this is mainly for people who want to like stop all no scoping on their server.. (dont ask me why lol)

I wish I knew why too, I once got banned form a server because of my reflexes. Was on Kalt on a server that hated no-scoping melee snipers. I found myself as an Axis in the Allies broken tank house by first flag and was rushed by three people, killed one no scope (clan member whose server i was on) knifed another and got shot by the third... spawned, got a message from admin about no-scoping then got kicked and banned... so some people DO take it pretty seriously. While I do not agree, I do respect...

tegu
12-23-2006, 02:20 PM
|= TatsuSaisei;2870']I wish I knew why too, I once got banned form a server because of my reflexes. Was on Kalt on a server that hated no-scoping melee snipers. I found myself as an Axis in the Allies broken tank house by first flag and was rushed by three people, killed one no scope (clan member whose server i was on) knifed another and got shot by the third... spawned, got a message from admin about no-scoping then got kicked and banned... so some people DO take it pretty seriously. While I do not agree, I do respect...
While I understand slightly, I do not agree with their mentality what-so-ever.
The whole thought of banning or even kicking someone for being skilled is ridiculous. I would understand if you had been no scoping 5 or 6 people straight and then switch off between and knife people... yeah maybe then I would want to take a closer look.

What it comes down to though Tatsu, is that you were making a clan look bad by yourself and they couldnt take it.

No scoping is an art when done without the dot on the screen. I am quite proficient at it and do it often.... well when I stoop to sniping (isnt often nowdays)

Plugin is good quality though!

=|[76AD]|= TatsuSaisei
12-23-2006, 02:59 PM
No scoping is an art when done without the dot on the screen!

agreed, succesfully using any weapon without a crosshair takes skill

TigerMan4
12-25-2006, 03:07 AM
I cant wait to add this to my server.

I had a guy pleading his case now for a week over being tossed for no-scoping people.

This guy no-scopes from the entire distance of the map and gets head shots , and when you spec him , he never brings his gun up , he says "he brings it up so fast that you dont see it"

THANK YOU for this plugin !

diamond-optic
12-25-2006, 08:08 PM
well you can aim at someone.. click the zoom and fire before the scope comes up and you still get the accuracy you would while zoomed in..

..but to make headshots across the map.. thats kinda shady..

TigerMan4
12-27-2006, 08:40 PM
is there anyway to completely stop people from no-scoping ? via a plugin ?

say...if there gun is down they cannot fire at all ?

=|[76AD]|= TatsuSaisei
12-28-2006, 03:51 AM
is there anyway to completely stop people from no-scoping ? via a plugin ?

say...if there gun is down they cannot fire at all ?
done !! currently testing right now... should be posted shortly !! :eek:

TigerMan4
12-28-2006, 10:00 AM
Sweet ! thank you very much sir.

=|[76AD]|= TatsuSaisei
12-28-2006, 02:38 PM
The only problem that kept me from posting this last night as promised and still yet today is an issue with the British and I can not seem to get the plugin to recognize when a Scoped Enfield is being currently held. It works sweet on the Springfield and Scoped Kar, but British are still able to fire none-scoped...

I have a few ideas on a work around but if I can not figure it out in the next few hours I will post what I do have and you can start blocking the axis and allies atleast...

TigerMan4
12-28-2006, 04:34 PM
I dont really have a problem with the brits as much , because of the amount of maps with brits on them. ( I think we only play 2 ) (jagd and flash) and we dont play them as much. as allied and axis maps.

what happend was , guys who consistantly no-scope got mad at being slain after 3 no-scopes.

also , would there be a way to make the no-scope plugin , go by consecutive kills , not total kills ?

meaning , you no-scope 3 guys in a row you get slain but if you no-scope 3 guys a map you dont? provided you kill somone properly in the middle of the 3 kills ? or die in the middle of 3 no-scopes ?

=|[76AD]|= TatsuSaisei
12-28-2006, 05:07 PM
is there anyway to completely stop people from no-scoping ? via a plugin ?

say...if there gun is down they cannot fire at all ?
http://www.dodplugins.net/forums/showthread.php?t=553