Tuesday, May 25, 2010

BWAPI Beta 2.7.2

The latest version of BWAPI is BWAPI Beta 2.7.2. This release just fixes a crash that was accidentally added in BWAPI Beta 2.7.1. BWAPI Beta 2.7.1 was the first release in several months and has quite a few changes and bug fixes, which are detailed in the change log.

Yesterday I started adding some test cases to the TestAIModule (which is in the BWAPI svn). So far it mostly tests basic things, though already I discovered some unexpected output - the player's minerals and cumulativeMinerals are 0 during onStart, and Game::isPaused is true during onStart. I think the easiest way to fix these problems would just be to ignore the first frame and start the ai module on frame one (though adjust the numbering so the AI module still thinks it is starting on frame 0), since it appears the values of these functions are correct on the second frame.

No comments:

Post a Comment