Raised This Month: $ Target: $400
 0% 

Anti KZhack by Niscree v5.3


Post New Thread Reply   
 
Thread Tools Display Modes
kp3t3h
Senior Member
Join Date: Feb 2011
Old 09-06-2011 , 15:55   Re: Anti KZhack by Niscree v5.3
Reply With Quote #41

nsc_kz_btime 0
doesnt ban permanently
kp3t3h is offline
niscree
Junior Member
Join Date: Oct 2010
Location: Poland
Old 09-06-2011 , 16:58   Re: Anti KZhack by Niscree v5.3
Reply With Quote #42

nsc_kz_punish "2"
niscree is offline
Send a message via Skype™ to niscree
kp3t3h
Senior Member
Join Date: Feb 2011
Old 09-06-2011 , 18:20   Re: Anti KZhack by Niscree v5.3
Reply With Quote #43

Quote:
Originally Posted by niscree View Post
nsc_kz_punish "2"
it is on 2

i had to put a high value instead, like 999999999999
kp3t3h is offline
gamer99
Senior Member
Join Date: Jul 2011
Old 09-07-2011 , 04:15   Re: Anti KZhack by Niscree v5.3
Reply With Quote #44

Code:
public reklama() {
set_hudmessage ( 255, 0, 0, 0.02, 0.63, 1, 5.0, 10.0, 0.1, 0.2, -1 );
show_hudmessage(0, "This Server is protected with ^nAnti KZH by Niscree");
}
Seems like your are more focused on advertising yourself rather than making it better ;).
__________________
Thanks and regards,
Gamer99
gamer99 is offline
xStk
Member
Join Date: Jun 2011
Old 09-07-2011 , 05:16   Re: Anti KZhack by Niscree v5.3
Reply With Quote #45

L 08/29/2011 - 17:47:19: [AMXX] Invalid Plugin (plugin "Anty_Kzh_by_Niscree_EN.amxx")
L 08/29/2011 - 17:58:44: Start of error session.
xStk is offline
trup1k
Member
Join Date: Nov 2009
Old 09-07-2011 , 06:03   Re: Anti KZhack by Niscree v5.3
Reply With Quote #46

PHP Code:
#include <amxmodx>
#include <chatcolor>

#define PLUGIN     "Anti KzH"
#define VERSION    "5.0"
#define AUTHOR     "unknown"

new reason[23][128]
new 
g_szLog[128]

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
get_localinfo("amxx_datadir"g_szLogcharsmax(g_szLog))
    
add(g_szLogcharsmax(g_szLog), "/KZHackers.txt")
}
    
public 
client_putinserver(id) {
    
remove_task(id)
    
set_task(0.1"kzh_check"id)
}

public 
kzh_check(id) {
    if(
is_user_connected(id))
    {
        
query_client_cvar(id"kzh_bhop""kzh")
        
query_client_cvar(id"kyk_bhop""kyk")
        
query_client_cvar(id"m4c_bhop""trk")
        
query_client_cvar(id"zhy_bhop""zhyk")
        
query_client_cvar(id"zhe_hope""zhyk")
        
query_client_cvar(id"zhykz_bhop""zhyk")
        
query_client_cvar(id"^^_^^<bhop""nkz")
        
query_client_cvar(id"n1k<bhop""nkz")
        
query_client_cvar(id"nkz_bhop""nkz")
        
query_client_cvar(id"nik_bhop""nkz")
        
query_client_cvar(id"fpt_bhop""kzc")
        
query_client_cvar(id"str_bhop""kzc")
        
query_client_cvar(id"fuh_hope""kzc")
        
query_client_cvar(id"vip_hope""kzc")
        
query_client_cvar(id"kid_bhop""kzc")
        
query_client_cvar(id"tvx_bhop""kzc")
        
query_client_cvar(id"1337_bhop""kzc")
        
query_client_cvar(id"LoveFpteam_bhop""kzc")
        
query_client_cvar(id"xhack_bhop""xhz")
        
query_client_cvar(id"speed_bhop""xhz")
        
query_client_cvar(id"xn1ko_bhop""xhz")
        
query_client_cvar(id"xPr9n_bhop""xhz")
        
query_client_cvar(id"fptch_bhop""xhz")
        
query_client_cvar(id"xhz_bhop""xhz")
        
query_client_cvar(id"xkz_bhop""xhz")
        
query_client_cvar(id"xcfgbhop""xhz")
    }
}

