TGB Master Server
by Rodney Rindels - Torqued · 07/03/2006 (11:17 am) · 0 comments
Download Code File
This work was inspired by the work of Thomas "Man of Ice" Lund , and specifically his Perl Master Server Implementation Here
This implements a basic Master Server using the POE perl Libraries. POE HomePage.
The rest of the packet stubs are included, so it should be fairly simple to implement them.
You just need to modify your client and server prefs lines to use it with your servers Ip address.
Client
Server
Now why did I need a different one than Mr. Lund's resource. Well for one, using POE, i'll be able to extend this further to build things like remote , start, stop capabilities of certain servers, global announcements, etc, and have a solid framework for doing so.
In my tests, this code is extrememly fast, and works on linux and windows with perl installed.
POE can be installed from CPAN or PPM. or from their source tarballs.
ie .
Enjoy
This work was inspired by the work of Thomas "Man of Ice" Lund , and specifically his Perl Master Server Implementation Here
This implements a basic Master Server using the POE perl Libraries. POE HomePage.
The rest of the packet stubs are included, so it should be fairly simple to implement them.
You just need to modify your client and server prefs lines to use it with your servers Ip address.
Client
$pref::Master0 = "2:master.garagegames.com:28002";
Server
$pref::Master[0] = "2:master.garagegames.com:28002";
Now why did I need a different one than Mr. Lund's resource. Well for one, using POE, i'll be able to extend this further to build things like remote , start, stop capabilities of certain servers, global announcements, etc, and have a solid framework for doing so.
In my tests, this code is extrememly fast, and works on linux and windows with perl installed.
POE can be installed from CPAN or PPM. or from their source tarballs.
ie .
perl -MCPAN -e"install POE"
ppm install POE
Enjoy
About the author
