Overclock.net › Forums › Video Games › PC Games › TF2 Stats Parser
New Posts  All Forums:Forum Nav:

TF2 Stats Parser

post #1 of 20
Thread Starter 
Hi everyone, just thought I would drop in and share with you guys a quick and dirty (at least the implementation ) 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).

Downloads:
EXE FILES
SOURCE

Screenshots are dead (may get some up another time)





Cheers.
Edited by Polska - 5/13/08 at 4:28pm
    
CPUMotherboardGraphicsRAM
Q9550 4Ghz @ 1.328V LLC On Gigabyte GA-EP45-UD3P MSI GTX 580 Twin Frozr II 900/2250 @1.125V OCZ DDR2 PC2-8500 Gold Edition 4GB 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vertex 2 SSD WD Caviar Green WD Caviar Black LG GGC-H20L Internal Blu-ray Burner 
CoolingOSMonitorMonitor
Noctua nh-d14 Windows 7 Pro (64 bit) 27" Asus VE278Q 22" Samsung 226BW 
KeyboardPowerCaseMouse
Logitech G510 OCZ ZX 850W Modular 80+ Gold HAF 932 Logitech G5 
Mouse PadAudioAudioOther
SteelSeries QcK Limited Edition (SC2 Kerrigan) Creative Sound Blaster X-Fi Titanium HD M-AUDIO AV40 Sennheiser HD 595 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 4Ghz @ 1.328V LLC On Gigabyte GA-EP45-UD3P MSI GTX 580 Twin Frozr II 900/2250 @1.125V OCZ DDR2 PC2-8500 Gold Edition 4GB 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vertex 2 SSD WD Caviar Green WD Caviar Black LG GGC-H20L Internal Blu-ray Burner 
CoolingOSMonitorMonitor
Noctua nh-d14 Windows 7 Pro (64 bit) 27" Asus VE278Q 22" Samsung 226BW 
KeyboardPowerCaseMouse
Logitech G510 OCZ ZX 850W Modular 80+ Gold HAF 932 Logitech G5 
Mouse PadAudioAudioOther
SteelSeries QcK Limited Edition (SC2 Kerrigan) Creative Sound Blaster X-Fi Titanium HD M-AUDIO AV40 Sennheiser HD 595 
  hide details  
Reply
post #2 of 20
Thanks, will try it out. Its not a virus or anything is it?

Edit 1~ According to BitDefender online scanning, its safe. Still waiting for the Jotti servers to calm down so I can scan with that.

Edit 2~ Net 3.5 works fine on my computer
Dell XPS 400
(13 items)
 
  
CPUMotherboardGraphicsRAM
Pentium D 930 Dell 0FJ030 NB i945P SB ICH7R Evga 8800GS 775/1000 Kingston 2gb (4 x 512mb) 533mhz 
Hard DriveOSMonitorKeyboard
160GB + 500GB Windows Vista 32-bit Dell 1907FP 19" Microsoft Media Pro 
PowerCaseMouse
Dell Proprietary 375W Dell Proprietary BTX Green Razer Copperhead 
  hide details  
Reply
Dell XPS 400
(13 items)
 
  
CPUMotherboardGraphicsRAM
Pentium D 930 Dell 0FJ030 NB i945P SB ICH7R Evga 8800GS 775/1000 Kingston 2gb (4 x 512mb) 533mhz 
Hard DriveOSMonitorKeyboard
160GB + 500GB Windows Vista 32-bit Dell 1907FP 19" Microsoft Media Pro 
PowerCaseMouse
Dell Proprietary 375W Dell Proprietary BTX Green Razer Copperhead 
  hide details  
