Haxpact Day 3

March 11th, 2010 at 12:34

The regexp of horror is complete. I ran into some truncation problem with the ini library that I grabbed yesterday, because the buffer was too small. Thanks to the mercifully good debugger in Visual C#, I was able to track down the source of the truncation bug pretty quickly. The problem was that the author of the adaptor only allocated a buffer of 255. I’ve increased the limit to 2k, which should be way more than anyone should ever need (famous last words). It should be possible to test if the buffer was large enough, so I can probably future-proof the parser at some point by adding code that will dynamically increase the buffer size if the initial amount is too low. I’ll come back to that later.

I think the alpha is complete. Next on the list is to run some preliminary testing. Once that is done, I’ll make a source and binary release to the community.

Reddit Unofficial Gaming Community

Comments (0)

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment