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

TF2 Stats Parser

post #1 of 21
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
i7-6700k - 4.5Ghz @ 1.31V Z170 ASUS MAXIMUS VIII HERO Asus Strix 1080 ti @ 2050 / 6054 G.SKILL Ripjaws V Series 16GB 3200 - F4-3200C14... 
Hard DriveHard DriveHard DriveHard Drive
SAMSUNG 850 PRO 256GB SSD Crucial MX200 1TB SSD Crucial MX300 750GB Crucial MX100 512GB SSD 
Optical DriveCoolingOSMonitor
LG GGC-H20L Internal Blu-ray Burner Noctua nh-d14 Windows 10 Pro (64 bit) Acer XB270HU 27" 
MonitorKeyboardPowerCase
BENQ GW2765HT 27"  Logitech G710+ Corsair HX Professional Series 850W 80 Plus NZXT Phantom 630 
MouseMouse PadAudioAudio
Logitech G700 PECHAM Waterproof Gaming Mouse Mat Creative Sound Blaster X-Fi Titanium HD M-AUDIO AV40 
Other
Sennheiser HD 595 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7-6700k - 4.5Ghz @ 1.31V Z170 ASUS MAXIMUS VIII HERO Asus Strix 1080 ti @ 2050 / 6054 G.SKILL Ripjaws V Series 16GB 3200 - F4-3200C14... 
Hard DriveHard DriveHard DriveHard Drive
SAMSUNG 850 PRO 256GB SSD Crucial MX200 1TB SSD Crucial MX300 750GB Crucial MX100 512GB SSD 
Optical DriveCoolingOSMonitor
LG GGC-H20L Internal Blu-ray Burner Noctua nh-d14 Windows 10 Pro (64 bit) Acer XB270HU 27" 
MonitorKeyboardPowerCase
BENQ GW2765HT 27"  Logitech G710+ Corsair HX Professional Series 850W 80 Plus NZXT Phantom 630 
MouseMouse PadAudioAudio
Logitech G700 PECHAM Waterproof Gaming Mouse Mat Creative Sound Blaster X-Fi Titanium HD M-AUDIO AV40 
Other
Sennheiser HD 595 
  hide details  
Reply
post #2 of 21
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 21
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.
post #4 of 21
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
i7-6700k - 4.5Ghz @ 1.31V Z170 ASUS MAXIMUS VIII HERO Asus Strix 1080 ti @ 2050 / 6054 G.SKILL Ripjaws V Series 16GB 3200 - F4-3200C14... 
Hard DriveHard DriveHard DriveHard Drive
SAMSUNG 850 PRO 256GB SSD Crucial MX200 1TB SSD Crucial MX300 750GB Crucial MX100 512GB SSD 
Optical DriveCoolingOSMonitor
LG GGC-H20L Internal Blu-ray Burner Noctua nh-d14 Windows 10 Pro (64 bit) Acer XB270HU 27" 
MonitorKeyboardPowerCase
BENQ GW2765HT 27"  Logitech G710+ Corsair HX Professional Series 850W 80 Plus NZXT Phantom 630 
MouseMouse PadAudioAudio
Logitech G700 PECHAM Waterproof Gaming Mouse Mat Creative Sound Blaster X-Fi Titanium HD M-AUDIO AV40 
Other
Sennheiser HD 595 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7-6700k - 4.5Ghz @ 1.31V Z170 ASUS MAXIMUS VIII HERO Asus Strix 1080 ti @ 2050 / 6054 G.SKILL Ripjaws V Series 16GB 3200 - F4-3200C14... 
Hard DriveHard DriveHard DriveHard Drive
SAMSUNG 850 PRO 256GB SSD Crucial MX200 1TB SSD Crucial MX300 750GB Crucial MX100 512GB SSD 
Optical DriveCoolingOSMonitor
LG GGC-H20L Internal Blu-ray Burner Noctua nh-d14 Windows 10 Pro (64 bit) Acer XB270HU 27" 
MonitorKeyboardPowerCase
BENQ GW2765HT 27"  Logitech G710+ Corsair HX Professional Series 850W 80 Plus NZXT Phantom 630 
MouseMouse PadAudioAudio
Logitech G700 PECHAM Waterproof Gaming Mouse Mat Creative Sound Blaster X-Fi Titanium HD M-AUDIO AV40 
Other
Sennheiser HD 595 
  hide details  
