1888 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
3.4 KiB
First actual native vendor sale
Actual Forever70334 PID611089/owner611088, legitimate localTortoise SRP/M2, four real characters/world, external gateway stopped. Full61/61 passed37.46s before deployment, now including source-native-serializer-abi:8fixture groups, 72 concurrent calls,24 sell-error variants against verbatim SellResponse writer. Original writer extracted read-only from ItemPackets.cpp; no source server edit.
NativeCMSG_SELL_ITEM3F0039 uses two packed128GUIDs plusuint32Amount. Translation requires current genuine merchant context and authenticated owned item binding; Tortoise1A0 uses raw64 vendor/item anduint8count. Zero keeps genuine sell-all semantics. Explicit>255 rejected, never truncated or silently changed to sell-all. Common owned GUID map reused by item use. No NPC/entry/GUID hardcode in protocol.
Tortoise SendSellError failures1..6 match native semantics; native470170 has VendorGUID,uint32vector-count,int32Reason,itemGUIDvector. Source oracle mode28 appended, old mode indices and ABI1 preserved. Successful Tortoise sale has NO success packet: it uses genuine inventory/coinage changes. No success fabricated.
Setup only: no159 owned beforehand, saved money10000. Actual GM .additem1591 created one fixture GUID36242 in root29 (C_Container0,7). Local template sell_price1, buy_price25,buy_count5. Original inventory baseline preserved. Actions under test were ordinary original UI: NPC gossip,browse,then right-click verified water icon. Read-only client API confirmed159/count1/functionSellCursorItem/7merchant items/ MerchantFrameShown before sale. No raw packet injected or GM simulated sale.
Actual18-byte3F0039 emitted; server saved fixture moved from29 to buyback69, money10000->10001. Native original backpack slot is empty (GetContainerItemInfo nil), GetMoney10001, merchant/bag displays1g0s1c, free slots73->74. All prior inventory item/GUID/slot records match baseline. Pipeerror0/closed0. Public32row metadata lost21rows in surrounding traffic, observer errornone; this is not claimed full telemetry coverage/network loss. SQL/UI independent confirmation establishes sale. Object remains owned in buyback; do NOT equate cached ownership with carried inventory. No original equipment was sold. Fixture/wallet outcome retained for subsequent legitimate buyback work; do not regrant or repeat the sale blindly.
Interaction diagnosis: at initial player−8906.53/−117.168 and server vendor −8901.589844/−112.716003, about6.7units apart, neither30ms nor120ms right-click nor left-click produced gossip. FPS167, interactOnLeftClick1, noINTERACTTARGET binding, InteractUnit globalnil. Do not infer exclusive click behavior from that CVar. A normal0.4second W approach produced real movement then normal right-click 3F0029 ->17D; original gossip rendered. No teleports, DB-position edits, flag changes or input timing patch. The observed failure was range before request generation, not the new seller parser. Saved character position intentionally advanced by ordinary walking; don't reset it to repeat a distance failure.
Original clients/StartupFiles/data, fallback, trust patch, talent work retained. Current limitation: only one real sale/category/NPC tested; byte-comparison failure coverage isn't proof of live errors; native purchases/buyback/trainer/reset pending. Next map source buyback GUID/price/timestamp fields and actual request slots or implement genuine purchase responses through the same server-authoritative path.