Go Back   Tactical Gamer > Action > Team Fortress 2 > Team Fortress 2 - General Discussion


Team Fortress 2 - General Discussion General discussion for Team Fortress 2

Reply
 
Thread Tools
Old 03-24-2008, 07:43 PM   #1 (permalink)
 
Polska's Avatar
 
Join Date: May 2003
Location: Ontario, Canada
Age: 26
Posts: 700
TF2 Stats Parser

Hi everyone, just thought I would drop in and share with you guys a quick and dirty (at least the implementation :P) application I wrote over Easter weekend for kicks. It simply parses the stats data file (tf2_playerstats.dmx) from TF2 and displays the information in several different ways. The stats file contains a little more information then the in game stats display shows. It's not terribly useful, but you can find out extra things like total damage, total playtime etc..

Anyway, it requires the .net framework (anything from 2-3.5, I have included versions compiled in 2, 3 and 3.5). I may make some updates from time to time when I am bored (maybe some graphs), shoot me an idea or two if you want, but that's a maybe. Let me know if you find some problems (the parser is not terribly pretty so it may break if they change the structure of their files one day).

Download Link
Some Screenshots:





Cheers.
__________________

I love gaming, mmmmmmmm

Last edited by Polska; 03-24-2008 at 08:05 PM.
Polska is offline   Reply With Quote
Old 03-24-2008, 08:54 PM   #2 (permalink)

 
MagnaCentipede's Avatar
 
Join Date: May 2007
Posts: 1,898
Re: TF2 Stats Parser

I don't even think I have .NET anything installed. And I know I won't have 3 installed, since Microsoft wants programmers like you to help them destroy the functionality of Windows 2000.

So, what amazing .NET features did you need to draw a window, add some numbers, and format strings?
__________________
MagnaCentipede is offline   Reply With Quote
Sponsored links
Old 03-24-2008, 09:09 PM   #3 (permalink)
 
Polska's Avatar
 
Join Date: May 2003
Location: Ontario, Canada
Age: 26
Posts: 700
Re: TF2 Stats Parser

Yes all those amazing features (and yes writing a simple windows gui in minutes is an amazing feature of .net). No one is shoveling this down your throat. You want to go write it in c++ or whatever language tickles your fancy go for it. Please forgive me for not pleasing your wants/needs and desires.
__________________

I love gaming, mmmmmmmm

Last edited by Polska; 03-25-2008 at 12:01 AM.
Polska is offline   Reply With Quote
Old 03-24-2008, 11:00 PM   #4 (permalink)
 
Fish #641's Avatar
 
Join Date: Jan 2008
Posts: 488
Re: TF2 Stats Parser

That's probably going to be a hard one for Maggie to forgive. I heard Zephy's doing confessions now though.
Fish #641 is offline   Reply With Quote
Old 03-24-2008, 11:15 PM   #5 (permalink)

 
Chewy's Avatar
 
Join Date: Jan 2006
Location: Oak Creek, WI
Age: 24
Posts: 1,565
Re: TF2 Stats Parser

Quote:
Originally Posted by Fish #641 View Post
That's probably going to be a hard one for Maggie to forgive. I heard Zephy's doing confessions now though.
LOL! Magna can never be pleased and Zephyr doing confessions... Lord help us!
Chewy is offline   Reply With Quote
Old 03-25-2008, 12:02 AM   #6 (permalink)
 
Fish #641's Avatar
 
Join Date: Jan 2008
Posts: 488
Re: TF2 Stats Parser

Quote:
Originally Posted by Chewy View Post
Lord help us!
That's the idea.
Fish #641 is offline   Reply With Quote
Sponsored links
Old 03-25-2008, 01:02 AM   #7 (permalink)

 
MagnaCentipede's Avatar
 
Join Date: May 2007
Posts: 1,898
Re: TF2 Stats Parser

Wow, look at him go.

1) You can do it in seconds in Visual Basic. That's what VB was/is for, and it has a smaller Runtime package that works on W2K as well as her two demon-spawn mutant descendants.
2) Don't try to build a straw man; just because I said that I wouldn't use it and that I don't see why you need to lean against .NET runtimes doesn't mean I'm installing .NET anyway and BAWWWWWing about it.
3) You failed my wants, needs, and desires when you turned out to be a .NET coder instead of a dispenser that provides real-sugar sodas, fried chicken, steak, salmon, and pizzas on-demand.
__________________
MagnaCentipede is offline   Reply With Quote
Old 03-25-2008, 08:30 AM   #8 (permalink)
 
