Skip to content

CS2 DemoTracer v0.7.2

Choose a tag to compare

@unicbm unicbm released this 16 Jul 16:53

CS2 DemoTracer v0.7.2

这是一个建议所有使用 v0.7.1 Playback Bundle 进行本地回放的用户安装的稳定性修复版本,重点解决 listen server 中真人与 Bot 数量变化时的 native 崩溃风险,以及首个实际回合的刀具外观错误。

关键修复

  • 真人加入或队伍人数变化时可能 native 崩溃:当回合内或回合结算期间真人与 Bot 的加载关系发生变化时,旧版可能过早销毁或复用 BotHider controller。v0.7.2 延迟清理并校验 slot/controller 身份,避免旧清理任务命中新 controller。
  • 启用 Demo 刀具饰品对齐时,Round 0 仍显示默认模型和涂装:当 manifest 含有 Demo 记录的刀具饰品证据并启用刀具饰品同步时,旧版在首个实际回合中可能只正确同步 HUD 名称和动画,实际刀具实体的模型和涂装仍为默认值。v0.7.2 会在安全的回合准备阶段刷新旧刀实体,使首回合也使用 Demo 记录的刀型和涂装。

DTR 回合证据 Banner

  • round_start 成功准备至少一个安全 replay bot 后,向在线真人显示固定 DTR banner 5 秒。
  • 该功能由 round_banner 控制,默认开启;设为 false 可关闭。
  • 图片使用固定版本的 CDN 地址。客户端无法访问该 CDN 时可能看不到图片,但不会影响 replay 加载或执行。

升级建议

  • 本次修复集中在 Playback Bundle,建议 v0.7.1 用户完整替换 playback bundle,尤其是其中的 BotHider native runtime 和 DemoTracer 插件。
  • Converter 行为没有变化;现有 .dtr 文件无需重新转换。
  • .dtr 格式仍为 v7,manifest ABI 仍为 17,BotController ABI 仍为 16,DemoTracer API 仍为 6。

下载

  • Playback Bundle:安装到本地 CS2 server,包含本次 native 稳定性和首回合刀具修复。
  • GUI:适合一次转换和检查一个 Demo。
  • CLI:适合 inspect、批量转换、pool 和 validate。
English

v0.7.2 is a recommended playback-stability patch for everyone using the v0.7.1 Playback Bundle for local replay. It fixes a native crash risk when human and bot relationships change on a listen server, plus incorrect knife visuals in the first physical round.

Key fixes

  • Native crash during human joins or roster changes: A BotHider controller could be destroyed or reused too early while human and bot relationships changed during a round or round transition. Cleanup is now deferred and bound to the exact slot/controller identity so stale work cannot affect a replacement controller.
  • Round 0 kept the default model and paint with demo knife alignment enabled: When the manifest contains demo-backed knife cosmetic evidence and knife cosmetic alignment is enabled, the HUD name and animation could be correct while the actual knife entity in the first physical round still kept its default model and paint. v0.7.2 safely refreshes that stale entity during round preparation so the recorded knife model and paint apply from the first round.

DTR round-evidence banner

  • After round_start successfully prepares at least one safe replay bot, live human clients receive the pinned DTR banner for five seconds.
  • The feature is enabled by default through round_banner; set it to false to disable it.
  • The image uses a version-pinned CDN URL. Clients that cannot reach that CDN may not render the image, but replay loading and playback are unaffected.

Upgrading

  • The fixes are concentrated in the Playback Bundle. v0.7.1 users should replace the complete playback bundle, especially the BotHider native runtime and DemoTracer plugin.
  • Converter behavior is unchanged, and existing .dtr files do not need to be regenerated.
  • The format remains .dtr v7 with manifest ABI 17, BotController ABI 16, and DemoTracer API 6.

Downloads

  • Playback Bundle for local CS2 server playback, including the native stability and first-round knife fixes.
  • GUI for converting and inspecting one demo at a time.
  • CLI for inspect, batch, pool, and validate workflows.