public 
kzh(id, const cvar[ ], const value[ ] ) {
    if( 
value[0] != 'B' ) {
    
reason[id] = "KZHack"
        
punish(id)
    }
    return 
PLUGIN_HANDLED
}
public 
kyk(id, const cvar[ ], const value[ ] ) {
    if( 
value[0] != 'B' ) {
    
reason[id] = "KykHack"
        
punish(id)
    }
    return 
PLUGIN_HANDLED
}
public 
trk(id, const cvar[ ], const value[ ] ) {
    if( 
value[0] != 'B' ) {
    
reason[id] = "TrawkaHack"
        
punish(id)
    }
    return 
PLUGIN_HANDLED
}
public 
zhyk(id, const cvar[ ], const value[ ] ) {
    if( 
value[0] != 'B' ) {
    
reason[id] = "ZhykHack"
        
punish(id)
    }
    return 
PLUGIN_HANDLED
}
public 
nkz(id, const cvar[ ], const value[ ] ) {
    if( 
value[0] != 'B' ) {
    
reason[id] = "N1kZHack"
        
punish(id)
    }
    return 
PLUGIN_HANDLED
}
public 
kzc(id, const cvar[ ], const value[ ] ) {
    if( 
value[0] != 'B' ) {
    
reason[id] = "KZHack."
        
punish(id)
    }
    return 
PLUGIN_HANDLED
}
public 
xhz(id, const cvar[ ], const value[ ] ) {
    if( 
value[0] != 'B' ) {
    
reason[id] = "xHack"
        
punish(id)
    }
    return 
PLUGIN_HANDLED
}

public 
punish(id)
{
    if(
is_user_connected(id))
    {
        new 
szDate[20], szName[32], szAuthid[32], szIP[16]
        
get_time("%m/%d/%y %H:%M:%S"szDatecharsmax(szDate))
        
get_user_name(idszNamecharsmax(szName))
        
get_user_authid(idszAuthidcharsmax(szAuthid))
        
get_user_ip(idszIPcharsmax(szIP), 1)
        
        new 
szText[128]
        
formatex(szTextcharsmax(szText), "%s |%-34s|%-24s|%-15s| ^"%s^""szDateszNameszAuthidszIPreason[id])
        
write_file(g_szLogszText, -1)

        
client_print_color(0BLUE,"%s is using %s!!!"szNamereason[id])
        
client_print_color(0RED"%s is using %s!!!"szNamereason[id])

        
server_cmd("amx_ban 0 %s ^"%s Detected^""szAuthidreason[id])
    }

and nothing more
trup1k is offline
niscree
Junior Member
Join Date: Oct 2010
Location: Poland
Old 09-07-2011 , 11:38   Re: Anti KZhack by Niscree v5.3
Reply With Quote #47

kp3t3h thanks, I fix it.
xStk upload plugin to plugins folder
trup1k ??
gamer99 I fuck people like you.
I'm doing something for free to everyone and some bitch pops up with pretensions of being a signing...
niscree is offline
Send a message via Skype™ to niscree
enjoi.
Veteran Member
Join Date: Mar 2011
Old 09-07-2011 , 16:21   Re: Anti KZhack by Niscree v5.3
Reply With Quote #48

Nice plugin.
enjoi. is offline
xStk
Member
Join Date: Jun 2011
Old 09-08-2011 , 14:35   Re: Anti KZhack by Niscree v5.3
Reply With Quote #49

what to do O-o?
xStk is offline
xStk
Member
Join Date: Jun 2011
Old 09-08-2011 , 14:40   Re: Anti KZhack by Niscree v5.3
Reply With Quote #50

trup1kcan you compile please?
andgive me the amxx
xStk is offline
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 15:22.


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