Releases: JavaBWAPI/JBWAPI
Releases · JavaBWAPI/JBWAPI
JBWAPI 2.1.0
Changes
- Some small potential speed improvements
BWTA::getBWEM(can help migrate bots from BWMirror)- All Enum ID's are now public
Unit::getTrainingQueueAt&Unit::getTrainingQueueCountare now public- The docs have been updated to
v2.1.0
JBWAPI 2.0.0
A major new JBWAPI release! 🎊
This version 2 adds 2 major new features:
Some smaller fixes/updates:
getLoadedUnits,getInterceptors,getLarvanow 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
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
- LatCom was off accidently, now ON by default
JBWAPI 1.4.1
- 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
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.Colornow has an implementedtoStringmethod displaying which color is being used in case of a standard bwapi color. Else it displays the custom RGB values.
BWEM/BWTA
- methods
getTile,getCenterandgetStartingLocationsnow directly available from BWMap instead of needing to usegetData()or evengetData().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.TextcolorTurquoisefixed (was displaying yellow)
JBWAPI 1.3
- non-standard
bwapi.Colors were wrong, fixed by @dgant Game#drawTextnow 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&enemythrowing when running a replay instead of a normal game
JBWAPI 1.2
JBWAPI 1.1.1
- LatCom should be enabled by default
JBWAPI 1.1
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