Reply
post #5 of 21
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 21
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 21
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
i7-6700k - 4.5Ghz @ 1.31V Z170 ASUS MAXIMUS VIII HERO Asus Strix 1080 ti @ 2050 / 6054 G.SKILL Ripjaws V Series 16GB 3200 - F4-3200C14... 
Hard DriveHard DriveHard DriveHard Drive
SAMSUNG 850 PRO 256GB SSD Crucial MX200 1TB SSD Crucial MX300 750GB Crucial MX100 512GB SSD 
Optical DriveCoolingOSMonitor
LG GGC-H20L Internal Blu-ray Burner Noctua nh-d14 Windows 10 Pro (64 bit) Acer XB270HU 27" 
MonitorKeyboardPowerCase
BENQ GW2765HT 27"  Logitech G710+ Corsair HX Professional Series 850W 80 Plus NZXT Phantom 630 
MouseMouse PadAudioAudio
Logitech G700 PECHAM Waterproof Gaming Mouse Mat Creative Sound Blaster X-Fi Titanium HD M-AUDIO AV40 
Other
Sennheiser HD 595 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7-6700k - 4.5Ghz @ 1.31V Z170 ASUS MAXIMUS VIII HERO Asus Strix 1080 ti @ 2050 / 6054 G.SKILL Ripjaws V Series 16GB 3200 - F4-3200C14... 
Hard DriveHard DriveHard DriveHard Drive
SAMSUNG 850 PRO 256GB SSD Crucial MX200 1TB SSD Crucial MX300 750GB Crucial MX100 512GB SSD 
Optical DriveCoolingOSMonitor
LG GGC-H20L Internal Blu-ray Burner Noctua nh-d14 Windows 10 Pro (64 bit) Acer XB270HU 27" 
MonitorKeyboardPowerCase
BENQ GW2765HT 27"  Logitech G710+ Corsair HX Professional Series 850W 80 Plus NZXT Phantom 630 
MouseMouse PadAudioAudio
Logitech G700 PECHAM Waterproof Gaming Mouse Mat Creative Sound Blaster X-Fi Titanium HD M-AUDIO AV40 
Other
Sennheiser HD 595 
  hide details  
Reply
post #8 of 21
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 21
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 Crossfire 8 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 Crossfire 8 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 21
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
i7-6700k - 4.5Ghz @ 1.31V Z170 ASUS MAXIMUS VIII HERO Asus Strix 1080 ti @ 2050 / 6054 G.SKILL Ripjaws V Series 16GB 3200 - F4-3200C14... 
Hard DriveHard DriveHard DriveHard Drive
SAMSUNG 850 PRO 256GB SSD Crucial MX200 1TB SSD Crucial MX300 750GB Crucial MX100 512GB SSD 
Optical DriveCoolingOSMonitor
LG GGC-H20L Internal Blu-ray Burner Noctua nh-d14 Windows 10 Pro (64 bit) Acer XB270HU 27" 
MonitorKeyboardPowerCase
BENQ GW2765HT 27"  Logitech G710+ Corsair HX Professional Series 850W 80 Plus NZXT Phantom 630 
MouseMouse PadAudioAudio
Logitech G700 PECHAM Waterproof Gaming Mouse Mat Creative Sound Blaster X-Fi Titanium HD M-AUDIO AV40 
Other
Sennheiser HD 595 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7-6700k - 4.5Ghz @ 1.31V Z170 ASUS MAXIMUS VIII HERO Asus Strix 1080 ti @ 2050 / 6054 G.SKILL Ripjaws V Series 16GB 3200 - F4-3200C14... 
Hard DriveHard DriveHard DriveHard Drive
SAMSUNG 850 PRO 256GB SSD Crucial MX200 1TB SSD Crucial MX300 750GB Crucial MX100 512GB SSD 
Optical DriveCoolingOSMonitor
LG GGC-H20L Internal Blu-ray Burner Noctua nh-d14 Windows 10 Pro (64 bit) Acer XB270HU 27" 
MonitorKeyboardPowerCase
BENQ GW2765HT 27"  Logitech G710+ Corsair HX Professional Series 850W 80 Plus NZXT Phantom 630 
MouseMouse PadAudioAudio
Logitech G700 PECHAM Waterproof Gaming Mouse Mat Creative Sound Blaster X-Fi Titanium HD M-AUDIO AV40 
Other
Sennheiser HD 595 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: PC Gaming
Overclock.net › Forums › Video Games › PC Gaming › TF2 Stats Parser