request: Anti bhop-script

Started by Speedwheel
2 Oct 2006, 03:06
Page 1 of 1
2 Oct 2006, 03:06

Does anybody knows a good anti-bhop script like one on the xj srv? :confused:
[ Edited ]

2 Oct 2006, 15:06

hi,

#include
#include
#include

new somestring[32]

public plugin_init() {
register_plugin("AntiBHOP","1.0","p3ts1n")
new detectcmd[32]
format(detectcmd,31, "plop%d%d%d", random_num(0,99), random_num(0,99), random_num(0,99))
register_clcmd(detectcmd, "detected")
format(somestring,31, " alias _special %s",detectcmd)
}

public client_PreThink(id) {
if(!is_user_alive(id)) return PLUGIN_CONTINUE

new buttons = entity_get_int(id, EV_INT_button)
new oldbuttons = entity_get_int(id, EV_INT_oldbuttons)
if(buttons&IN_JUMP && !(oldbuttons&IN_JUMP))
client_cmd(id, "%s", somestring)

return PLUGIN_CONTINUE
}

public detected(id) {
new flags = entity_get_int(id, EV_INT_flags)
if(!(flags&FL_WATERJUMP) && !(flags&FL_ONGROUND) && entity_get_int(id, EV_INT_waterlevel) < 2) {
new name[32], steamid[34]
get_user_name(id, name,31)
get_user_authid(id, steamid,33)
set_hudmessage(255,0,0, 0.45, 0.50,0, 0.0, 5.0, 0.0, 0.5, 22 )
show_hudmessage(0,"[Antibhop] Bhop-script detected on %s (%s)", name,steamid)
server_cmd("kick #%d", get_user_userid(id))
}
return PLUGIN_HANDLED
}


mfg

[ Edited Mon Oct 02 2006, 03:10PM ]

24 Nov 2006, 17:17
24 Nov 2006, 17:19

nice <3 :) thanks

30 Nov 2006, 13:36

anti-bhop script plugin by p3tsin <3

h1m1

hmmm a need file *.sma [code] becouse a use older version amxx 1.71, and i must compile this file... :)

30 Nov 2006, 19:41

Read k4Sn's post a few posts up.

1 Dec 2006, 08:46

i think that no script to 'h1m1' is different from 'p3tsin' ;)... i thinking too much :P

1 Dec 2006, 13:17

You think wrong.

2 Dec 2006, 21:43

hi, can somebody translate the source of this plugin to amx please ?

3 Dec 2006, 02:40

#include
#include

new somestring[32]

public plugin_init() {
register_plugin("Anti-Bhop","1.0","p3ts1n")
new detectcmd[32]
format(detectcmd,31, "plop%d%d%d", random_num(0,99), random_num(0,99), random_num(0,99))
register_clcmd(detectcmd, "detected")
format(somestring,31, " alias _special %s",detectcmd)
}

public client_prethink(id) {
if(!is_user_alive(id)) return PLUGIN_CONTINUE

new buttons = Entvars_Get_Int(id, EV_INT_button)
new oldbuttons = Entvars_Get_Int(id, EV_INT_oldbuttons)
if(buttons&IN_JUMP && !(oldbuttons&IN_JUMP))
client_cmd(id, "%s", somestring)

return PLUGIN_CONTINUE
}

public detected(id) {
new flags = Entvars_Get_Int(id, EV_INT_flags)
if(!(flags&FL_WATERJUMP) && !(flags&FL_ONGROUND) && Entvars_Get_Int(id, EV_INT_waterlevel) < 2) {
new name[32], steamid[34]
get_user_name(id, name,31)
get_user_authid(id, steamid,33)
set_hudmessage(255, 0, 0, 0.02, 0.45, 1, 0.0, 5.0, 0.0, 0.5, 1)
show_hudmessage(0,"[AntiBhop]^nBhop-script detected on^n%s (%s)", name, steamid)
server_cmd("kick #%d", get_user_userid(id))
}
return PLUGIN_HANDLED
}

:)

[ Edited Sun Dec 03 2006, 02:42AM ]

3 Dec 2006, 18:15

thanks jeflefou

3 Jan 2007, 00:48

HLGuard

3 Jan 2007, 02:54

HLGuard sucks

13 Jan 2007, 18:32

HLGuard sucks

dEMolite


like that is it dEMolite

hlguard is bullshit

11 Mar 2007, 16:22

hi,

#include
#include
#include

new somestring[32]

public plugin_init() {
register_plugin("AntiBHOP","1.0","p3ts1n")
new detectcmd[32]
format(detectcmd,31, "plop%d%d%d", random_num(0,99), random_num(0,99), random_num(0,99))
register_clcmd(detectcmd, "detected")
format(somestring,31, " alias _special %s",detectcmd)
}

public client_PreThink(id) {
if(!is_user_alive(id)) return PLUGIN_CONTINUE

new buttons = entity_get_int(id, EV_INT_button)
new oldbuttons = entity_get_int(id, EV_INT_oldbuttons)
if(buttons&IN_JUMP && !(oldbuttons&IN_JUMP))
client_cmd(id, "%s", somestring)

return PLUGIN_CONTINUE
}

public detected(id) {
new flags = entity_get_int(id, EV_INT_flags)
if(!(flags&FL_WATERJUMP) && !(flags&FL_ONGROUND) && entity_get_int(id, EV_INT_waterlevel) < 2) {
new name[32], steamid[34]
get_user_name(id, name,31)
get_user_authid(id, steamid,33)
set_hudmessage(255,0,0, 0.45, 0.50,0, 0.0, 5.0, 0.0, 0.5, 22 )
show_hudmessage(0,"[Antibhop] Bhop-script detected on %s (%s)", name,steamid)
server_cmd("kick #%d", get_user_userid(id))
}
return PLUGIN_HANDLED
}


mfg

k4Sn

how to make that is shows IP adress too?

11 Mar 2007, 17:59

new szIP[33];
get_user_ip(id, szIP, 32, 1);
set_hudmessage(255,0,0, 0.45, 0.50,0, 0.0, 5.0, 0.0, 0.5, 22 )
show_hudmessage(0,"[Antibhop] Bhop-script detected on %s (%s - %s)", name,steamid,szIP)

12 Mar 2007, 20:08

god.. whered u get that fucked up version?

bhop-script2.sma
(had to upload it coz i cant indent code here) :/

12 Mar 2007, 20:38

could someone edit the p3tsin uploaded script that it bans to IP?

Page 1 of 1

Reply

Please log in to post replies.