##Bf1942Live v5.0 code by Lt.Christy @ http://www.force137.com/#
##Linux Help from m1m3r @ m1m3r@withaz.com##
##QStat replacement by whipping_boy@298th.com , http://www.298th.com##
##Map Pics/Stat Support from pGc-Prodigy at http://www.pgclan.net##
##Multiple Port and Stats Background Color code from -=senior=-KuJo - http://www.senior-clan.de##

##Changes from 4.0##
Various code cleanup
Can now call Multiple Servers from the same script with bf1942live.pl?xxx.xxx.xxx.xxx:yyyy
Background of Stats inside main table can now be set
Score Table to see current scores of both teams


##Requirements##

Windows/Linux with Perl

You can get Perl here
Perl - http://www.activestate.com/Products/ActivePerl/

The mysql Perl Module will need to be installed if your webserver does not have it installed
Info can be gotten here
http://ethesys.lib.nsysu.edu.tw/download/DBD-Mysql-Perl-Module/

If you are unable to install the mysql module, you can delete line 166 wich is this
use Mysql;

It will not hurt anything but wont allow you to use stat linking

##Windows Instructions##

Unzip the file, Edit the variables on the top of the bf1942live.pl page (You can do this by right clicking the file and choose "open with" and choose notepad.), Save it when your done. Now upload all files to your webserver making sure that the bf1942live.pl, and images folder all go in the same directory. Point your browser to the bf1942live.pl file wherever you uploaded the files too (Exp:http://www.force137.com/stats/bf1942live/bf1942live.pl)
If wanting to use the same script for more than one server, just point the URL like so
http://www.force137.com/stats/bf1942live/bf1942live.pl?123.456.789.123:23000

##Linux Instructions##

I am not familiar with the Linux system so heres the best I can offer :)
Usually the bf1942live.pl file will need to go into an executable directory like cgi-bin and the images in another directory. You can set the image path in the bf1942live.pl file. In some instances the bf1942live.pl will need to be changed to bf1942live.cgi depending on the type of server.

##Optional, but would be nice if you use this program :)##

Email me with your BF1942Live URL so I can add it to a list of Examples for fellow Gamers.
christy@force137.com

##Pics for new maps##

If you run any custom maps or if new maps come out, just take a screen or anypic ya want and make it a jpg file 240 x 291 and name it the same as the map name. Then just put it in the images/map directory under the folder of the gameid you are running .




Questions, Comments, Praise, Help
http://www.force137.com/forum
christy@force137.com
