PDA

View Full Version : could we be tracking stats on our DC server..


koldchillah
12-08-03, 01:08 PM
It would be awesome to have our own stats system that we could check out on the new SG game server page.

I've been hunting around for some info on how its done, and it really doesn't sound all that complicated.. The main thing would be the database. I guess where and how to host such a database would be the first question. Second, who would be willing to create it (I'm no programmer by any means)?

The following info has been cut & pasted, then paraphrased from various BF sites..:

The entire stats system would need to be done with PHP. Once every hour or so, the database server would run a script which would then connect to the game server and retrieve all the player info. Every hour or so, the data would then be compiled into a table, which would then be queried when we check the stats.

From what I can gather, how to get a servers stats you have to query the server on UDP port 23000 with a \status\ and it will return something like this..

\language\English\location\1033\gamever\v1.1\gamename\bfield1942\version\v1.1\status\3\dedicated\1\p assword\0\gamemode\openplaying\maxplayers\32\numplayers\31\gametype\conquest\mapname\Battle of the Bulge\hostport\14567\hostname\EAUK 15 - BF1942\CPU\980\Vehicle Friendly Fire On Splash\0%\Soldier Friendly Fire On Splash\0%\Kickback On Splash\0\Kickback\0\Name Tag Distance Scope\300\Name Tag Distance\100\Auto Balance Teams\off\Free Camera\off\Bandwidth Choke Limit\0\Axis Team Ratio\1\Allied Team Ratio\1\External View\on\Allow Nose Cam\yes\Ticket Ratio\100%\Game Start Delay\20s\Vehicle Friendly Fire\0%\Soldier Friendly Fire\0%\Spawn Delay\3s\Spawn Wave Time\15s\Number Of Rounds\3\Dedicated\yes\password\0\Time Limit\60\Version\v1.1\queryid\2337.1

Followed by detailed stats on all the players taking part.

It took this person an hour or so to write a php script to do this, claiming its not difficult. Sticking it in a mysql dbase? another hour at most.


What do you fellas think? Would it be realistic to say we could take this to the next level and give it a shot? Any of you guys know PHP & MySQL?

Unfortunately I know very little about programming, but maybe one of you guys might be able to help put this into action.. Even make it so that it only collects data for users that match those of us who play regularly or something.. that way the database doesn't get too large.

Just thought it would be a cool idea.. Maybe I'm shooting off a little far into space here, I don't know.. What do you guys think?

YeOldeStonecat
12-08-03, 01:15 PM
I think this is very cool...yes I'd love that. If someone can run with this...I'm very jammed up for the next week, I'll be scarce except for a few visits when I'm onsite as I am now (updating tax software at an accounting firm...just watching those progress bars :o ) But I'm working a few nights this week too...so not going to be around much this week.

I'd love to see this done.

mountainman
12-08-03, 01:16 PM
I think that is an awesome idea and would love to implement that into the website. However, I am not a programmer either and am not exactly sure how I would tie that into the site either. (Unless you could find me a site that does... I'm OK at hacking apart other sites.)

Also, I think some LIVE server monitor would be sweet to run on the site. Something that would say who is playing, board, scores, and so on.

There is so much stuff that does this for CS that I am waiting for it to come out for BF.

Anyone know of this stuff ?

YeOldeStonecat
12-08-03, 01:19 PM
Originally posted by mountainman
Also, I think some LIVE server monitor would be sweet to run on the site. Something that would say who is playing, board, scores, and so on.

Yap! That too!

koldchillah
12-08-03, 01:31 PM
basically sounds like we need a programmer.. I'm sure we've got plenty around these parts, just a matter of finding one willing to put in some effort for our gaming cause. As for tying it into the site, I'm not sure.. We would have to do this outside of SG wouldn't we? I have a free 100meg space that my friend is hosting for me.. Maybe I could provide some webspace for the database and then we could somehow link it to our SG page?? I don't know.. just shooting in the dark here...

Lots of clans track server stats as well as the big daddy of them all: www.bfstats.com which tracks tons of servers.. Most of the info I was finding was from the bfstats forums..

Live server monitor would be awesome too!

YeOldeStonecat
12-08-03, 01:34 PM
Originally posted by koldchillah
basically sounds like we need a programmer.. I'm sure we've got plenty around these parts, just a matter of finding one willing to put in some effort for our gaming cause. As for tying it into the site, I'm not sure.. We would have to do this outside of SG wouldn't we? I have a free 100meg space that my friend is hosting for me.. Maybe I could provide some webspace for the database and then we could somehow link it to our SG page?? I don't know.. just shooting in the dark here...

Lots of clans track server stats as well as the big daddy of them all: www.bfstats.com which tracks tons of servers.. Most of the info I was finding was from the bfstats forums..

Live server monitor would be awesome too!

I'll submit our info there...put our server on their list. I think I'll wait til the IP changes when we move it to the slice of OC-3.

mountainman
12-08-03, 01:37 PM
Hmm... I'll check that site out.

As far as hosting it, I think it just needs to be on our server here for the game site. It'll be another menu item OR each player will have their own link to stats. Not sure how it works yet.

I don't think space is a problem. To me, it's writing the code to create it and making the outcome display REALTIME on a webpage.

koldchillah
12-08-03, 01:40 PM
Originally posted by YeOldeStonecat
I'll submit our info there...put our server on their list. I think I'll wait til the IP changes when we move it to the slice of OC-3.

as far as I know, thats only for vanilla BF.. I think there is another site somewhere tracking DC servers.. I lost the link..

Illini25
12-08-03, 06:03 PM
*cough* *cough*

I think someone else mentioned something about 'BF Tracks' before :D

http://forums.speedguide.net/showthread.php?s=&threadid=128296&perpage=15&highlight=Tracks&pagenumber=6

;)

Invité
12-09-03, 06:49 AM
looking for stats, you can try this one !!!

http://http://www.selectbf.org/

koldchillah
12-09-03, 10:45 AM
Originally posted by Illini25
*cough* *cough*

I think someone else mentioned something about 'BF Tracks' before :D

http://forums.speedguide.net/showthread.php?s=&threadid=128296&perpage=15&highlight=Tracks&pagenumber=6

;)

ahh.. so it was YOU who mentioned this before..

Well, just thought i'd reiterate.. :D

Invite, that selectbf thing looks cool too..

YeOldeStonecat
12-09-03, 01:16 PM
Dang...my bosses kid, CCHooper (who some of you may have seen on the server)...is great at this stuff. Just realized this...and he's packing today to leave for Air Force boot camp tomorrow...heading to Texas.

Best of luck C2!

sito
12-09-03, 01:30 PM
Best wishes man. Fun playing with you. :)

I was looking around for stats stuff (although I have no clue about making them) and found these. Fileplanet of all places:



http://www.fileplanet.com/dl.aspx?/planetbattlefield/battlestats120i.tar.gz

http://www.fileplanet.com/dl.aspx?/planetbattlefield/bf1942live.zip

http://www.fileplanet.com/dl.aspx?/planetbattlefield/bfannalyzer.zip


Hope this helps.

sito
12-09-03, 02:42 PM
The bflive has demo that looks like this.

http://www.force137.com/stats/bf1942live/bf.pl