Raised This Month: $32 Target: $400
 8% 

Anti Smoke detector.


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose       
abhishek_deshkar
Senior Member
Join Date: Jun 2013
Location: Earth
Old 03-22-2016 , 09:29   Anti Smoke detector.
Reply With Quote #1

Description :

You might be aware of Anti Smoke trick in CS 1.6.
Go to this Path. [ CS 1.6 Installation Path ]
Steam\SteamApps\common\Half-Life\cstrike\sprites\gas_puff_01.spr

When you modify this file("gas_puff_01.spr") or delete it, the smoke effect wont work.

Here you go!
You wont see smoke and u will able to make shot through it. This is very old known bug But I had no solution for that so that I can detect which client is using this trick. So decided to make a plugin.
This plugin will detect users who is using this trick and will kick them as well and it will save their steam id in addons/amxmodx/configs/smoke.txt file.

Note : If your server is Multi-Mode or your server forces to download something to the user then don't use this plugin because sv_allowdownload "0" will be set to 0 and mp_consistency "1"

Installation :
Installation is same as you do for normal plugin.
Attached Files
File Type: sma Get Plugin or Get Source (antismokecheck.sma - 1870 views - 922 Bytes)

Last edited by abhishek_deshkar; 03-23-2016 at 11:34.
abhishek_deshkar is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 03-22-2016 , 12:08   Re: Anti Smoke detector.
Reply With Quote #2

1.Remove the .amxx file.
2.Files Check
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
abhishek_deshkar
Senior Member
Join Date: Jun 2013
Location: Earth
Old 03-22-2016 , 12:23   Re: Anti Smoke detector.
Reply With Quote #3

Quote:
Originally Posted by wickedd View Post
1.Remove the .amxx file.
2.Files Check
Done !

It doesn't record user's details in the file and plugin has not valid name since not everybody will check with that title. Hope this makes sense.

Last edited by abhishek_deshkar; 03-22-2016 at 12:53.
abhishek_deshkar is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 03-22-2016 , 14:01   Re: Anti Smoke detector.
Reply With Quote #4

Edit: Nevermind, I should refresh the page before posting :O
__________________

Last edited by HamletEagle; 03-22-2016 at 14:01.
HamletEagle is offline
OnlyX
BANNED
Join Date: Mar 2015
Old 03-22-2016 , 22:35   Re: Anti Smoke detector.
Reply With Quote #5

Actually this is a good plugin for PUG servers. Thanks.
OnlyX is offline
abhishek_deshkar
Senior Member
Join Date: Jun 2013
Location: Earth
Old 03-22-2016 , 22:51   Re: Anti Smoke detector.
Reply With Quote #6

Quote:
Originally Posted by HamletEagle View Post
Edit: Nevermind, I should refresh the page before posting :O
Sir, You can approve plugin because this plugin is helpful for online tournaments and for AutoMix(CLAN) servers. ^_^
abhishek_deshkar is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 03-22-2016 , 23:20   Re: Anti Smoke detector.
Reply With Quote #7

Well, the other plugin already does this and more. Also, putting the steam id in a file is pointless. To finish, did you even opened the sma? Lines are messed up, seems like copy/paste code.
__________________
Jhob94 is offline
abhishek_deshkar
Senior Member
Join Date: Jun 2013
Location: Earth
Old 03-22-2016 , 23:25   Re: Anti Smoke detector.
Reply With Quote #8

Quote:
Originally Posted by Jhob94 View Post
Well, the other plugin already does this and more. Also, putting the steam id in a file is pointless. To finish, did you even opened the sma? Lines are messed up, seems like copy/paste code.
No mate not copy pasted Actually made without code editor. And tell me which plugin does this specific job ? Not everybody is technically sound in this stuff And recording the steam id is useful when you want to catch your server admins who are using this this trick so that you can remove them.

Last edited by abhishek_deshkar; 03-22-2016 at 23:57.
abhishek_deshkar is offline
luxor
Member
Join Date: Jan 2014
Old 03-23-2016 , 06:05   Re: Anti Smoke detector.
Reply With Quote #9

can you tell me why you used force_unmodified twice ? once in plugin_init() and once in plugin_precache()
luxor is offline
abhishek_deshkar
Senior Member
Join Date: Jun 2013
Location: Earth
Old 03-23-2016 , 11:34   Re: Anti Smoke detector.
Reply With Quote #10

Quote:
Originally Posted by luxor View Post
can you tell me why you used force_unmodified twice ? once in plugin_init() and once in plugin_precache()
Thanks ! Fixed
abhishek_deshkar 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 10:15.


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