Reply
post #3 of 20
This looks super cool, but could someone look at it and check it...No offense but I am very protective over my steam account . If its the real deal this is really cool.
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6750 P35-DS3L 8800GT 3GB G.Skill CAS 4 800mhz 
Hard DriveOSMonitorPower
80gb Intel x-25 v2 W7 Ultimate 32" Toshiba 1080p TV 750W Rosewill Extreme 
CaseMouseMouse Pad
CM Storm Scout Logitech G9 Razer Exactmat 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6750 P35-DS3L 8800GT 3GB G.Skill CAS 4 800mhz 
Hard DriveOSMonitorPower
80gb Intel x-25 v2 W7 Ultimate 32" Toshiba 1080p TV 750W Rosewill Extreme 
CaseMouseMouse Pad
CM Storm Scout Logitech G9 Razer Exactmat 
  hide details  
Reply
post #4 of 20
Thread Starter 
No it's not a virus, you can have the source code and compile it yourself if you want (provided you know c# syntax and have visual studio hehe) .
    
CPUMotherboardGraphicsRAM
Q9550 4Ghz @ 1.328V LLC On Gigabyte GA-EP45-UD3P MSI GTX 580 Twin Frozr II 900/2250 @1.125V OCZ DDR2 PC2-8500 Gold Edition 4GB 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vertex 2 SSD WD Caviar Green WD Caviar Black LG GGC-H20L Internal Blu-ray Burner 
CoolingOSMonitorMonitor
Noctua nh-d14 Windows 7 Pro (64 bit) 27" Asus VE278Q 22" Samsung 226BW 
KeyboardPowerCaseMouse
Logitech G510 OCZ ZX 850W Modular 80+ Gold HAF 932 Logitech G5 
Mouse PadAudioAudioOther
SteelSeries QcK Limited Edition (SC2 Kerrigan) Creative Sound Blaster X-Fi Titanium HD M-AUDIO AV40 Sennheiser HD 595 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 4Ghz @ 1.328V LLC On Gigabyte GA-EP45-UD3P MSI GTX 580 Twin Frozr II 900/2250 @1.125V OCZ DDR2 PC2-8500 Gold Edition 4GB 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vertex 2 SSD WD Caviar Green WD Caviar Black LG GGC-H20L Internal Blu-ray Burner 
CoolingOSMonitorMonitor
Noctua nh-d14 Windows 7 Pro (64 bit) 27" Asus VE278Q 22" Samsung 226BW 
KeyboardPowerCaseMouse
Logitech G510 OCZ ZX 850W Modular 80+ Gold HAF 932 Logitech G5 
Mouse PadAudioAudioOther
SteelSeries QcK Limited Edition (SC2 Kerrigan) Creative Sound Blaster X-Fi Titanium HD M-AUDIO AV40 Sennheiser HD 595 
  hide details  
Reply
post #5 of 20
Lol, i didn't think it was a virus, but just wanted to make sure for the Viraphobes on OCN
Dell XPS 400
(13 items)
 
  
CPUMotherboardGraphicsRAM
Pentium D 930 Dell 0FJ030 NB i945P SB ICH7R Evga 8800GS 775/1000 Kingston 2gb (4 x 512mb) 533mhz 
Hard DriveOSMonitorKeyboard
160GB + 500GB Windows Vista 32-bit Dell 1907FP 19" Microsoft Media Pro 
PowerCaseMouse
Dell Proprietary 375W Dell Proprietary BTX Green Razer Copperhead 
  hide details  
Reply
Dell XPS 400
(13 items)
 
  
CPUMotherboardGraphicsRAM
Pentium D 930 Dell 0FJ030 NB i945P SB ICH7R Evga 8800GS 775/1000 Kingston 2gb (4 x 512mb) 533mhz 
Hard DriveOSMonitorKeyboard
160GB + 500GB Windows Vista 32-bit Dell 1907FP 19" Microsoft Media Pro 
PowerCaseMouse
Dell Proprietary 375W Dell Proprietary BTX Green Razer Copperhead 
  hide details  
