server
server copied to clipboard
Server improperly handling manual client sort/stack packet.
I affirm:
- [x] I understand that if I do not agree to the following points by completing the checkboxes my issue will be ignored.
- [x] I have read and understood the Contributing Guide and the Code of Conduct.
- [x] I have searched existing issues to see if the issue has already been opened, and I have checked the commit log to see if the issue has been resolved since my server was last updated.
OS / platform the server is running (if known)
Ubuntu 22.04
Branch affected by issue
base
Steps to reproduce
- Make sure "Config -> Gameplay -> Inventory -> Sort" is set to "OFF"
- Get 3 of a stackable item (such as
Bronze Bullets) - Split the single stack of 3 into a stack of 2 and a stack of 1, in the same bag (any bag will do) by any means necessary (moving 1 to another bag and then moving the 1 back into the same bag should suffice).
- In the "Sort" submenu, choose "Manual", and move one item onto the other. Current behavior: The two item slots change locations in the menu (or swap if they are immediately next to each other).
Expected behavior
On Live game, the two items would be stacked because the client (automatically -- under certain stack size conditions) sends an outgoing 0x029 instructing the server to "Move" one item onto the other, which is supposed to result in the items being stacked (meaning, the 2 stacks/slots combine into a single stack of 3 of the item).