[Parity][panels][S2][H] NPC 菜单文字绕开 tbl:明明有 strIdx 却不查表,英文大小写、繁体用字、旅行和复活文字都是自造 #663

Closed
opened 2026-10-02 11:42:52 +00:00 by troytt · 0 comments
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#9 — [S2][H] NPC 菜单文字绕开 tbl:明明有 strIdx 却不查表,英文大小写、繁体用字、旅行和复活文字都是自造

  • 位置

    • src/client/ui/world-panels.ts:377-493(每项都写死 labelZh / labelEn)
    • 绘制和量宽只用 labelEn / labelZh::3065、:531
    • 兜底列表::2100-2103、:2167-2170、:3041-3044
  • 原版(V-data,tbl)

    tbl ENG CHI 代码
    #3381 talk 交談 Talk
    #3334 trade/repair 交易/修理 Trade/Repair
    #3396 trade 交易 Trade
    #3397 hire 雇用 僱傭
    #3398 gamble 賭博 Gamble
    #4142 cancel 取消 Cancel
    #4020 Identify Items 辨視物品 辨識物品
    #3382 / #3383 go east / go west 向東走 / 向西走 Travel East/West、向東旅行
    #3384 / #3385 sail east / sail west 航向東邊 / 航向西邊 Meshif 也用 Travel East/West
    #22696 Resurrect %s: %d — 復活傭兵 (${cost}) / Resurrect (${cost}),cost ?? 0(429)
    • 其余:#4017 imbue、#22738 travel to harrogath、#22748 add sockets、#22749 personalize。
  • 影响:菜单文字和原版不一致,英文首字母大写,繁体用字不同,复活项不显示雇佣兵名字,Meshif 显示成"旅行"。

  • 建议:label = tbl(strIdx);旅行项按 NPC 区分 3382/3383/3384/3385;复活项用 #22696 格式化。

  • 已有 issue:—

> **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#9` — [S2][H] NPC 菜单文字绕开 tbl:明明有 strIdx 却不查表,英文大小写、繁体用字、旅行和复活文字都是自造 - **位置** - `src/client/ui/world-panels.ts:377-493`(每项都写死 `labelZh` / `labelEn`) - 绘制和量宽只用 `labelEn` / `labelZh`:`:3065`、`:531` - 兜底列表:`:2100-2103`、`:2167-2170`、`:3041-3044` - **原版**(V-data,tbl) | tbl | ENG | CHI | 代码 | |---|---|---|---| | #3381 | talk | 交談 | Talk | | #3334 | trade/repair | 交易/修理 | Trade/Repair | | #3396 | trade | 交易 | Trade | | #3397 | hire | 雇用 | 僱傭 | | #3398 | gamble | 賭博 | Gamble | | #4142 | cancel | 取消 | Cancel | | #4020 | Identify Items | 辨視物品 | 辨識物品 | | #3382 / #3383 | go east / go west | 向東走 / 向西走 | Travel East/West、向東旅行 | | #3384 / #3385 | sail east / sail west | 航向東邊 / 航向西邊 | Meshif 也用 Travel East/West | | #22696 | Resurrect %s: %d | — | `復活傭兵 (${cost})` / `Resurrect (${cost})`,`cost ?? 0`(429) | - 其余:#4017 imbue、#22738 travel to harrogath、#22748 add sockets、#22749 personalize。 - **影响**:菜单文字和原版不一致,英文首字母大写,繁体用字不同,复活项不显示雇佣兵名字,Meshif 显示成"旅行"。 - **建议**:`label = tbl(strIdx)`;旅行项按 NPC 区分 3382/3383/3384/3385;复活项用 #22696 格式化。 - **已有 issue**:—
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#663
No description provided.