Reply
post #6 of 20
Hi, thanks for posting this app, its great. You mentioned that you would release the source code so people could check it for viruses, but will you share the source code for people who would like to play around with the app, see how it works and perhaps expand upon it?
out of date...
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Athlon 2800+ Asus A7N8X Deluxe MSI GeForce 6600GT 1 gig 
Hard DriveOSKeyboardCase
80 gig WD, 160gig SEGATE 2x SEGATE 320 gig RAID 1 Windows XP SP2 ZBoard Merc gaming keyboard Coolermaster 
Mouse
Logitech 
  hide details  
Reply
out of date...
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Athlon 2800+ Asus A7N8X Deluxe MSI GeForce 6600GT 1 gig 
Hard DriveOSKeyboardCase
80 gig WD, 160gig SEGATE 2x SEGATE 320 gig RAID 1 Windows XP SP2 ZBoard Merc gaming keyboard Coolermaster 
Mouse
Logitech 
  hide details  
Reply
post #7 of 20
Thread Starter 
Ya sure I could do that. I have no conditions/licenses other then to leave the comments in the code stating I was the original author. I will post the source when I get home from work.

The code is not terribly pretty and not commented, but I hope it is not too hard to follow. I just pretty much did the first thing that came to mind, and if it worked, I left it alone. Like I said it was quick and dirty haha. I would actually like someone to expand upon it, maybe have some graphs or reports like the ones in the game, I think that would be neat. I just don't really have the time to play with it. Also if you do make an update to it I wouldn't mind hearing about it from you .
    
CPUMotherboardGraphicsRAM
Q9550 4Ghz @ 1.328V LLC On Gigabyte GA-EP45-UD3P MSI GTX 580 Twin Frozr II 900/2250 @1.125V OCZ DDR2 PC2-8500 Gold Edition 4GB 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vertex 2 SSD WD Caviar Green WD Caviar Black LG GGC-H20L Internal Blu-ray Burner 
CoolingOSMonitorMonitor
Noctua nh-d14 Windows 7 Pro (64 bit) 27" Asus VE278Q 22" Samsung 226BW 
KeyboardPowerCaseMouse
Logitech G510 OCZ ZX 850W Modular 80+ Gold HAF 932 Logitech G5 
Mouse PadAudioAudioOther
SteelSeries QcK Limited Edition (SC2 Kerrigan) Creative Sound Blaster X-Fi Titanium HD M-AUDIO AV40 Sennheiser HD 595 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 4Ghz @ 1.328V LLC On Gigabyte GA-EP45-UD3P MSI GTX 580 Twin Frozr II 900/2250 @1.125V OCZ DDR2 PC2-8500 Gold Edition 4GB 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vertex 2 SSD WD Caviar Green WD Caviar Black LG GGC-H20L Internal Blu-ray Burner 
CoolingOSMonitorMonitor
Noctua nh-d14 Windows 7 Pro (64 bit) 27" Asus VE278Q 22" Samsung 226BW 
KeyboardPowerCaseMouse
Logitech G510 OCZ ZX 850W Modular 80+ Gold HAF 932 Logitech G5 
Mouse PadAudioAudioOther
SteelSeries QcK Limited Edition (SC2 Kerrigan) Creative Sound Blaster X-Fi Titanium HD M-AUDIO AV40 Sennheiser HD 595 
  hide details  
Reply
post #8 of 20
Polska,

Thanks for getting back to me, I appreciate it that you would share the source.

I know all about "not pretty" code, sometimes its better to get it to work then to worry about making it work better.

My current plan was to try convert your app over to VB, my C # is still a little weak, and just try to get a handle on how you parsed the info, your GUI, things like that. As for expanding it, graphs and charts sound like a great idea. I also wanted to try creating a signature generator using the stats from the app so people could generate their own TF 2 sigs without having to link it out to a website, they could instead just upload an image, it wouldn't be dynamically updated though....

