Raised This Month: $ Target: $400
 0% 

KzHack Detector


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
OOE
Member
Join Date: Sep 2013
Old 12-21-2013 , 18:54   KzHack Detector
Reply With Quote #1

Hey, Im searching for a KzHack Detector (not Exolents) which Bans Player who uses KzHack on the Server automatically with AmxBans. I searched the forum but many of those doenst work or dont have amxbans support.
I dont want to use Exolents since it spams ur console and you cant get unbanned.
So can anyone send me the Link of a working KzHack which is good coded?

Thanks.

EDIT: I found this one now too, but can someone look voer the code if its working? And is it with amxbans support?
PHP Code:
/*    Formatright © 2009, ConnorMcLeod

    Kz Hack Detector is free software;
    you can redistribute it and/or modify it under the terms of the
    GNU General Public License as published by the Free Software Foundation.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Kz Hack Detector; if not, write to the
    Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.
*/

#include <amxmodx>

new const VERSION[] = "0.0.1"

new g_iSayText

public plugin_init()
{
    
register_plugin("Kz Hack Detector"VERSION"ConnorMcLeod")

    
g_iSayText get_user_msgid("SayText")
}

public 
client_putinserverid )
{
    
set_task(0.1"CheckCheatCvar"id)
}

public 
CheckCheatCvar(id)
{
    if( 
is_user_connected(id) )
    {
        
query_client_cvar(id"kzh_bhop""ClientCvarResult")
    }
}

public 
ClientCvarResult(id, const szCvar[], const szValue[])
{
    if( 
szValue[0] != 'B' )
    {
        new 
szName[32], szAuthid[32]
        
get_user_name(idszNamecharsmax(szName))
        
get_user_authid(idszAuthidcharsmax(szAuthid))
        
server_cmd("kick #%d Hack;wait;banid 0 %s;wait;writeid"get_user_userid(id), szAuthid)
        
ColorChat(0"^3%s ^4has been banned for ^3KzHack ^4!!"szName)
    }
}

ColorChat(idfmt[], any:...)
{
    new 
szMsg[192]
    
szMsg[0] = 0x04
    vformat
(szMsg[1], charsmax(szMsg)-1fmt3)

    
message_begin(id MSG_ONE MSG_ALLg_iSayText_id)
    {
        
write_byte(id id 1)
        
write_string(szMsg)
    }
    
message_end()


Last edited by OOE; 12-21-2013 at 19:02.
OOE is offline
 



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 20:38.


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