Forum

> > CS2D > General > Lee's USGN Server Tracker - Download
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Lee's USGN Server Tracker - Download

4 replies
To the start Previous 1 Next To the start

old Lee's USGN Server Tracker - Download

Lee
Moderator Off Offline

Quote
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

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

IMG:https://i560.photobucket.com/albums/ss44/leegao/svlist-1.jpg


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

1
2
3
4
5
6
7
8
9
<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.
edited 2×, last 10.05.09 01:51:09 am
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview