archive by month
Skip to content

BWAPI 4.3.0

BWAPI 4.3.0 (release page) was released on March 1. Already it warns “This version is known to crash a lot.” Looking at the commits since then, which fix a couple of simple pointer bugs, confirmed for me the impression that quality control was not up to full speed for this release.

The change log lists mostly welcome but minor items: Documentation fixes and clarifications (always valuable), 2 fixes that prevent kinds of cheating that I wasn’t aware of, and 4 bug fixes to correct crashes or wrong behavior. There is one more substantial feature, which is that latency compensation has been “rewritten from scratch with turn size awareness.” Looking at the issue thread, I see that the new code is generalized to work in more cases, and some known misbehaviors are fixed. And it notes that latency compensation is hard and it’s still nothing like perfect, which is hardly surprising.

If you’re running 4.2.0, obviously you don’t want to upgrade to a version that crashes often. But if you want to try it out, theoretically you should be able to just drop in the new BWAPI library. You might want to test whether any of the fixes affect your bot. To me it seems entirely possible that rewriting something tricky like latency compensation could introduce new bugs, and anyone who reports those will help everybody.

Steamhammer is still running 4.1.2, and I plan to move it to 4.2.0 soon. That’s more effort, because I have to switch compilers. It seems that the version that fixes 4.3.0’s new bugs will be 4.4.0 (rather than 4.3.1 as I would expect), and it should also be a drop-in replacement for 4.2.0. For now, my expectation is that I’ll run 4.2.0 for a while, and wait to see if 4.4.0 proves stable and is supported by tournaments.

Trackbacks

No Trackbacks

Comments

MicroDK on :

4.4 not only fixes the new bugs but also fixes a lot of older bugs: Orange player color, random map iteration, getBuildUnit, getDistance calculation, buildability inaccuracy:
https://github.com/bwapi/bwapi/commits/master
And it will be tested running 100s of games... :)

Barcode on :

Seems like 4.4 has a large list of fixes/changes: https://github.com/bwapi/bwapi/pull/823
That's probably why there is a version increment.
4.3 Seems to be DOA

Hannes Bredberg on :

The only reason I've kept 4.3 up is because I want to be open with you guys. I only did testing on client bots and it has critical crashes all over the place for module bots. I have improved my testing setup for 4.4 and I have run thousands of both module and client games now without a single crash. It seems as stable as any version before. I don't see anything wrong with updating at this moment, I just need to get the changelog and binary release out there.

Joseph Huang on :

BWAPI 4.4.0 just released with a lot of fixes.

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options

Submitted comments will be subject to moderation before being displayed.