Skip to content

Implement 0x0AA7 ZC_MOVE_ITEM_FAILED packet handling - #4235

Merged
alisonrag merged 4 commits into
OpenKore:masterfrom
lavinsky:master
Oct 20, 2026
Merged

alisonrag merged 4 commits into
OpenKore:masterfrom
lavinsky:master

Conversation

@lavinsky

Copy link
Copy Markdown
Contributor

Objective
Recognize packet 0x0AA7 (ZC_MOVE_ITEM_FAILED) when the server rejects item transfers, including storage/Kafra operations, without updating the inventory or storage as if the transfer had succeeded.

Implementation

  • src/Network/Receive.pm: The item_move_failed handler emits a warning containing the item index and amount; the packet does not include a failure reason code.
  • src/Network/Receive/ServerType0.pm: Explicitly maps 0AA7 to item_move_failed, using the v2 format (index, amount).
  • src/Network/Receive/kRO/Sakexe_0.pm: Adds the same mapping at the root of the kRO/Sakexe inheritance chain.
  • src/test/NetworkTest.pm: Added packet 0x0AA7 to the tests.

@alisonrag
alisonrag merged commit e0b04ee into OpenKore:master Oct 20, 2026
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants