|
Games::Quakeworld::Query - A class for querying QuakeWorld servers |
Games::Quakeworld::Query - A class for querying QuakeWorld servers
use Games::Quakeworld::Query;
my $QWQ = Games::Quakeworld::Query->new("quake.server.com", "27500");
my %info = $QWQ->getinfo(); # obsoleted, use $qwq->get("") instead
print "Server uses map: ".$qwq->get("map")."\n";
Hello, this is Games::Quakeworld::Query, a perl module. It is a class made for querying Quakeworld (Quake 1) game servers and getting their informations, that is map name, players, hostname and etc.
This module is made for querying Quakeworld servers. With this package you can easily query Quakeworld servers and get their information. This might come in hand if you are a Quake 1 player and i.e. like to use this in a CGI application and check the server with it before you go there.
I wrote this because I needed it; I am planning to implement it in a IRC bot and later write a nice CGI script for it. At the moment I use it in a IRC bot, powered by Net::IRC ;).
Here are the module methods in an alphabetical order.
Player search and a class for it, and lots of more. This is just the beginning of the end :)
If you report any bugs in my code, please e-mail me.
Antoine Kalmbach <anzu@mbnet.fi>
Copyright (c) 2003 Antoine Kalmbach. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|
Games::Quakeworld::Query - A class for querying QuakeWorld servers |