Files
moonwell-client-core/crates/benilla-protocol
Sam Sung e2bad3c45c A self-flagged create of a new guid becomes our player (#3046)
A create block's update flag 0x01 marks the receiver's own player, and benilla never read it: `SelfGuid` stayed the login guid. On a server that streams us under another guid, such as cross-realm battlegrounds, the client had no player at all.

Reference: on the path for a guid the object lookup does not find (`0x46623b`), flag 1 stores the block's guid as the active player before the object exists (`0x466245`, `0x466254`), which `0x468550` returns. The path for a held object (`0x466350`) stores nothing.

The parser reads the flag, a new event goes ahead of its create, and its handler moves `SelfGuid` and the `SelfPlayer` tag unless the guid is live or released. On a stock server the flagged guid is the login one and nothing changes.

Tests: a byte-exact create golden, a new guid becoming ours, and a held guid moving nothing.

Found in grom/benilla-octo@ab01ff2b. Fixes #3044

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:47:58 +07:00
..