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

Universal Anti KzHack v1.8


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
-=hunter=-
Senior Member
Join Date: Jul 2008
Old 08-04-2010 , 14:12   Universal Anti KzHack v1.8
Reply With Quote #1

Universal Anti KzHack v1.8

Description: plugin kicks players which connected on a server with KzHack.

This version of Anti KzHack also works for old clients!

Cvar:
kzh_notify_players - notify players with color message when player will punished (default: 1)

Installation:
1) Compile plugin and move it to "addons\amxmodx\plugins"
2) Add line "anti_kzhack.amxx" in the file "addons\amxmodx\configs\plugins.ini"

Credits: ConnorMcLeod
Idea: wext

Changelog:
v1.8 - removed punish "ban" (see below), instead of this player will kicked with reason (see sma)

[Remark for v1.8]
There are one problem because of which the plugin can to punish any player. It is all that there are servers which independently to you establish aliases. If such server establishes to you alias kzh_exec and after that you will join on the server with this anti_kzhack then you will be punished.
Because of this I removed ban in v1.8 and changed kick reason (you can edit it in sma).
Attached Files
File Type: sma Get Plugin or Get Source (anti_kzhack.sma - 5764 views - 4.0 KB)

Last edited by -=hunter=-; 10-17-2010 at 09:00.
-=hunter=- is offline
Send a message via ICQ to -=hunter=- Send a message via Skype™ to -=hunter=-
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-04-2010 , 14:31   Re: Universal Anti KzHack
Reply With Quote #2

alias kzh_exec ""
WIN
__________________
xPaw is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 08-04-2010 , 14:38   Re: Universal Anti KzHack
Reply With Quote #3

Quote:
Originally Posted by -=hunter=- View Post
This version of Anti KzHack also works for old clients!
Sweet! Now I can show grandpa who's boss.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 08-04-2010 , 15:09   Re: Universal Anti KzHack
Reply With Quote #4

You don't need amxmisc include.

Last edited by BeasT; 08-04-2010 at 15:33.
BeasT is offline
Send a message via Skype™ to BeasT
-=hunter=-
Senior Member
Join Date: Jul 2008
Old 08-04-2010 , 21:24   Re: Universal Anti KzHack
Reply With Quote #5

Quote:
Originally Posted by xPaw View Post
alias kzh_exec ""
WIN
KzHack have many commands.


Updated to version 1.1
-=hunter=- is offline
Send a message via ICQ to -=hunter=- Send a message via Skype™ to -=hunter=-
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 08-05-2010 , 10:08   Re: Universal Anti KzHack v1.1
Reply With Quote #6

Also add bot check, so they wont get kicked.
BeasT is offline
Send a message via Skype™ to BeasT
-=hunter=-
Senior Member
Join Date: Jul 2008
Old 08-05-2010 , 10:48   Re: Universal Anti KzHack v1.2
Reply With Quote #7

Quote:
Originally Posted by BeasT View Post
Also add bot check, so they wont get kicked.
Thanks for remark.

Updated to 1.2
-=hunter=- is offline
Send a message via ICQ to -=hunter=- Send a message via Skype™ to -=hunter=-
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 08-05-2010 , 11:25   Re: Universal Anti KzHack v1.1
Reply With Quote #8

Quote:
Originally Posted by BeasT View Post
Also add bot check, so they wont get kicked.
bots with kzh? cool..
__________________
I am out of order!
grimvh2 is offline
-=hunter=-
Senior Member
Join Date: Jul 2008
Old 08-05-2010 , 11:32   Re: Universal Anti KzHack v1.2
Reply With Quote #9

grimvh2
I now tested with bots and v1.1. Server kicked them with reason "Sorry. Ping timeout" so it do not received response command from them.

Last edited by -=hunter=-; 08-05-2010 at 11:34.
-=hunter=- is offline
Send a message via ICQ to -=hunter=- Send a message via Skype™ to -=hunter=-
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 08-05-2010 , 14:46   Re: Universal Anti KzHack v1.2
Reply With Quote #10

Why you kick the player?
Maybe it would be better to recheck him?
Code:
    else if(is_user_connected(id))
    {
        set_task(2.0, "send_kzh_exec", id)
        set_task(3.0, "send_kzh_exec", id)
        set_task(4.0, "send_kzh_exec", id)    
    
        set_task(6.0, "check_and_punish", id)
    }
BeasT is offline
Send a message via Skype™ to BeasT
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 07:23.


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