Skip to content

Releases: JavaBWAPI/JBWAPI

JBWAPI 2.1.0

30 Sep 19:29
Compare
Choose a tag to compare

Changes

  • Some small potential speed improvements
  • BWTA::getBWEM (can help migrate bots from BWMirror)
  • All Enum ID's are now public
  • Unit::getTrainingQueueAt & Unit::getTrainingQueueCount are now public
  • The docs have been updated to v2.1.0

JBWAPI 2.0.0

13 Apr 06:09
Compare
Choose a tag to compare

A major new JBWAPI release! 🎊

This version 2 adds 2 major new features:

  • Async support by dgant: #60
  • native linux support using openbw by Bytekeeper: #73

Some smaller fixes/updates:

  • getLoadedUnits, getInterceptors, getLarva now faster on multiple calls per frame (caching)
  • Java 9-11 supported

Note: as this release has some big changes it could be that there are still some small issues, if you encounter one, please make a PR!

JBWAPI 1.5.1

18 Jul 15:35
Compare
Choose a tag to compare

Fixed

  • Player#isResearching (called wrong method with latcom on)
  • Unit#getBuildUnit (called wrong method with latcom on)
  • Unit#getTargetPosition (called wrong methods)

JBWAPI 1.5

15 Jun 08:04
Compare
Choose a tag to compare
  • LatCom was off accidently, now ON by default

JBWAPI 1.4.1

28 May 19:40
Compare
Choose a tag to compare
  • Game#sendText strings can also be formatted now
  • replayID now returns the updated values during live game's for unit's created on frame 0 (but just using getID for everything is recommended)

JBWAPI 1.4

20 Apr 07:21
Compare
Choose a tag to compare

BWAPI/BWMirror compatibility

  • support printing colored text using varargs
game.drawTextScreen(50, 50, "%cHello %cWorld!", Text.Red, Text.Green);
  • points can now also be constructed using other pointtypes (BWAPI style), the p.toXPosition() methods will always stay available (BWMirror style)
TilePosition tp = new TilePosition(20, 12);
Position p = new Position(tp);
  • bwapi.Color now has an implemented toString method displaying which color is being used in case of a standard bwapi color. Else it displays the custom RGB values.

BWEM/BWTA

  • methods getTile, getCenter and getStartingLocations now directly available from BWMap instead of needing to use getData() or even getData().getMapData()
  • marked BWTA as deprecated instead of writing a warning to stderr (fixes bots using BWTA hanging at start if launched by the Tournament manager)

Fixes

  • bwapi.Text color Turquoise fixed (was displaying yellow)

JBWAPI 1.3

13 Mar 10:40
Compare
Choose a tag to compare
  • non-standard bwapi.Color s were wrong, fixed by @dgant
  • Game#drawText now truncates strings that are too large instead of throwing, as BWAPI does
  • added ability to debug some potential connection issues, off by default, activate by calling: new BWClient(this, true)
  • fix self & enemy throwing when running a replay instead of a normal game

JBWAPI 1.2

02 Feb 20:28
Compare
Choose a tag to compare
  • UnitCommand fixes, Tanks can now Siege/Unsiege (@dgant )
  • the fake BWTA bindings now allow to ignore some errors while analyzing the map (@dgant )
  • Color fixes, drawing shapes was actually broken for a while, sorry about that.

JBWAPI 1.1.1

13 Jan 11:15
Compare
Choose a tag to compare
  • LatCom should be enabled by default

JBWAPI 1.1

13 Jan 10:41
Compare
Choose a tag to compare

Some quality of life fixes for the connection code

  • Reconnect on unexpected disconnect
  • Fixed small bug where quitting the game in the main menu would lead to continuous error messages
  • Make the connection message look like the BWAPI Client/BWMirror
Game table mapping not found.
Game table mapping not found.
Game table mapping not found.
0 | 4840 | 0 | 5381484
1 | 0 | 0 | 0
2 | 0 | 0 | 0
3 | 0 | 0 | 0
4 | 0 | 0 | 0
5 | 0 | 0 | 0
6 | 0 | 0 | 0
7 | 0 | 0 | 0
Connected
Connection successful