diablo2-web/tests/netproto
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
..
boundary.test.ts refactor: split into isolated common/netproto/server/client/baker modules 2026-10-01 00:10:18 +00:00
c2s-update-player-pos.test.ts feat(netproto): encode 1.13c C2S 0x5F UpdatePlayerPos 2026-10-02 06:38:35 +00:00
core-crypto-bncs-mcp.test.ts fix(netproto): send 1.13c 180s SID_NULL (0x00) BNCS keepalive (#541) 2026-10-02 04:11:07 +00:00
d2gs-c2s.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
d2gs-codecs-items.test.ts fix(netproto): vendor/stash packet encodings per 1.13c disassembly 2026-10-01 09:45:14 +00:00
d2gs-s2c.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
drop-gold.test.ts fix(client): neutral not-ready HUD state and server-authoritative HUD commands (P1/P2) 2026-10-01 01:41:13 +00:00
fake-realm-servers.ts feat(frontend,netproto): implement 1.13c Battle.net Create New Account flow 2026-10-02 06:29:03 +00:00
online-flow-session-lost.test.ts fix(netproto): send 1.13c 180s SID_NULL (0x00) BNCS keepalive (#541) 2026-10-02 04:11:07 +00:00
vendor-stash-golden.test.ts fix(netproto): vendor/stash packet encodings per 1.13c disassembly 2026-10-01 09:45:14 +00:00