(a quote from the developer's website http://www.5th-gradient.com/vsp/ )
You can follow the Readme file instead but it can be confusing to some people.
What you need in order to set up VSP:
Apache Web-Server 1.3-2.x
PHP 4/5
MySQL 4 (mysql 5 is not yet supported)
Access to your game's log file though ftp
A web service that allows external php ftp connections like Trap17.com
Setting up VSP:
- Download VSP core files from the main website http://www.5th-gradient.com/vsp/vsp-core.zip
- Download Media files from the main website. This will allow to display weapon, map, and award pictures from your game. http://www.5th-gradient.com/vsp/
- Create a MySQL database specifically for VSP stats.
- Upload the VSP core and media files to your web host.
- Change the VSP config corresponding with your MySQL setup. VSP config can be found in /vsp/pub/configs/cfg-default.php folder. Find the following code and change it:
$cfg['db']['hostname'] = "Address of MySQL Database";
$cfg['db']['dbname'] = "MySQL Database Name";
$cfg['db']['username'] = "MySQL Username";
$cfg['db']['password'] = "Username Password";
You also need to configure the username and password for ftp access. To do this find the following code and change it.
$cfg['ftp']['logs_path']= " Full path to /vsp/ftplogs/ on your web server";
$cfg['ftp']['username'] = "FTP Username";
$cfg['ftp']['password'] = "FTP Username Password";
$cfg['ftp']['pasv'] = 1; //enable or disable passive mode
$cfg['ftp']['overwrite'] = 0; //value of 0 resumes the log file from the last location
If you scroll down you'll find a bunch of other options you might want to change. Like default player tracking by IP or GUID. GUID is a prefered option however it might not work for some games.
Upload the modified cfg-default.php file to your webserver. If you've done everything correctly so far you should now be able to access http://yourdomain.com/vsp/pub/themes/bismarck/index.php without any errors. If you do get errors, verify your MySQL configuration.
- Change vsp password needed to parse log files. The file is called password.inc.php and is found in the \vsp\ folder. Set the password by changing this vallue
Parsing the log file:
The easiest way parse your log file is to navigate to http://yourdomain/com/vsp/vsp.php where you'll find two input feilds. You'll see instructions at the bottom of how to parse your log. The way I do it is:
Note that I specified -l cod to tell VSP that I have a COD/COD2 log file. Also -p savestate 1 tells VSP to remember the end position of log file so that it will not start parsing your log file from the begining which can create major issues. Make sure you input your ftp address in quotes "ftp://yourftp.com/log.log"
If you are getting errors downloading the log file CHMOD your /vsp/ftplogs/ and /vsp/logdata/ to 777 using your favorite FTP client.
Once you are finished you will see player names and their stats if you navigate to http://yourdomain.com/vsp/pub/themes/bismarck/index.php. Here is an example of vsp stats in action: http://131rb.trap17.com/stats/pub/themes/bismarck/index.php
If you want to change the user arrangement from default skill based to kill based, you can find this option in \vsp\pub\themes\bismarck\settings.php
Good luck and have fun setting up VSP stats for your clan.

