cj_
12-16-2004, 22:35
This is somewhat off-topic, since the forums seem dedicated to SourceMod, but I figured I'd pass it along for anyone that finds it useful. (If there's a better forum, feel free to move this post).
I wrote a perl module to interface with Source engine's rcon, you can find it here (http://gruntle.org/projects/hl2/Rcon-HL2-0.02.tar.gz). Latest version is also attached.
Example usage:
use Rcon::HL2;
my $rcon = Rcon::HL2->new(
hostname => "insub.org",
password => "yourpass",
);
$rcon->run("status");
print $rcon->response();
$rcon->run("changelevel de_dust");
I wrote a perl module to interface with Source engine's rcon, you can find it here (http://gruntle.org/projects/hl2/Rcon-HL2-0.02.tar.gz). Latest version is also attached.
Example usage:
use Rcon::HL2;
my $rcon = Rcon::HL2->new(
hostname => "insub.org",
password => "yourpass",
);
$rcon->run("status");
print $rcon->response();
$rcon->run("changelevel de_dust");