View Single Post
Author Message
anssik
Senior Member
Join Date: May 2006
Location: Suomi Finland Perkele
Old 02-28-2024 , 04:26   [HL] Block Cheat Client "BHL"
Reply With Quote #1

This code blocks the cheat client known as "BHL" which adds automatic perfect bunnyhopping and ducktapping to Half-Life. It is currently undetected by VAC.

With automatic perfect ducktap you can zoom up slopes and climb boxes faster than human ever could.
With automatic bunnyhop you can gain perfect speed in way is impossible for human.

And before you ask why so many cvars, it is because there are multiple versions of it out there with different cvars.

PHP Code:
#include <amxmodx>

#define AUTHOR "Anon"
#define PLUGIN "Block BHL"
#define VERSION "1.0"

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
}

public 
KickUser(id) {
  new 
address[32]
  
get_user_ip(idaddresscharsmax(address), 1)
  
server_cmd("kick #%d;wait;addip 0 ^"%s^";wait;writeip"get_user_userid(id), address)
}

public 
BHLCheck(id, const cvar[], const szrValue[])
{
  if (!
equal(szrValue,"Bad CVAR request")) {
    
KickUser(id)
  }
}

public 
client_connect(id)
{
  if (!
is_user_bot(id)) {
    
query_client_cvar(id"aghl_supports""BHLCheck")
    
query_client_cvar(id"aghl_version""BHLCheck")
    
query_client_cvar(id"hud_colortext""BHLCheck")
    
query_client_cvar(id"hud_dim""BHLCheck")
    
query_client_cvar(id"hud_strafeguide""BHLCheck")
    
query_client_cvar(id"cl_messages_log""BHLCheck")
    
query_client_cvar(id"cl_autojump""BHLCheck")
    
query_client_cvar(id"cl_bunnyhop""BHLCheck")
    
query_client_cvar(id"cl_jumptype""BHLCheck")
  }

__________________

Last edited by anssik; 03-04-2024 at 19:03.
anssik is offline