Skip to content

Releases: Davnit/capidaptor

capidaptor Version 1.3

31 Oct 16:02
Compare
Choose a tag to compare

Fixes some pretty annoying bugs from the BNCS command processing changes.

  • Terminal-style command input no longer supported. Use ? in place of spaces in usernames if needed.
  • Errors are now caught and returned when sending raw CAPI messages.
  • Fixes double error when trying to whisper a user not in the channel.

capidaptor Version 1.2

30 Oct 00:47
Compare
Choose a tag to compare

Version 1.2 improves error handling and increases flexibility with commands.

Specifically, you can now use quotes and other terminal-style syntax in commands, for example: /ban "a person with spaces in their name" will actually attempt to ban a user with that entire name (including spaces) instead of just the user "a".

Additionally, if an error occurs while receiving and process packets/messages from either the BNCS or CAPI side, they will be printed to the console along with relevant data dumps. Please include these in any issue reports if they are produced... but make sure not to post your API key!

capidaptor Version 1.1

05 Dec 18:22
Compare
Choose a tag to compare

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.

capidaptor Version 1

12 Oct 19:34
Compare
Choose a tag to compare

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.