Skip to content

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Sep 21:48
· 25 commits to main since this release
6e262d9

Breaking

  • The [settings] keys V8Flags, V8ThreadPoolSize and V8SingleThreaded in d2bs.ini are now EngineFlags, EngineThreadPoolSize and EngineSingleThreaded. The old names are not read, so rename them or the defaults apply.
  • d2bs launch switches are removed from the process command line after they are parsed, so the game no longer sees them.

Scripting

  • scriptBroadcast() and script.send() no longer throw DataCloneError for an argument that cannot be cloned. That argument arrives as undefined, the others still arrive, and the sender sees no error, as in the original d2bs.
  • Screen-hook click and hover handlers are looked up when the event runs, so a handler cleared or replaced after the click is no longer called.

Fixes

  • Game state is read under the game lock for the whole read, not only for the lookup. A unit that disappears while a script reads it now reads as gone (undefined) instead of 0 or "".
  • These no longer read game memory unlocked: clickItem, belt size, scrolling-text checks, collision checks and party clicks.
  • A failed speedhack install no longer leaves it half-installed, which had broken later installs and removals.
  • Startup stops cleanly if the input hooks fail to install.

Engine and dependencies

  • V8 14.0 → 15.6.8.
  • SQLite 3.53.4, ImGui 1.92.9, ixwebsocket 12.0.1, spdlog 1.17, fmt 12.2 and a newer Microsoft Detours.

Logging and console

  • Each profile writes a rotating log file next to d2bs.ini, so instances running side by side don't share one.
  • Enum values print by name in logs.
  • The Settings panel shows the V8 version.

Full Changelog: v2.1.6...v2.2.0