Raised This Month: $94 Target: $400
 23% 

Anti Fast Silence


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Exolent[jNr] (178)
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-20-2008 , 10:25   Anti Fast Silence
Reply With Quote #1

Anti Fast Silence



.: Description :.

Well, this plugin prevent players who are (un)silencing usp or m4a1 and who switch weapon from actually (un)silence their weapon.


.: Changelog :.
Code:
v0.0.4 (27april2010)
-updated with correct offsets names (no need to update)

v0.0.2
-fixed offset 74 has to be 4 for the m4a1 be silenced
Attached Files
File Type: sma Get Plugin or Get Source (anti_fast_silencer.sma - 1651 views - 3.4 KB)
__________________
- tired and retired -

Last edited by ConnorMcLeod; 04-27-2010 at 07:01.
ConnorMcLeod is offline
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 12-20-2008 , 10:55   Re: Anti Fast Silence
Reply With Quote #2

already exist

http://forums.alliedmods.net/showthread.php?p=698948
__________________
Find my plugins here..

Ex - Spanish Moderator.
Starsailor is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-20-2008 , 11:01   Re: Anti Fast Silence
Reply With Quote #3

Look the code of both plugins and you will understand. ^^
__________________
Arkshine is offline
FuZ!on
Senior Member
Join Date: Aug 2007
Old 12-21-2008 , 00:57   Re: Anti Fast Silence
Reply With Quote #4

In my opinion, there isn't a bug. It just seems like it. If you pay attention closely, you can not shoot the weapon (if you fast switch) right away. There is about a 1 second delay. When this happens, it take just as long as when you put the silencer on or took it off.
FuZ!on is offline
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 12-21-2008 , 04:28   Re: Anti Fast Silence
Reply With Quote #5

Quote:
Originally Posted by FuZ!on View Post
In my opinion, there isn't a bug. It just seems like it. If you pay attention closely, you can not shoot the weapon (if you fast switch) right away. There is about a 1 second delay. When this happens, it take just as long as when you put the silencer on or took it off.
Well, Valve thought it was a bug (since they changed it in CS:S), but your point makes sense.

Yet another great plugin from connor. I'm yet to find a plugin he wrote that wasn't useful, and well written. Thanks again. +k
__________________

Community / No support through PM
danielkza is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-21-2008 , 05:21   Re: Anti Fast Silence
Reply With Quote #6

Quote:
Originally Posted by FuZ!on View Post
In my opinion, there isn't a bug. It just seems like it. If you pay attention closely, you can not shoot the weapon (if you fast switch) right away. There is about a 1 second delay. When this happens, it take just as long as when you put the silencer on or took it off.
Well, that's your point and server administrators are free to install this, or not.
For information, the delay you are talking about is 3.0sec for usp and 2.0 for m4a1, and i remove it when i remove the bug.
Last thing, if you set the silencer on or off, switch weapon, then you can use another weapon while the silencer is being put on or off, so it can really be considered as an exploit.


@danielkza
Thanks, but first attempt to fix the bug was by NumB.
__________________
- tired and retired -
ConnorMcLeod is offline
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 12-21-2008 , 07:07   Re: Anti Fast Silence
Reply With Quote #7

First of all, this version FTW. Good code by connorr as always.

Second: even though time wasn't spared by exploiting this bug, it still adds a bit more realism. We all know, that if you start putting on a silencer to your weapon, and half way through put it in your backpack, it doesn't magically screw the rest itself.
__________________
I am not a number. I am Gordon Freeman!
Pro Patria Finland is offline
FuZ!on
Senior Member
Join Date: Aug 2007
Old 12-21-2008 , 19:21   Re: Anti Fast Silence
Reply With Quote #8

Yes, I am not trying to bad mouth your plugin or say it is a terrible idea. I am just saying what I thought. Good plugin none the less. Keep up the good work.
FuZ!on is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 12-22-2008 , 18:14   Re: Anti Fast Silence
Reply With Quote #9

Too.... much... private data.... feeling... dizzy...

The day I'll be as near as good as you at coding will either:
1) Never come.
2) Be one of the happiest days of my life.

+karma just because I'm jealous(I don't even use the plugins this forum offers).
__________________
O o
/¯________________________
| IMMA FIRIN' MAH LAZOR!!!
\_¯¯¯
Dores is offline
Costin83
Senior Member
Join Date: Jul 2008
Location: Romania
Old 12-29-2008 , 11:29   Re: Anti Fast Silence
Reply With Quote #10

Nice plugin

Only one inconvenience:
- USP (unsilenced) > sec. attack > fast-switch > (STILL UNSILENCED)
- USP (silenced) > sec. attack > fast-switch > (STILL SILENCED)
- M4a1 (unsilenced) > sec. attack > fast-switch > (STILL UNSILENCED)
- M4a1 (silenced) > sec. attack > fast-switch > (UNSILENCED)

- USP (unsilenced) > sec. attack > drop wpn > pick wpn > (STILL UNSILENCED)
- USP (silenced) > sec. attack > drop wpn > pick wpn > (STILL SILENCED)
- M4a1 (unsilenced) > sec. attack > drop wpn > pick wpn > (STILL UNSILENCED)
- M4a1 (silenced) > sec. attack > drop wpn > pick wpn > (UNSILENCED)

BTW: I like the code (method) you choosed

Last edited by Costin83; 12-29-2008 at 11:32.
Costin83 is offline
Send a message via Yahoo to Costin83
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 05:51.


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