Skip to content

RW3D CLI v0.6.0

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Jul 12:22
· 19 commits to master since this release

Complete rework of the core library together with some breaking changes to the CLI.

What changed

CLI

  • breaking: changed reload command's --max_compile_time shorthand to -t, made the argument optional insteead of getting a default value
  • breaking: changed --response-timeout's shorthand to -t
  • breaking: renamed --no-wait flag to --no-delay
  • breaking: stopping the scriptslog command now requires the Ctrl-C combination instead of pressing Enter
  • breaking: changed scriptslog command's refresh_time shorthand to -t
  • breaking: removed the --no-listen flag
  • added --log-level argument
  • reduced--response-timeout's default value to 2000ms
  • reduced the amount of artificial command execution waiting time when --no-delay is not enabled
  • replaced raw packet reading with client-server communication utilizing newly created WitcherClient type
  • help information for the scriptslog command should now properly group arguments together

Core library

  • breaking: replaced rw3d_core with rw3d_net and rw3d_scriptslog
  • breaking: rewrote the core in a way that it can be more useful outside of this repositrory, mainly by establishing possible messages types and dividing them into notifications, requests and responses
  • added a "connection" type that wrapps tcp stream - for convenience
  • added a "WitcherClient" type through the rw3d_net_client library, which can communicate with the game in a simple notification-request-response fashion

Fixes

  • fixed UTF8 decoding errors which could sometimes happen when reading responses from the game

Full Changelog: v0.5.1...v0.6.0