I would welcome any help or suggestions you have regarding the program, or if you do end up having time, maybe a collaboration between the two of us on it?
out of date...
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Athlon 2800+ Asus A7N8X Deluxe MSI GeForce 6600GT 1 gig 
Hard DriveOSKeyboardCase
80 gig WD, 160gig SEGATE 2x SEGATE 320 gig RAID 1 Windows XP SP2 ZBoard Merc gaming keyboard Coolermaster 
Mouse
Logitech 
  hide details  
Reply
out of date...
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Athlon 2800+ Asus A7N8X Deluxe MSI GeForce 6600GT 1 gig 
Hard DriveOSKeyboardCase
80 gig WD, 160gig SEGATE 2x SEGATE 320 gig RAID 1 Windows XP SP2 ZBoard Merc gaming keyboard Coolermaster 
Mouse
Logitech 
  hide details  
Reply
post #9 of 20
I always wanted a program or something like this for TF2. Excellent.
New
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X4 955 BE @ 3.8 ghz GIGABYTE GA-MA790X-UD4P Saphhire HD5850 OC Toxic w/ 9800 GT PhysX 4 GB G.SKILL 240-Pin DDR2 SDRAM DDR2 800 
Hard DriveOSMonitorPower
2 x 1 TB Western Digital Black Caviar Windows 7 64 bit Asus 23" 1080p 2 ms Corsair 750TX 
Case
Antec 300 
  hide details  
Reply
New
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X4 955 BE @ 3.8 ghz GIGABYTE GA-MA790X-UD4P Saphhire HD5850 OC Toxic w/ 9800 GT PhysX 4 GB G.SKILL 240-Pin DDR2 SDRAM DDR2 800 
Hard DriveOSMonitorPower
2 x 1 TB Western Digital Black Caviar Windows 7 64 bit Asus 23" 1080p 2 ms Corsair 750TX 
Case
Antec 300 
  hide details  
Reply
post #10 of 20
Thread Starter 
As I promised I have included my Solution files in a zip. have fun. If you have some questions I will try to get back to you asap.

DOWNLOAD SOURCE FILES
    
CPUMotherboardGraphicsRAM
Q9550 4Ghz @ 1.328V LLC On Gigabyte GA-EP45-UD3P MSI GTX 580 Twin Frozr II 900/2250 @1.125V OCZ DDR2 PC2-8500 Gold Edition 4GB 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vertex 2 SSD WD Caviar Green WD Caviar Black LG GGC-H20L Internal Blu-ray Burner 
CoolingOSMonitorMonitor
Noctua nh-d14 Windows 7 Pro (64 bit) 27" Asus VE278Q 22" Samsung 226BW 
KeyboardPowerCaseMouse
Logitech G510 OCZ ZX 850W Modular 80+ Gold HAF 932 Logitech G5 
Mouse PadAudioAudioOther
SteelSeries QcK Limited Edition (SC2 Kerrigan) Creative Sound Blaster X-Fi Titanium HD M-AUDIO AV40 Sennheiser HD 595 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 4Ghz @ 1.328V LLC On Gigabyte GA-EP45-UD3P MSI GTX 580 Twin Frozr II 900/2250 @1.125V OCZ DDR2 PC2-8500 Gold Edition 4GB 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vertex 2 SSD WD Caviar Green WD Caviar Black LG GGC-H20L Internal Blu-ray Burner 
CoolingOSMonitorMonitor
Noctua nh-d14 Windows 7 Pro (64 bit) 27" Asus VE278Q 22" Samsung 226BW 
KeyboardPowerCaseMouse
Logitech G510 OCZ ZX 850W Modular 80+ Gold HAF 932 Logitech G5 
Mouse PadAudioAudioOther
SteelSeries QcK Limited Edition (SC2 Kerrigan) Creative Sound Blaster X-Fi Titanium HD M-AUDIO AV40 Sennheiser HD 595 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: PC Games
Overclock.net › Forums › Video Games › PC Games › TF2 Stats Parser