Monday, 2025-08-11, 10:25 AM
toXic | Clan
Main | Lee's USGN Server Tracker - Download - toXic | Forums | Registration | Login
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Lee's USGN Server Tracker - Download
leegaoDate: Sunday, 2009-05-10, 3:54 AM | Message # 1
Private
Group: Users
Messages: 4
Awards: 0
Reputation: 0
Status: Offline
NOTE: You must either have your own VPS (they're not that expensive) or a host with mod_python on (the cheap ones are maybe a dollar a month?)

This is the fruition of a 4 hour pet project. This is basically a script to get all of the servers registered on USGN and gets the info for all registered servers. The great part about this though is that it allows you to see what ping you would likely get on these servers. Now, I know that many have created these scripts but they've always made it sound as if only "god-like" people are allowed to maintain these sorts of scripts. Well, now, if you have a VPS or an apache server with mod_python installed, you'll be able to run your own server list too biggrin

Demo: [TGV] ServerList - http://tracker.tgvserver.info/

Note: this is just a pet project, a proof of concept that you can create streamable webpages (beyond the scope of this post) so this uses python instead of PHP. I will not maintain this script, I don't care what you do with it, really, I don't. All I request is that you either leave a credit section stating that I am the original author or (even better), you link back to either this, or http://tgvserver.info/ forum. Since I won't be maintaining this, and since I really can't give a crap what you do with the code, you can, well, do whatever it is that you feel like doing with the sourcecode.

Enjoy

DOWNLOAD: http://tgvserver.info/USGN.zip

*Installation.

If you do not have mod_python installed, do the following.
1) Install Python (preferably 2.4 or 2.5, do not use 3.0)
2) RPM the mod_python rpm file. If you're on CentOS, use yum install mod_python.i386
3) Go to etc/httpd/conf.d/python.conf and change the director tag to the following

Code
<Directory /path/to/script>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    allow from all
    AddHandler mod_python .py
    PythonHandler mod_python.publisher
    PythonDebug On
</Directory>

4) Unzip the script to your webserver
5) Type in your URL and enjoy

For more information, see http://www.howtoforge.com/embedding-python-in-apache2-with-mod_python-debian-ubuntu-fedora-centos-mandriva-opensuse on how to install mod_python.

Message edited by leegao - Sunday, 2009-05-10, 3:54 AM
 
  • Page 1 of 1
  • 1
Search:

Copyright MyCorp © 2025