-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Implement Move Multiple Items #4259
Conversation
Do not merge this. Found some bugs. |
No, it is because the swap contains redundant two-way operations. |
This works according to my testing. It implements all 3 ctrl-click modes exactly replicating client behavior.
left and right click logic needs to be bifurcated because left click handles things a lot like proper slot swaps or autoinv in terms of stack combining, etc, so we want to leverage the existing logic of SwapItem. right click just bluntly exchanges contents, but we need to respect the new targets instead of just explicitly exchanging the bag contents slot for slot. |
This has been running on my servers for a while now without issues (~40 users total). I haven't been able to break it personally. I'm reasonably confident in this implementation. |
Can confirm this has been working as expected. Have not ran into any issues while testing on Cata's servers. |
98100d6
to
ea41e68
Compare
That was a rebase. |
I'm comfortable with this. I... don't actually know how to make or post videos to demo this in action. It is currently deployed on Retribution. |
You can use OBS |
Screencast.from.07-07-2024.10.01.57.PM.webm |
I found a dupe. Stand by, do not merge. |
I have corrected the duplication bug. Attached is a video test of all functions. Screencast.from.07-08-2024.05.17.06.PM.webm |
Thank you for addressing all of the changes and posting the video. I think this is great you put this feature together. My only concern (albeit large) was the feedback around item loss and dupes. If we feel like we are good there - then I'm good. |
The previous issue was caused by I haven't been able to cause any more issues like this; asymmetrical bags, full bags, etc. |
I pulled this to WFH for live testing, will post any issues I encounter if any. |
Awesome |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Been running this for a week and have not noticed any issues related to this PR. Players that use it absolutely love it!
Thank you Cata!
Description
This implements ctrl-click movement of bag contents for ROF+ clients.
Type of change
Testing
There are three behaviors that are introduced here;
I don't know how to attach images to demonstrate this.
I would furthermore like some assistance testing this.
Clients tested:
Checklist