[Parity][panels][S3][F] 资源缺失时画色块或文字占位,静默继续运行 #670

Closed
opened 2026-10-02 11:42:53 +00:00 by troytt · 1 comment
Owner

1.13c 客户端保真度审计立项(基准快照:7bd1090 / main @ 77a20c7)

证据标记说明:V-data = 1.13c MPQ 数据表 (.txt / animdata.d2 / .tbl / pal.pl2);V-src = D2MOO 逆向源码;V-bin = 1.13c DLL 反汇编;K = 1.13c 公认行为。

来源审计项:panels#17 — [S3][F] 资源缺失时画色块或文字占位,静默继续运行

  • 位置(src/client/ui/world-panels.ts)
    • 物品精灵缺失 → 色块:2751-2755(stash)、2814-2818(cube)、2916-2919(vendor)
    • 小站图标缺失 → 彩色方块:2684-2687
    • 任务图集缺失 → "Q1"、标题、"Completed"/"Active" 文字卡片:2611-2635
    • 幕标签图缺失 → 自绘 "Act I.." 文字标签(原版 tbl 是 #4137 "Act 1"、"第一章"):3092-3106
    • BAKED_UI_MANIFEST.images.* ?? '/ui/…png':1594、1605、1616
    • 没有字体时用 text.length * 10 估宽:527
  • 原版:没有这类兜底;AGENTS.md §3 也禁止静默容错。
  • 影响:资源出问题时界面"看起来能用",掩盖了数据缺失。
  • 建议:缺资源直接报错。
  • 已有 issue:和 #540(object / NPC 占位色块)同一类,但位置不同。
> **1.13c 客户端保真度审计立项**(基准快照:`7bd1090` / `main @ 77a20c7`) > 证据标记说明:`V-data` = 1.13c MPQ 数据表 (`.txt` / `animdata.d2` / `.tbl` / `pal.pl2`);`V-src` = D2MOO 逆向源码;`V-bin` = 1.13c DLL 反汇编;`K` = 1.13c 公认行为。 ### 来源审计项:`panels#17` — [S3][F] 资源缺失时画色块或文字占位,静默继续运行 - **位置**(`src/client/ui/world-panels.ts`) - 物品精灵缺失 → 色块:2751-2755(stash)、2814-2818(cube)、2916-2919(vendor) - 小站图标缺失 → 彩色方块:2684-2687 - 任务图集缺失 → "Q1"、标题、"Completed"/"Active" 文字卡片:2611-2635 - 幕标签图缺失 → 自绘 "Act I.." 文字标签(原版 tbl 是 #4137 "Act 1"、"第一章"):3092-3106 - `BAKED_UI_MANIFEST.images.* ?? '/ui/…png'`:1594、1605、1616 - 没有字体时用 `text.length * 10` 估宽:527 - **原版**:没有这类兜底;AGENTS.md §3 也禁止静默容错。 - **影响**:资源出问题时界面"看起来能用",掩盖了数据缺失。 - **建议**:缺资源直接报错。 - **已有 issue**:和 #540(object / NPC 占位色块)同一类,但位置不同。
Author
Owner

Resolved in commit 171f7c0 (Milestone M6 Phase 1: World Panels, NPC Menus, Waypoints, Tooltips & Fail-Fast parity). Verified with tests/client/world-panels-batch6.test.ts and npm run typecheck.

Resolved in commit 171f7c0 (Milestone M6 Phase 1: World Panels, NPC Menus, Waypoints, Tooltips & Fail-Fast parity). Verified with tests/client/world-panels-batch6.test.ts and npm run typecheck.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: troytt/diablo2-web#670
No description provided.