REDIVIVUS

Proposals / #648

Name the unit type parameter of the 0x23, 0xA5 and 0xAB senders

applied · by dtchitt · submitted 2026-11-01, applied 2026-11-01

Ghidra v1799 · 2663303

In all three, bParam is stored into the packet's own nUnitType field at byte [1], and the client looks the unit up with that byte and the GUID at [2]. Captures from a running game show 0xAB with type 1 on a monster. Names the tool won't let me change, which look wrong for the same reason: dwSkillId on 0x23, dwSkill on 0xA5 and nHeal on 0xAB all fill dwUnitGUID, nX on 0xA5 is the skill the client reads, and nType on 0xAB fills nHpPercent.

Changes 3, applied together

  1. Rename variable win 0x0053c590 DL

    namebParam→nUnitType
  2. Rename variable win 0x0053c190 DL

    namebParam→nUnitType
  3. Rename variable win 0x0053c150 DL

    namebParam→nUnitType