[Parity][map][S3][F] tile-atlas / map-service 中的潜在兜底(目前没有运行时调用者,或只在离线路径上使用) #633

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

来源审计项:map#14 — [S3][F] tile-atlas / map-service 中的潜在兜底(目前没有运行时调用者,或只在离线路径上使用)

位置:

  • src/client/map/tile-atlas.ts:308-436(resolveCellTile):
    • pin 命中失败时静默按 style/seq 重选。
    • 398 行 const active = masked.length > 0 ? masked : allCandidates:掩码过滤后为空就忽略掩码。
    • 当前没有运行时调用者。
  • tile-atlas.ts:153-154(fromDt1Map):路径正则 act([1-5]) 匹配失败时,ownerAct 默认为 1(如 Expansion\… 路径)。只被 MapService.fromEnv / initWithEnv 在不带图集时使用。
  • src/client/map/map-service.ts:442-445:getCollisionWorldSubTile 在没有 activeView 时返回魔数 0x1c09。无调用者。

原版: —(不存在这类兜底)

影响: 当前不可见;一旦接入就会掩盖 pin / 数据错误。

建议: 改成抛错,或删除死代码。

已有 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 公认行为。 ### 来源审计项:`map#14` — [S3][F] tile-atlas / map-service 中的潜在兜底(目前没有运行时调用者,或只在离线路径上使用) **位置:** - `src/client/map/tile-atlas.ts:308-436`(`resolveCellTile`): - pin 命中失败时静默按 style/seq 重选。 - 398 行 `const active = masked.length > 0 ? masked : allCandidates`:掩码过滤后为空就忽略掩码。 - 当前没有运行时调用者。 - `tile-atlas.ts:153-154`(`fromDt1Map`):路径正则 `act([1-5])` 匹配失败时,`ownerAct` 默认为 1(如 `Expansion\…` 路径)。只被 `MapService.fromEnv` / `initWithEnv` 在不带图集时使用。 - `src/client/map/map-service.ts:442-445`:`getCollisionWorldSubTile` 在没有 `activeView` 时返回魔数 `0x1c09`。无调用者。 **原版:** —(不存在这类兜底) **影响:** 当前不可见;一旦接入就会掩盖 pin / 数据错误。 **建议:** 改成抛错,或删除死代码。 **已有 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#633
No description provided.