Net::Halo::Status - Query Halo game servers for status.
use Net::Halo::Status; my $q = Net::Halo::Status->new( Server => '127.0.0.1', Port => '2302', Timeout => '3', ); ...or... my $q = new Net::Halo::Status; $q->server('127.0.0.1'); $q->port('2302'); $q->timeout('3'); my $status = $q->query(); # Sends query and returns result.
Net::Halo::Status implements the Halo server status protcol; the same protocol used when you click on a server in the network lobby in the Halo client. This is a different protocol from the Halo client/server protocol, so, sadly, no scripted rcon access or similar.
POE::Component::Client::Halo, from which most of the protocol code came.
Terje Bless, <link@cpan.org>
Copyright (C) 2008 by Terje Bless
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install Net::Halo::Status, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Halo::Status
CPAN shell
perl -MCPAN -e shell install Net::Halo::Status
For more information on module installation, please visit the detailed CPAN module installation guide.