Problem using BFStats to generate server stats

Problem using BFStats to generate server stats

Postby Classical Modder » Wed Apr 25, 2018 4:45 am

I am having issues using BFStats, which is a program which was made by Mario Kohler years ago to convert CSV spreadsheets generated by BFSM (statistics.csv) to HTML pages that can be uploaded via FTP to a website.

I used the following tutorial to try and generate the HTML pages: http://elitesniperserver.com/media/tutorials-page.asp?id=9

First, I downloaded and installed the latest Java SDK + Runtime Kit as pointed out by the tutorial by visting this website: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

I then downloaded the "Java SE Development Kit 8u172" for Windows x64 (jdk-8u171-windows-x64.exe). After that I downloaded and installed the BFStats.zip and extracted it to a folder on my Desktop called "Stats". Here is the file directory inside this Stats folder:

Image

The statistics.csv file was generated by the BFRM v2.01 using the following settings (see the image below). I don't know if enabling Event log compression is the issue here, but I doubt it.

Image

Now the tricky part. After having edited the "run.cmd" file found inside the "bin" folder with a text editor to point to the path where I have stored the statistics.csv file, I run the file and it gives me the following errors:

Image

Basically it's saying that the statistics.csv file is empty even though it is not (red rectangle). I have opened it many times and can see all the games being logged there, with the player names, their scores, pings, deaths, IPs, etc. Running the file with Administrator Rights also does nothing and does not generate the HTML files inside the "www" folder.

I am using Windows 10 Home 64-bit. Has anyone else had problems with this program to generate HTML files from the CSV file?
{SoH} Clan Leader // http://sohclan.forumotion.com/
See my Strasbourg map project here.
GSC: diamondback67
Steam: diamondback67
Classical Modder
 
Posts: 405
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada

Re: Problem using BFStats to generate server stats

Postby freddy » Wed Apr 25, 2018 7:51 pm

Not sure it can handle compressed logs, also i think the webpages uses php, and that broke after some php update.
User avatar
freddy
 
Posts: 1222
Joined: Sun Oct 18, 2009 4:58 pm

Re: Problem using BFStats to generate server stats

Postby Classical Modder » Wed Apr 25, 2018 8:38 pm

freddy wrote:Not sure it can handle compressed logs, also i think the webpages uses php, and that broke after some php update.


What program do you use to generate server stats?
{SoH} Clan Leader // http://sohclan.forumotion.com/
See my Strasbourg map project here.
GSC: diamondback67
Steam: diamondback67
Classical Modder
 
Posts: 405
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada

Re: Problem using BFStats to generate server stats

Postby freddy » Fri Apr 27, 2018 4:49 am

I used the same program as you have, but it was before the php update. On windows systems you can try an older XAMPP package (maybe around 2012?) https://sourceforge.net/projects/xampp/ ... 20Windows/

It might be a bit risky with older software conserning security holes and such, so its safer to run it on a virtual machine or something the like. https://www.virtualbox.org/

edit: just checked my webhost, and there is some different php options, but the same time some warning about it?
Attachments
User avatar
freddy
 
Posts: 1222
Joined: Sun Oct 18, 2009 4:58 pm


Return to Battlefield server and client

Who is online

Users browsing this forum: No registered users and 3 guests

cron