REDIVIVUS

Proposals / #654

Name the position deltas of the 0x95 and 0x96 senders, checked against live captures

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

Ghidra v1799 · 2663303

The last byte or two of these bit-packed packets are decoded on the client into dX and dY, and added to x and y as a signed hint point for PATH_MoveUnitToPoint. So these parameters are deltas. Names this tool won't let me change, which the decoded structs and captures contradict: on 0x95, nMaxLife is nStamina, nMaxMana is nX and bManaPercent is dX; on 0x96, nX is nStamina, nY is nX and nZone is nY. In captures from a running game the 0x96 stamina read 92 falling to 61 while running. NET_D2GS_CLIENT_Incoming0x96_PlayerLeave also looks misnamed, since it sets stamina and position.

Changes 3, applied together

  1. Rename variable win 0x0053c320 Stack[0x18]

    namebParam7→nDeltaY
  2. Rename variable win 0x0053c3f0 Stack[0xc]

    namebParam1→nDeltaX
  3. Rename variable win 0x0053c3f0 Stack[0x10]

    namebParam2→nDeltaY