Jump to content

PRS Web Stats V1.3


Recommended Posts

JoneF has gone about releasing a New verson of PRS Web Stats! V1.3 Its Faster than ever! and has a Linux Webserver Verson!

Generation times for 400 Maps with top3 times have been reduced from 1 Minute 30 Seconds, all the way down to just under 2 Seconds! In other words, it is 45 Times Faster than the previous version!

You can see it in action at this page http://www.potholestudios.com/Content/pid=35.html

(just select races from the drop down box and click OK! it will show you the times on the Pothole Studios Pro Race server!)

You can download it for your website here: http://www.potholestudios.com/Downloads ... id=54.html

I guess id better list all the readme's, as there is 3 parts of the app. Linux Webserver, Windows Webserver and PRS Stats Frame (Pothole Studios uses Linux Webserver ver With the Stats Frame)

PRS Stats 1.3 by JoneF

PRS Stats is a CGI script to show PRS data on a web site, it could work alone or on a frame on your site.

More information on PRS: http://forum.mtavc.com/viewtopic.php?f=30&t=19121

Installation

Install "prsstats" on any linux web server that supports CGI.

Make sure that the web server user have execute permission on that file.

Put the file "prsstats.ini" on the same folder or on the root of the file system.

Put the file "style.css" on a folder accessible by the web clients.

Open the file "prsstats.ini" and set "PRS_FOLDER" to a folder with the PRS txt files, and "CSS_PATH" to the path of "style.css" as it should be on the generated HTML.

Make sure that the web server user have read permission on the PRS files.

That's it, you may now adjust the other options on "prsstats.ini" as you prefer or edit the "style.css" file.

Usage

/prsstats?page=&filter=

Page number: 0=Players, 1=Maps, 2=Player TopTimes, 3=TopTimes Rank.

Filter is ignored for the page number 3.

PRS Stats 1.3 by JoneF

PRS Stats is a CGI script to show PRS data on a web site, it could work alone or on a frame on your site.

More information on PRS: http://forum.mtavc.com/viewtopic.php?f=30&t=19121

Installation

Install "prsstats.exe" on any windows web server that supports CGI.

Make sure that the web server user have execute permission on that file.

Put the file "prsstats.ini" on the same folder or on the root of the partition with the "prsstats.exe".

Put the file "style.css" on a folder accessible by the web clients.

Open the file "prsstats.ini" and set "PRS_FOLDER" to the folder where PRS is installed, and "CSS_PATH" to the path of "style.css" as it should be on the generated HTML.

Make sure that the web server user have read permission on the PRS files.

That's it, you may now adjust the other options on "prsstats.ini" as you prefer or edit the "style.css" file.

Usage

/prsstats.exe?page=&filter=

Page number: 0=Players, 1=Maps, 2=Player TopTimes, 3=TopTimes Rank.

Filter is ignored for the page number 3.

PRS Stats Frame by JoneF

PRS Stats Frame is a CGI script to show PRS Stats on a frame with edit boxes.

Windows version: "prsstatsframe.exe"

Linux version: "prsstatsframe"

Installation

Install "prsstatsframe" on the same folder where PRS Stats is installed.

Make sure that the web server user have execute permission on that file.

---------------------------------------------------------------------------------------------------------------------------------------

I will give other people a tip if they want to use this with ther website, and thier scripts are not on the same server as thier website.

Look around and download an FTP Sync application, and shedule it to run every so ofte, to upload these files automatically:

pgscash.txt

prsdmwins.txt

prsfinish.txt

prsmaprate.txt

prsmapstats.txt

prsrank.txt

prsseen.txt

prsstarts.txt

prsstats.txt

prstop3.txt

Thats the method i used so the stats on my website update Daily at 6AM Aus EST.

We just "Obtained" a copy of Batch Sync FTP to do all that.

Link to comment
  • 1 year later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...