here's my simple perl script that cron runs every night as such:

perl ./vac2ban.pl >> vacban.cfg

and i have "exec vacban.cfg" in server.cfg

------ 8< ------
#!/usr/bin/perl
use strict;

while (<STDIN>) {
    if (/detected cheating/) {
        my ($time, $cheaterName, $Wonid) = m|L\s(\d\d/\d\d/\d\d\d\d -
\d\d:\d\d:\d\d):.*\"(.*<\d*><(\d*)><.*>\".*detected cheating|;
        if ($time && $Wonid) {
            print "// $time : $cheaterName ($Wonid)\n";
            print "banid 0 $Wonid kick\n\n";
        }
    }
}


"Jay Anstiss" <[EMAIL PROTECTED]> wrote in message
news:mailman.1036802044.10530.hlds_linux@;list.valvesoftware.com...
| Eric - do the Vac modules create any file at all we can look at? I seem to
| remember sometime ago that someone posted a line (or was it a script?!)
for
| checking the logs and caught cheats...just wish I knew what it was! :)
|
| Jay.
|


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to