HLGuard Configuration Help

Team Fortress Classic LAN (Local Area Network) Set up Options

Files and execs to use

hlguard.cfg
     exec hlguard/hlg_lan.cfg

hlg_net.cfg
     hlg_uaexec hlguard/hlg_checks.uacfg
     hlg_uaexec hlguard/hlg_tfc.uacfg
     hlg_uaexec hlguard/hlg_nemesis.uacfg (optional)

Logging

By default hlg_net will log to the following files and formats:

Aimbot Warnings
Aimbot warnings - logged to mod-dir/aimwarn.txt in format %d %h -> %n IP:%i %r warning#%c (%y, HLG %g at %a/%k)

which translates to - 05/01/2002 21:44:56 -> Newbie IP:192.135.239.36 aimbot warning#1 (aim#1, HLG 1.07 at 30/3)

Aimbot Detections
When a player is suspected of using an aimbot HLGuard performs the following after three detections:
  1. Logged to Half-life logs as "%n<%i> aimbot suspected"

    Which translates to - Bob<192.168.0.1> aimbot suspected

  2. Writes to CheaterList.txt as %d %h -> %n IP: %i Suspected Aimbot Banned for 60 minutes

    Which translates to - 01/01/2002 18:25:58 -> Bob: 192.168.0.1 Suspected Aimbot Banned for 60 minutes

  3. Writes to hlglist.htm as %d %h Name: %n IP: %i Cheat: AIMBOT

    Which translates to - 01/01/2002 18:25:58 Name: Bob IP: 192.168.0.1 Cheat: AIMBOT

Cvar and Alias Detections
When a player fails a cvar or alias check then by default hlg_net preforms the following:
  1. Writes to CheaterList.txt as "%d %h -> %n IP:%i %v %r <%y>"

    Which translates to - 06/03/2002 20:44:33 -> Bob IP:192.168.0.1 found derecoil < Active NoRecoil Script>

  2. Writes to Half-life logs as \%n<%i>\ %v %r <%y>

    Which translates to - \Bob<192.168.0.1>\ found derecoil < Active NoRecoil Script>

  3. Writes to hlglist.htm as %d %h Name: %n IP: %i Cheat: %y [%r]

    Which translates as - 04/26/2002 15:04:50 Name: -=oYYo=- IP: 80.14.19.248 Cheat: Active [H4L]Scriptpack Silentrun [silenton]

Optional logging

These are NOT in hlg_net by default. You will have to cut and paste them (doesn't matter where in hlg_net you put them).

To write AIMBOT detections to hlglog.log, add this line:
hlg_aimbot "hlg_log \'\\'%n<%i>\\' aimbot suspected\'"

To log output to - hlg_logfile "%M/hlglog.log" - set in hlguard.cfg
hlg_action "w:found" "hlg_log \'\\'%n<%i>\\' %v %r <%y>\'"

To change the format of CheaterList.txt to the old style
Disable this line
hlg_action "w:found" "hlg_writefile %M/CheaterList.txt;hlg_write \'%d %h -> %n IP:%i %v %r <%y>\'"

and copy the line below in order for CheaterList to write as
Sat Feb 23 12:15:40 2002 Name: Bob listed as detected due to cheat ../ci.dll from Counter-Intelligence 3.0

hlg_action "w:found" "hlg_writefile %M/CheaterList.txt;hlg_write \'%e Name: %n listed as detected due to cheat %r from %y\'"

CSBL Logging is performed by the following line - www.csblacklist.com
hlg_action "b:found" "hlg_writefile %M/csbl_cheaterlist.txt;hlg_write \'%d:%n:%i:%y\'"

Adminmod speech plugin
This line is for the admin_speech plugin that plays a wav file during the ban. To enable this wav file, install the admin_speech plugin and follow the intructions on how to create a .res file with maps so that the clients download the wav. Then add this line into hlg_net.cfg:

hlg_action "w:found" "admin_command admin_speakall sound/misc/bitedust5.wav"