Polska's Avatar
 
Join Date: May 2003
Location: Ontario, Canada
Age: 26
Posts: 700
Re: TF2 Stats Parser

How unfortunate that technology changes isn't it. It doesn't help that I despise VB as a programming language :P. In the end I feel .NET makes my life easier (I really don't care how it affects you, unless you're paying me, in which case you may not like the *bloated* runtime) and that's what matters to me.
__________________

I love gaming, mmmmmmmm
Polska is offline   Reply With Quote
Old 03-25-2008, 03:01 PM   #9 (permalink)

 
TheFeniX's Avatar
 
Join Date: Jan 2004
Location: Houston, TX
Age: 26
Posts: 4,447
Re: TF2 Stats Parser

That's really cool Polska. And ignore Magna, he's just upset that MS quit supporting Windows 95.
__________________
TheFeniX is offline   Reply With Quote
Old 03-25-2008, 03:10 PM   #10 (permalink)
 
TheSkudDestroyer's Avatar
 
Join Date: Apr 2007
Location: NY
Posts: 2,983
Re: TF2 Stats Parser

Nice of you to take the time, polska.

Ignore magna, he'll die alone chained to his windows 2000 rig fighting off windows 3k.
__________________
|TG-6th|Skud, NA Deputy Lead Tester
-F- Skudly
|TG-6th|Dirtboy

To Hell and Back: The untold story of having your Dick Blonov




TheSkudDestroyer is offline   Reply With Quote
Sponsored links
Old 03-25-2008, 04:10 PM   #11 (permalink)

 
MagnaCentipede's Avatar
 
Join Date: May 2007
Posts: 1,898
Re: TF2 Stats Parser

I still have a 95 machine, indeed. It gets 60 fps in minesweeper.
__________________
MagnaCentipede is offline   Reply With Quote
Old 03-26-2008, 01:04 AM   #12 (permalink)
 
millipede777's Avatar
 
Join Date: Oct 2005
Location: AZ
Age: 18
Posts: 689
Re: TF2 Stats Parser

In the first picture is shows your maximum buildings built as 52 and your maximum teleporters built as 98. Now I don't play engi often, but I sure thought that teleporters counted as buildings too. Of course I wouldn't have thought that a person could build 52 buildings before dieing, so what do I know?

Neat program. Seeing the totals for stats is interesting since that stuff isn't usually displayed.
__________________
AKA ContingencyPlan


millipede777 is offline   Reply With Quote
Old 03-26-2008, 08:31 AM   #13 (permalink)
 
Polska's Avatar
 
Join Date: May 2003
Location: Ontario, Canada
Age: 26
Posts: 700
Re: TF2 Stats Parser

That looks to be an error on my part (possibly due to a lack of sleep during easter). The attribute name in the file is "iNumTeleports" and I just wanted to give spaced/meaningful names, so that really should be Teleport Uses or something of that nature. Yes mine is 98 because life as an engineer can get rather boring LOL (I don't think the game counts you using your own anymore, or doesn't award points ingame atleast).
__________________

I love gaming, mmmmmmmm
Polska is offline   Reply With Quote
Old 03-26-2008, 09:17 AM   #14 (permalink)

 
MagnaCentipede's Avatar
 
Join Date: May 2007
Posts: 1,898
Re: TF2 Stats Parser

That'd be it; "Teleports" is always uses, though I wonder if that counts self-use. I know they stopped awarding frags for self-abuse of teleporters.
__________________
MagnaCentipede is offline   Reply With Quote
Old 03-26-2008, 04:22 PM   #15 (permalink)
 
Fish #641's Avatar
 
Join Date: Jan 2008
Posts: 488
Re: TF2 Stats Parser

It doesn't count as self-use. I've been bored as engi before when I figured out that hitting a teleporter with a wrench does NOT make it recharge faster. I know you've all been wondering about that. I then proceded to use my teleporter over and over, teleporting about 3 feet each time.
Fish #641 is offline   Reply With Quote
Sponsored links
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT -4. The time now is 07:35 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
©2004-2008 - Tactical Gamer - All Rights Reserved