[Parity][render][S3][F] 怪物 art 靠名字链解析(COMMON_HCIDX_TO_MONSTER_ID + resolveOnlineMonsterArt) #618

Closed
opened 2026-10-02 11:42:47 +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 公认行为。

来源审计项:render#18 — [S3][F] 怪物 art 靠名字链解析(COMMON_HCIDX_TO_MONSTER_ID + resolveOnlineMonsterArt)

  • 位置:src/client/scene/world-renderer.ts:161-227、:424-466、:596-598
  • 原版:monstats.txt hcIdx → monstats2 → token / 部件,是唯一确定的映射。表里的 'returned1' 之类不是 monstats.txt 的 Id。
  • 影响:entityArtCache 返回 missing 时,按名字或别名再找一遍 art,可能静默画出别的怪。
  • 建议:只走 hcIdx → monstats2 链;找不到就报错,不再做名字匹配。
  • 已有 issue:#540(静默回退)
> **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 公认行为。 ### 来源审计项:`render#18` — [S3][F] 怪物 art 靠名字链解析(`COMMON_HCIDX_TO_MONSTER_ID` + `resolveOnlineMonsterArt`) - 位置:`src/client/scene/world-renderer.ts:161-227`、`:424-466`、`:596-598` - 原版:monstats.txt hcIdx → monstats2 → token / 部件,是唯一确定的映射。表里的 'returned1' 之类不是 monstats.txt 的 Id。 - 影响:`entityArtCache` 返回 missing 时,按名字或别名再找一遍 art,可能静默画出别的怪。 - 建议:只走 hcIdx → monstats2 链;找不到就报错,不再做名字匹配。 - 已有 issue:#540(静默回退)
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#618
No description provided.