View Full Version : DoW III Player Stats
BirdDog
November 3rd, 2002, 23:53
Could be better but at least it's something to look at :lol: .
http://dow-sniper.net/server-admins/svrstats/dow3.htm
Learjet
November 4th, 2002, 00:17
H :?: ow do you get the stats ?
Learjet
-(Oc)-Mavric
November 4th, 2002, 17:39
I was wondering the same thing... :) 2nd place.... :( guess I have to step it up a bit.... lol
wery neet, I wonder if there is a way to get the states for all players in the game to see where you rank that way.....
Is this right K= kills D= Deths S= Self kills Dif % of kills to deths?
the only one I'm not shure of is S
And does that self update? Hmmm If I knew how and where you get the stats from I may be able to figure out a way to make it self update.... :)
IsZi
November 4th, 2002, 18:11
A hundred bucks says S = Suicides.
If I'm wrong, put it on my VISA.
BirdDog
November 4th, 2002, 18:53
S does equal suicide!
The guy who made the HOME program just released a log reader that collects the stats and exports them to html so I downloaded it.
I reworked the main page with excel to sort the data by kills.
It does not self update. I had to cut and pasted together 60mb of time stamped crash logs.
It will only hold 100 or so names so far.
Wish there were other stats in the log like # of games played by player, FF, objectives etc.... Then we could create a better ranking system.
FYI - You can create time stamped log files by adding this to the end of your .bat:
@echo off
cls
for /f "tokens=2,3,4 delims=/- " %%x in ("%date%") do set d=%%x%%y%%z
for /f "tokens=1,2,3 delims=:. " %%x in ("%time%") do set t=%%x%%y%%z
echo %d%%t%
copy server.log servercrash%d%-%t%.log
Acedeal
November 5th, 2002, 01:30
I may be able to figure out a way to post this stuff to the main web with either perl or cgi.
I run HOAM so I need to look at the exported data, i may even be able to port it into MySql, then output to php web pages..
Ace,,
Learjet
November 5th, 2002, 08:14
I may be able to figure out a way to post this stuff to the main web with either perl or cgi.
I run HOAM so I need to look at the exported data, i may even be able to port it into MySql, then output to php web pages..
Ace,,
Duh what him say
-=DoW=- Learjet
Acedeal
November 5th, 2002, 12:44
I may be able to figure out a way to post this stuff to the main web with either perl or cgi.
I run HOAM so I need to look at the exported data, i may even be able to port it into MySql, then output to php web pages..
Ace,,
Duh what him say
-=DoW=- Learjet
:) What ya mean DuH?
Perl is a scripting language, as well as php.
This forum runs on php, and pulls all this data you looking at from a MySql database.
If you look at the comments section on the main web, that is now driven by a cgi script, as well as the new questbook that I just installed last nite.
http://www.dow-sniper.net/general.htm this will give ya an idea of what perl and cgi can do. just go to the guest book from there
Also, running with cgi / perl / or php, makes it hard to steal your code that makes it all work :)
Learjet
November 5th, 2002, 23:04
LoL thank you ! The only one I am familiar with is a CGI script which I use on my web site for a re mailer.
Lear
-(Oc)-Mavric
November 6th, 2002, 02:32
It can be done with a php script, for shure, all you have to do is have it import the log from the server, then tell it how to sort the data, (my segestion would be (s*2) - (k-d) = net kills and sort by net kills, I would have to think about how to write the script though... LOL but it can be done, and it would auto-update too. every time a user looked at the page it would fetch the log and do the math... :)
BirdDog
November 6th, 2002, 15:06
Autoupdate would be a nice feature, I sure someone in the community will eventually realease somthing that will do this. Unfortunatly I have no experience with these types of things. I would have to crack a book or something and start on page 1.
It can be done with a php script, for shure, all you have to do is have it import the log from the server, then tell it how to sort the data
Would the php script act as a log reader to gather the info that we want to sort and then sort it for export, is that how it would work? Is this a difficult thing to do?
-BDog
-(Oc)-Mavric
November 7th, 2002, 02:35
If the log can be found from the internet It will work, Here is sorta how. The computer with the game server on it would have to have a http server on it, something like apache web server (call that WS2). You would have to set the WS2 to serv web pages from the directory where the log file is located and saved by the game. you also want a index.html there, that has nothing on it. This is a security thing... Any way on your web site (Call that WS1) you have a php page that calls the log, sorts the info, and outputs it to the web page.
It can be done, I've seen it done with other games. On top of that, there is a option in ut2003, that lets you upload stats to a web server, I'm not shure how to set this up, but I do know it is there. it is used for ut2003 itself, and since AA is made on this platform I'm shure there is a way to get that to work as well, I will look into both options more and let you know...Both options will update after a certan number of games, the first would update after every game, or as the log updates.
-(Oc)-Mavric
November 7th, 2002, 02:43
Segestion, on the player pages, only list the people killed and doing the killing once, but rank them, Example if I likked player a 23 times and player b 12, a would be up top. I would only track the top ten there, Top ten killers and fraded, that would be helpful in knowing who you have to kill first :)
-(Oc)-Mavric
November 7th, 2002, 02:55
You can pickup the webserver software here... http://www.apache.org/ It is free
be shure you get the the version for your OS.
After that read all the docs that come with it, should take about 1 hour at the most, the IP of the server is the address of the server, so If you wanted to you can add a php, add on to it and host the stats page from there too... This may be the easyest way.... you will however need a IP that does not change(static), that way the link will always work...
BirdDog
November 7th, 2002, 13:22
The server is on an XP Pro system w/ IIS installed. Would IIS 5.1 be good enough for the web? The IP is static :)
-(Oc)-Mavric
November 7th, 2002, 20:38
IIs is will do as long as it can serve web pages, basicly you just need something that can serve the log file to the script... If you wanted you could make it so it needs a user name and pass to get it even... There is a lot that can be done with php.I recamend the book php 4.1 by Allen Hornberrer. you can pick it up at most book stores, it runs about 30-50.00, but it is worth it, It can start you off with the basics and go all the way to creating your own forums... and more, That is the book I used to learn php, I havent even finished it yet... but I already have an idea on how this can be done... When I get some time I may try to make a script that does this...
BirdDog
November 12th, 2002, 21:26
Stats have been updated:
http://dow-sniper.net/server-admins/svrstats/dow3.htm
-(Oc)-Mavric
November 12th, 2002, 21:44
How are you getting kill Effectiveness % Some on the numbers dot come out the way I though they would...
BirdDog
November 12th, 2002, 22:23
How are you getting kill Effectiveness % Some on the numbers dot come out the way I though they would...
I believe this is the result of some "funny" math. HOAM calculated them. I cannot solve the equation with any formula I can think of?
I need to come up with another type of ranking ratio.....
Kills/Death and remove the suicides?
-(Oc)-Mavric
November 13th, 2002, 03:11
That might work... LOL or may be do it this way.... {(k/d)-(S*2)} = Ranking score... lol
Acedeal
November 15th, 2002, 12:47
You can pickup the webserver software here... http://www.apache.org/ It is free
be shure you get the the version for your OS.
After that read all the docs that come with it, should take about 1 hour at the most, the IP of the server is the address of the server, so If you wanted to you can add a php, add on to it and host the stats page from there too... This may be the easyest way.... you will however need a IP that does not change(static), that way the link will always work...
Found a bundled setup of php/apache/cgi/perl/php4/MySql.
Took me couple mins to download it (13 mg zip file) , and about 30 secs to read the doc and get it installed.
What this will get you is, Apache websever, running, php, cgi, perl, MySql on your local system for testing pages and scripts.
This is a pretty slick and fast setup for anyone that wants to play with some php/php4 web page designs. (or any scripting that uses php, cgi or perl).
Using the local copy of apache you can create some php pages, then connect to you local copy of Mysql database to check how it all works..
incase anyone is wondering wtf I am talking about, all the forum stuff is done with php which makes a database connection to Mqsql database, thereby giving dynamic pages to each person that logs on to the forums.
html is pretty much a legacy web design language, most of the big sites are going the way of xhtm, xml, and one of the other langagues. ie. php, asp, java, etc..
You can d/l the local setup of all this in one package here:
http://www.firepages.com.au/
vBulletin® v3.8.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.