PDA

View Full Version : Stats Page Help!


imported_Flatliner
11-07-2003, 08:41 PM
Is there a readme file some where that can help me setup stats page for my server!
Looked through all the files and didn't find any help on how to install it! the config.php has no field to put in the IP of the server!
Thanks!

ClickBouyow
11-07-2003, 09:23 PM
There isn't an install. There is a program that will parse the games_mp.log and create stats. go to http://stats.clanfx.com/ and check out the documentation for mohstats. To get the basic stuff, it is pretty easy. For more advanced, you will need to use the forums.

Lestat
11-08-2003, 02:56 AM
AWESOME!! Great JOB!

FragBoy69
11-13-2003, 04:28 PM
Do you need to be running a PHP website to use this program, or will it work with a regular html site?

TheKomoman
11-18-2003, 12:31 PM
Do you need to be running a PHP website to use this program, or will it work with a regular html site?

It works fine with an HTML site. You just need PHP in order to run the script. The stats package produces HTML files in the "output" folder. I just created a site and used that folder as the home directory.

I run the site on IIS under Win2k. To update automatically I created a batch file that copies the log file from the server (yes, it will copy while the server is running), and then runs the update command line. Then I just scheduled the BAT file using 2k's Task Scheduler. Works like a charm.

BTW, I think there's a Lookup function that does require you have PHP scripting functional in your site, but otherwise HTML works fine.

Evilburger
11-19-2003, 10:29 AM
Yeah just use the output files, btw Komo do you know if its possible just to update the html files online, (kinda hate uploading 1005 html files everytime).

I use php tho, hopefully ill have the time to create something like a php block or maybe somebody smarter than me can do that :) (btw this is for PHP-Nuke)

TheKomoman
11-19-2003, 11:02 AM
Not exactly sure what you mean, Evilburger. The files in the Output folder are all you need to display the site, but they're regenerated completely each time the stats are uploaded, so there's not really an incremental update you can do.

If you're able to run the actual update script on your web host then all you'd need to upload is the log file.

imported_FlyingNun
11-22-2003, 02:59 PM
Komoman,

I'd be interested in finding out how you copy your games_mp.log file without shutting down the server.

Nun

Evilburger
11-22-2003, 07:44 PM
the log file can be copied without the server being shut down, I never shut down the server.

imported_FlyingNun
11-22-2003, 09:12 PM
hmm, everytime I try to copy the file while the server is running I get an error that I can't copy.

Is there some setting for the FTP login that I'm missing?

Nun

Tighten
11-22-2003, 10:07 PM
Read
Write
Delete
Execute
Append

I believe those are all of the settings/permissions for a typical FTP.

Also - I dont see any reason why you could not simply pull the whole document from your FTP while the server is running? It is only taking a copy of the file anyway. You can't delete most files while the server is running because you will receive a sharing violation.

imported_FlyingNun
11-23-2003, 12:27 AM
they must be doing a cache write on the log file.

I'm doing a continuous.

Nun