1888 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
35 lines
2.3 KiB
Markdown
35 lines
2.3 KiB
Markdown
# Real native carried stack split and merge
|
|
|
|
Forever70334 PID519282, external gateway stopped, local Tortoise authoritative.
|
|
Original C_Container.SplitContainerItem(0,1,1) then PickupContainerItem(0,3)
|
|
emitted real410008/9bytes and split existing item36202/117 count4 into3 plus
|
|
new36236 count1. Original bag shows both stacks. PickupContainerItem(0,3) then
|
|
PickupContainerItem(0,1) emitted410007/7bytes; updates and destroyAA removed
|
|
36236 and restored36202 count4/root23. Read-only SQL after normal self.save
|
|
matches original GUID/bag/slot/count. No grants, HP, position or progression edit.
|
|
Trace collector lost0rows; curated request/update windows in result.json.
|
|
Repeatable guarded test: ops/native_stack_test.py.
|
|
|
|
Sources: Forever ItemPackets.cpp::SplitItem::Read / SwapInvItem::Read and
|
|
ItemPacketsCommon.cpp::operator>>(InvUpdate&) specify advisory count, bag/slot
|
|
and signed32 quantity. ClassicOpcodes::TranslateClientOpcode70245 maps wire41
|
|
onto canonical40. Turtle ItemHandler.cpp::HandleSplitItemOpcode expects uint8
|
|
sourcebag/source/destinationbag/destination/quantity and opcode10E. Root mappings
|
|
are shared with existing equip/swap; nested bags, banks and quantity>255 remain
|
|
unsupported. Server retains actual count/stack/permission validation.
|
|
|
|
Oversplit5 of4 was blocked before an outgoing request in the bounded actual
|
|
client observation (no trace loss); count4/isLockedfalse and saved state unchanged.
|
|
This is not a server112 validation. The new112->6A0005 adapter is source/test-only:
|
|
Turtle Player::SendEquipError's optional level-before-GUIDs is reordered to
|
|
Forever ItemPackets.cpp::InventoryChangeFailure::Write's signed32 result and
|
|
packed128 items/slot/level. 67 legacy errors map from explicit semantic names or
|
|
source UI labels, not a numeric offset; NONE59 means disenchant, not modernNONE84.
|
|
Unknown or unbound item identities do not acquire ownership through error packets.
|
|
Actual server rejection still needs a genuine operation that reaches the server.
|
|
|
|
Full57/57 passed31.56s before actual-client testing; final9byte source fixture
|
|
also passes. API preflight confirmed both C_Container functions in the real client.
|
|
Existing native login/character/world tests passed after rebuilding; no unsafe
|
|
engine-call or Lua-registration experiment enabled. Original clients preserved.
|