Files

4.0 KiB
Raw Permalink Blame History

Original1.12 roll count is a presentation constant, not loot quantity

The retained Octo client GetLootRollItemInfo returns1.0 as its third Lua result unconditionally on the successful item-information path, irrespective of template stackability. The missing-roll/item-information fallback also returns1.0 in the third position. This proves the original API's per-roll presentation convention. It does not prove the actual number of awarded items.

Exact retained authority

Read-only /home/praxis/Games/Octowow/WoW.exe, SHA256 81a13d9da48fefac5792599310a8bf286c089a79f8a6fd311ad7ce94929cddea, matching the existing Octo handler inventory81a13d9d prefix. No execution or client attachment. references/manila/reference/1.12-shapes.tsv identifies GetLootRollItemInfo at4c3050; direct PE data inspection confirms the registration pair at847d48 points to the exact name string and4c3050. This avoids attributing a function solely from a guessed address.

The bounded4c3050–4c31e1 function validates the roll argument, looks up the roll, queries item metadata and pushes two strings (texture/name). At4c3160 it pushes high word3ff00000, then low word0; at4c3169 it calls6f3810. Those words encode IEEE754 double1.0. The next pushed number is item quality, obtained separately from metadata+1c, followed by bind-on-pickup. There is no stack-count load or stackability branch controlling the third return. The fallback at4c31a3 pushes two nils and the same constant third result at4c31b1/4c31ba. Invalid API argument instead follows its error path; the finding is not a claim that all invalid calls return five values.

Direct bounded inspection of6f3810 shows it stores Lua type3(number), copies the64-bit argument into the value, advances the Lua stack by16bytes and returns while consuming8 argument bytes. The call convention and numeric encoding are therefore verified, not inferred merely from an unnamed call target.

Existing handler-table.json names source2a1 dispatcher5e6010. Its exact table entry5e6130 selects5e60d2, which calls61b310. That handler reads the packet's GUID, slot, item, suffix, property and time into the roll record; it does not read a quantity. The retained event firesite61b452 emits START_LOOT_ROLL(event505), consistent with the supplied firesite index. No new registration scan was run.

build/octo-framexml-20261117/LootFrame.lua:379 receives texture,name,count,quality,bindOnPickUp from this API. Its stock GroupLootFrame_OnShow does not use count after assignment. Lua alone therefore proves neither1 nor real quantity; the native constant is the decisive evidence.

Consequences for queue56

  • The source maxStack1 inference in both the pre-existing cache path and new metadata-resume path is invalid as quantity authority. This review retracts its earlier approval on that rationale.
  • A native roll UI can use a clearly documented presentation count1 for any eligible source roll, including stackable items, because this matches the original1.12 API convention. Template stackability is not the authority for that value.
  • Presentation count must never become an actual award quantity or a received-award intent. Real loot-window rows, item-push/inventory evidence or another genuine quantity-bearing source event are separate authority. Preserve that distinction through deferred results and winner handling as well as initial publication.
  • This proof alone does not validate a rewritten70334 packet/receipt implementation. Parent owns that correction and its failing/passing regression. The green pre-correction gate does not resolve the authority defect.

Scope: one supplied API registration/function, its numeric-push helper, the supplied START dispatcher/table/handler, and retained Lua. Exact input/range hashes and asserted constant-sequence checks are in receipt.json. Full bounded disassembly remains private in the runtime evidence directory; no proprietary binary copied into tracked files. No network, client, parent edits, or new fullgate. Queue57 diagnostic work remains held pending this priority resolution.