Skip to content

@Davnit Davnit released this Dec 5, 2018 · 3 commits to master since this release

Version 1.1 contains bug fixes, additional error handling, and improved compatibility with some of the more nuanced features of Battle.net.

  • Improves connection state handling, so hopefully disconnects will be detected more accurately now.
  • Exceptions caught when protocol message handling fails (the API is in alpha and things sometimes change or are not how they should be).
  • Send flag updates on /unignore and include statstrings in these messages.
  • Ignore user updates with no new information.

Some convenience features:

  • Add /capi send command for sending raw messages. First argument is the command and the rest should be a JSON-formatted string containing the payload.
  • Add /capi debug command which will output some information related to the API connection.
  • Add --out-format and --debug-format command-line options, see commit 9f8be1e for more information.
Assets 3

@Davnit Davnit released this Oct 12, 2018 · 18 commits to master since this release

capidaptor version 1 contains all of the basic functionality for interfacing classic bots with the new chat API. This release comes with a pre-packaged EXE that can be run directly.

All of the command-line arguments associated with the script are also supported with the EXE:

  • --interface interface[:port] - changes the network interface that the server listens on. Default is all interfaces.
  • --ignore-unsupported - silently ignores normal Battle.net commands that are not supported by the chat API instead of returning an error message.
  • --debug - enables debugging mode which shows sent and received packets from both BNCS and CAPI as well as commands.
  • --do-version-check - requests a version check from connecting clients instead of attempting to skip the process. The response to the check still doesn't matter.
Assets 3
You can’t perform that action at this time.