AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   KzHack Detector (https://forums.alliedmods.net/showthread.php?t=231879)

OOE 12-21-2013 18:54

KzHack Detector
 
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()



Don_Collione 12-22-2013 22:09

Re: KzHack Detector
 
http://forums.alliedmods.net/showthr...&highlight=kzh

http://forums.alliedmods.net/showthr...&highlight=kzh

http://forums.alliedmods.net/showthr...&highlight=kzh

http://forums.alliedmods.net/showthr...&highlight=kzh

OOE 12-23-2013 13:42

Re: KzHack Detector
 
Sending me 3 unapproved plugins who doenst work correctly and a trashed plugin? Seriously?


All times are GMT -4. The time now is 20:38.

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