Thanks to xZulux and xxAntManxx for their help in pointing me in the right direction at times.
To use, just put your gamertag in, then choose whether to grab your last 25 games or just one of your last 25 games, then press fetch. When it gets done (yes I know I need to add a progress bar) go to the directory where you put the program, then open games.xml, it has the stats for the games you choose to grab.
Once again, this is just an alpha and I'm releasing it because of the stats reset that's going to happen, hopefully I'll have more done with it soon....
ps:it creates a bunch of temp files (in the program folder) and I haven't had time to write the functions to delete them after everything has run, sorry about that.
Grabs the stats from pages like
http://www.bungie.net/Stats/PlayerStats ... mode=Halo2
and
http://www.bungie.net/Stats/GameStats.a ... he7yckoMan
(just to pick my main page and a random game)
Enjoy!
Example (just including one player from the game)
Code: Select all
<Game>
<date value="4/27/2007 6:29:37 PM" />
<matchtype value="Rumble Pit" />
<gametype value="Slayer" />
<map value="Midship" />
<link value="/Stats/GameStats.aspx?gameid=693814341&mode=Halo2&player=The7yckoMan" />
<player>
<assists value="3" />
<betrayals value="0" />
<deaths value="6" />
<firstgametypestat value="9" />
<grenadekills value="3" />
<headshots value="11" />
<kdspread value="19" />
<kills value="25" />
<level value="6" />
<weaponchoice weapon="battle_rifle" source="/images/halo2stats/weapons/battle_rifle.gif" />
<meleekills value="3" />
<mostkilled value="The7yckoMan" />
<mostkilledby value="dan and kman" />
<otherkills value="0" />
<place value="1st" />
<playername value="SnL I rAgE I" />
<score value="25" />
<secondgametypestat value="00:00:35" />
<suicides value="0" />
<vehiclekills value="0" />
<weaponkills value="19" />
<medal amount="5" source="/images/Halo2Stats/Medals/multiple_kill_2.gif" />
<medal amount="8" source="/images/Halo2Stats/Medals/bash_kill.gif" />
<medal amount="1" source="/images/Halo2Stats/Medals/stealth_kill.gif" />
<medal amount="1" source="/images/Halo2Stats/Medals/grenade_stick.gif" />
<medal amount="3" source="/images/Halo2Stats/Medals/kills_in_a_row_5.gif" />
</player>
</Game>
Edit 5-4-07 supplemental: Added a progress bar, autosave for gamertag and now it deletes the temp files after it's done.