CS2 DemoTracer v0.5.1
CS2 DemoTracer v0.5.1
这是一个面向服务器展示与稳定性的修复版本。重点修复 replay 头像身份、scoreboard 同步和手套材质重复写入问题;.dtr 格式、manifest ABI 和 native ABI major 均未变化。
主要修复
- 修复
ServerAvatarOverrides第 0 项被首个 DTR 头像占用后,未匹配玩家错误继承同一头像的问题。Runtime 现在会先保留空的 fallback 项。 dtr_replay_identity avatar现在保留真实 demo SteamID64,在应用 demo PNG 头像覆写的同时保留 Steam 资料卡、勋章和称赞信息;缺少或无效的 PNG 会回退到 Steam 头像。full保留为avatar的兼容别名。- 修复 scoreboard 对 CounterStrikeSharp
NetworkedVector<CSPerRoundStats_t>执行不受支持索引访问的问题;K/D/A 继续通过受支持的 match totals 路径同步。 - 避免对相同手套 econ 状态反复写入,并使延迟重试与当前 pawn/token 绑定,减少客户端材质仍在加载时被重复销毁和重建。
兼容性
.dtrwriter 仍为 v7;runtime reader 仍支持 v3 到 v7。- Manifest ABI 仍为 17;BotController native ABI 仍为 16.29;DemoTracer companion API 仍为 v6。
- 已有
.dtr无需重新转换。仅更新服务器功能时,替换完整 v0.5.1 server bundle 即可。 - Server bundle 仍需要 CounterStrikeSharp v1.0.371 或更新版本,目标为 CS2 1.41.6.9。
校验
- Converter 测试通过:115 个库测试和 7 个 CLI 测试,0 失败。
- Windows x64 converter CLI / GUI release build 完成。
- BotController native Release build 完成。
- DemoTracer CSS Release build 完成,0 warnings / 0 errors。
- 头像覆写、Steam 资料卡保留和未匹配玩家头像隔离已进行实机验证。
- Release assets 已检查无原始 demo、本机路径、日志或调试符号;两个 ZIP 完整性和
SHA256SUMS.txt均已核验。
English
CS2 DemoTracer v0.5.1
This is a server-presentation and stability patch release. It focuses on replay avatar identity, scoreboard synchronization, and redundant glove-material writes. The .dtr format, manifest ABI, and native ABI major are unchanged.
Fixes
- Fixed unmatched players inheriting the first DTR avatar when index zero of
ServerAvatarOverrideswas occupied. The runtime now reserves an empty fallback entry first. dtr_replay_identity avatarnow keeps the real demo SteamID64, preserving native Steam profile cards, badges, and commendations while applying demo PNG avatar overrides. Missing or invalid PNG evidence falls back to the Steam avatar.fullremains a compatibility alias foravatar.- Fixed scoreboard synchronization attempting unsupported indexed access on CounterStrikeSharp
NetworkedVector<CSPerRoundStats_t>; K/D/A continues through the supported match-total fields. - Avoided rewriting identical glove econ state and bound delayed retries to the current pawn/token, reducing repeated client material destruction and recreation while textures are still loading.
Compatibility
- The
.dtrwriter remains v7; the runtime reader still supports v3 through v7. - Manifest ABI remains 17, BotController native ABI remains 16.29, and DemoTracer companion API remains v6.
- Existing
.dtrfiles do not need reconversion. For server-only use, replace the complete v0.5.1 server bundle. - The server bundle still requires CounterStrikeSharp v1.0.371 or newer and targets CS2 1.41.6.9.
Validation
- Converter tests passed: 115 library tests and 7 CLI tests, with 0 failures.
- Windows x64 converter CLI and GUI release builds completed.
- BotController native Release build completed.
- DemoTracer CSS Release build completed with 0 warnings and 0 errors.
- Avatar overrides, Steam profile-card preservation, and unmatched-player avatar isolation were verified in game.
- Release assets were checked for raw demos, local paths, logs, and debug symbols; both ZIPs and
SHA256SUMS.txtwere verified.