diablo2-web/tests/client
troytt 45aa95ce2d fix(client/netproto): align 1.13c monster/NPC mode decoding and prevent initial death state (#551)
- Decode the initial 4-bit bitstream in 0xAC AssignNPC as monster mode nMode (D2Game.dll 0x6fcacac9, D2Client.dll 0x6fb5e462) and seed initial 1.13c facing via 0x6ac690c5 (D2Client.dll 0x6fafd512)
- Map 0x69/0x6A/0x6B state command byte pkt[5] via 1.13c D2Client.dll 0x6fb82e68 (MONSTER_CMD_TO_MODE, inverse of D2Game.dll 0x6fd1a718) and only apply pkt[10]/pkt[11] as lifePct on 0x06 (GH) or 0x08/0x09 (DT/DD) so non-death commands (e.g. Charsi 0x6B anvil sequence 0x0C) never zero out lifePct
- Default alive monsters and players to mode=1 (NU) instead of mode=0 (DT) across ClientUnit, ClientWorld, OnlineSession, buildSceneDrawables, and drawUnitSprite
- Transition monster/player modes across UnitMove and OnlineSession interpolator ticks (walk=2, run=15/3, knockback=9/19, stop=1)
- Add 1.13c unit and live .d2cap regression tests

Closes #551
2026-10-02 08:33:00 +00:00
..
client-world.test.ts fix(client/netproto): align 1.13c monster/NPC mode decoding and prevent initial death state (#551) 2026-10-02 08:33:00 +00:00
derived-stats.test.ts fix(client): table-driven missile ids and derived character stats (P3) 2026-10-01 01:41:13 +00:00
drlg-map-motion.test.ts fix(client): keep unit animation facing aligned with movement direction 2026-10-02 06:38:35 +00:00
escape-menu-113c.test.ts fix(client): exit Escape menu Save and Exit Game to Battle.net Lobby instead of login 2026-10-02 02:57:47 +00:00
gamble-replay-ui.test.ts test(client): capture-backed gamble flow (fixture 09, Gheed) 2026-10-01 11:09:54 +00:00
hud-server-authority.test.ts feat(client,netproto): complete D2GS v1.13c online gameplay loops (R1-R5: item tooltips, container ops, NPC dialogue/travel, mercenaries, warps/portals/SkillCast/death, party/trade/quest panels) 2026-10-02 06:08:32 +00:00
hud-session-play.test.ts fix(client): keep unit animation facing aligned with movement direction 2026-10-02 06:38:35 +00:00
local-position-gate-session.test.ts fix(client): keep unit animation facing aligned with movement direction 2026-10-02 06:38:35 +00:00
minimap-level-switch-549.test.ts fix(automap): sync minimap/automap active level with main map on area transitions (Fixes #549) 2026-10-02 08:02:56 +00:00
missile-id-map.test.ts fix(client): table-driven missile ids and derived character stats (P3) 2026-10-01 01:41:13 +00:00
player-anim-modes-544.test.ts fix(client): isolate per-unit player anim modes (TN/TW/RN/DD) and use 1.13c AnimData.d2 25Hz frame speed (Fixes #544) 2026-10-02 08:15:00 +00:00
session-lost-login.test.ts fix(client): return to the login screen with a 1.13c reason on session loss 2026-10-01 12:02:30 +00:00
settings-toolbar-view.test.ts feat(client): integrate on-demand EntityArtCache, object/NPC/flippy/animated-tile rendering, and remove drawSolid fallbacks (#540) 2026-10-01 18:21:03 +00:00
spawn-position-539.test.ts fix(client): keep unit animation facing aligned with movement direction 2026-10-02 06:38:35 +00:00
transaction-cost-input.test.ts feat(client): price server items with the 1.13c #10107/#10071 port 2026-10-01 10:29:07 +00:00
unit-facing-motion.test.ts fix(client): face skill-cast targets with the 1.13c dir64 2026-10-02 06:38:35 +00:00
vendor-stash-replay.test.ts feat(client): server-driven NPC/stash interaction state in ClientWorld 2026-10-01 10:08:43 +00:00
vendor-stash-ui.test.ts feat(client,netproto): complete D2GS v1.13c online gameplay loops (R1-R5: item tooltips, container ops, NPC dialogue/travel, mercenaries, warps/portals/SkillCast/death, party/trade/quest panels) 2026-10-02 06:08:32 +00:00
viewport-formula-profiles.test.ts feat(client): formula-derived viewport profiles + 1068x600 / 1280x720 2026-10-02 06:22:40 +00:00