[Parity][inv-skills][S2][R] 镶孔叠加:程序绘制圆圈、常驻显示,缺宝石图时画色点 #685

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

来源审计项:inv-skills#7 — [S2][R] 镶孔叠加:程序绘制圆圈、常驻显示,缺宝石图时画色点

  • 位置:src/client/ui/inventory.ts:1436-1510(drawItemSocketOverlay),每帧由 drawItemSprite 调用(2357 行)。
  • 代码:画半径 9 的圆圈,按 0.32/0.68 的比例布局,宝石用 16 px 小图;缺宝石图时画彩色圆点。
  • 原版:用 gemsocket 美术,只在鼠标悬停物品时显示,镶嵌物显示其物品图(K-中/高)。
  • 影响:
    • 所有带孔物品在背包和装备栏里常驻显示自造的圆圈,与原版差异明显。
    • 缺图时静默画色点(F)。
  • 建议:改用原版的镶孔图形和布局,只在悬停时绘制;缺图时报错。
  • 已有 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 公认行为。 ### 来源审计项:`inv-skills#7` — [S2][R] 镶孔叠加:程序绘制圆圈、常驻显示,缺宝石图时画色点 - 位置:`src/client/ui/inventory.ts:1436-1510`(`drawItemSocketOverlay`),每帧由 `drawItemSprite` 调用(2357 行)。 - 代码:画半径 9 的圆圈,按 0.32/0.68 的比例布局,宝石用 16 px 小图;缺宝石图时画彩色圆点。 - 原版:用 gemsocket 美术,只在鼠标悬停物品时显示,镶嵌物显示其物品图(K-中/高)。 - 影响: - 所有带孔物品在背包和装备栏里常驻显示自造的圆圈,与原版差异明显。 - 缺图时静默画色点(F)。 - 建议:改用原版的镶孔图形和布局,只在悬停时绘制;缺图时报错。 - 已有 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#685
No description provided.