Archive for April, 2008

Halo 3 Asset-O-Matic Beta – Soon

Halo 3 logoThe Asset-O-Matic is coming along nicely now. The database code has been completed and I’m now planning the best way to display the stored information, this is where a public beta will help no end with people feeding back as to what they want to see and how. Speed wise things are looking a lot better, I have just scanned my current game history (1150 games) and it took 19 minutes 50 seconds. A vast improvement from the original 50 minutes for 1000(ish) games.
I’ve got an occasional memory leak to track down, it’s currently escaping me as everything I create is destroyed correctly and the leak can occur on searches that previously had no problems. It’s a little random and hard to repeat on a regular basis so the first beta might come with a warning to restart the application for every new game history you scan as it’d be a shame to hold off on release for such a minor and occasional problem.

Update
I’ve fixed the memory leak, when scanning a gamertag with only a couple of games played the downloader threads would occasionally finish before the scanning thread had processed the games. Another bug left over from when I upped the amount of downloader threads from 1 to 5.

Tags: , , , ,

Halo 3 Asset-O-Matic now 50% faster

Halo 3 logoWorking down in Worcester last weekend left me little time to work on the Halo 3 Asset-O-Matic but I was able to steal an hour or so away from the current Double XP weekend playlist to do some further work. I’ve beefed up the amount of downloader threads from 1 to 5 which has halved the time needed to analyse my game history, 1167 games at the time of writing, down to 23 minutes from 50. It’s still more than I had hoped but the bottleneck is the speed at which Bungie.net is responding. The thread that strips the information from the pages never falls behind and is working on each page as it arrives. I could throw more downloader threads in there but I’m not sure what affect this will have on Bungie.net I guess the first release will have to be a slow but sure affair.

The database code hasn’t been started yet, the program is currently erroring on completion. Nothing show stopping but something that needs addressing before I move onto the DB code. With the recent announcement that Bungie are going to give the helm of Bungie Favourites to the community I can see an increased need to locate which games have assets in your history.
I’ll be working on stopping the completion error today, I’m not sure why it’s only just started happening so that’s an interesting challenge. I’ll also need to find a profile that hasn’t played many Halo 3 matches for testing, another challenge in itself 😀

Update
I’ve fixed the error, I hadn’t accounted for going from 1 thread downloading to 5 which meant another thread was exiting early. I also picked up on a subtle bug where 1 of your games was never processed. Hardly a killer bug but I’m glad I spotted it before the public beta (as soon as the DB code is written) 🙂

Tags: , , , ,