WWW::GameMonitorWWW::GameMonitor can fetch information about game servers from Game-Monitor.com | |
Download |
WWW::GameMonitor Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Dusty Wilson
- Publisher web site:
- http://search.cpan.org/~wilsond/
WWW::GameMonitor Tags
WWW::GameMonitor Description
WWW::GameMonitor can fetch information about game servers from Game-Monitor.com WWW::GameMonitor can fetch information about game servers from Game-Monitor.comSYNOPSIS # example 1 use WWW::GameMonitor; my $gm1 = WWW::GameMonitor->new; my $serv1 = $gm1->getServerInfo( Host => '216.237.126.132', Port => '16567' ); # ACE Battlefield2 Server print qq(On $serv1->{name}, $serv1->{count}->{current} players ($serv1->{count}->{max} limit) are playing $serv1->{game}->{longname}, map $serv1->{map}.n); # example 2 use WWW::GameMonitor; my $gm2 = WWW::GameMonitor->new( Host => '216.237.126.132', Port => '16567' ); # default to a certain server my $serv2 = $gm2->getServerInfo; # uses the defaults specified in the constructorThis module will help you get information about various official and clan game servers (Battlefield 2, Quake 4, and many more). The server that is being queried must be listed as a "premium" server. This means someone (you, the server owner, or someone else) must have an active subscription with Game-Monitor.com for that server to be accessible in this way. You, yourself, do not have to have an account with them, but someone out there on the Internet must have listed that specific server in their paid account. For example, at the time of writing, the ACE Battlefield 2 server < http://www.armchairextremist.com/ > is listed under such an account. This means that you could, without needing to contact or pay anyone, use this module to ask for information about the ACE Battlefield 2 server. If you run your own clan game server or you want to monitor someone else's game server (and Game-Monitor.com supports your game), it might be worth it to you to pay them the ~USD$3-7/month for this ability. They take PayPal.new my $gm = WWW::GameMonitor->new; # no options or defaults specified my $gm = WWW::GameMonitor->new( Host => '216.237.126.132', Port => '16567' ); # default to a certain serverYou can specify several options in the constructor. my $gm = WWW::GameMonitor->new( Expires => 300, Host => '216.237.126.132', Port => '16567', CacheFile => 'my_gm_cache.xml', DebugLog => 'my_debug_log.txt', DebugLevel => 3, UID => 12345, List => 0, ); Requirements: · Perl
WWW::GameMonitor Related Software