Files
WoW-Hybrid-gateway/docs/source-creation-challenges.md

2.4 KiB
Raw Permalink Blame History

Source character-creation challenges

The native creation window gets a Challenges button and a twelve-entry panel. Names, descriptions and ordering come from the current Octo Source chooser. Bits 1–12 can be selected; realm-owned plain Hardcore bit 0 is excluded. Samurai permits Warrior, Paladin, Hunter and Rogue. Together Forever and Level One Lunatic are mutually exclusive. True Hardcore is shown only for the authenticated Source RP/RP-PvP realm row, matching Octo isRP. Class/realm changes clear invalid choices before staging; Source remains authoritative for realm enrollment.

The existing C_Login numeric project interface uses query 22 to set a validated mask and query 23 to read it. Begin and every commit consume/reset pending state. The UI resets on Back, window hide, local failure, staging and creation result. Wire snapshots carry typed Source creation options; the original entry remains mask zero. A new operation preserves existing enum values and ABI layout, using reserved as operation-specific mask input. Older backends reject that operation. Backend validates bits, the mutually exclusive pair, Samurai class and exact standard Source packet shape before modifying only its final uint32, after outfit and before encryption/transport submission. No modern native feature flag or character name carries the mask.

Build only source-creation-challenges-tests, then run CTest with -R '^source-creation-challenges$'. This checks independent packet bytes for zero, one and multiple bits, invalid masks and shape, Lua reset/back/hide/unavailable behavior, patch anchors and syntax of the changed native translation units. The host syntax harness neutralizes the host Wine rpcndr small macro; it does not emit native binaries. No client was launched or content installed.

Generate the content candidate with ops/challenge_creation_ui.py against the installed FDID 8209459 Lua. The patch rejects changed anchors or a second patch. The full Blizzard asset stays outside git. Ship Bridge + Wire + Backend natives and the patched Lua together; codec is unchanged. The staged asset and its input SHA are in claude-lane/challenge-creation-21/candidate-manifest.json. Claude must compose it onto the chosen content parent and run LOCAL: choose bits 1+3, create, check the server mask and the existing Q107 tooltip; also cancel/back/retry. Native-window layout and server persistence require that LOCAL review.