Repository navigation
Guild bank: tab rename, and item movement with the destination on the right side #85
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
Merged
MadMaxMangos
merged 6 commits into
master
from
feature/mop-guild-bank-tab-rename-and-item-moves
Sep 4, 2026
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
e77ff9a
Guild bank: name a tab, and tell the whole guild it changed
MadMaxMangos 8febf7b
Guild bank: move items, with the destination on the right side
MadMaxMangos a65c95f
Build: include ObjectMgr.h where GuildRank.cpp uses sObjectMgr
MadMaxMangos 8a695f6
Guild bank: reject stale item moves, and stop bank splits eating ques…
MadMaxMangos 159ebc5
Guild bank: refuse an auto-store whose stack changed under it
MadMaxMangos a168c15
Guild bank: refresh every slot a bank-to-bank merge touched
MadMaxMangos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,6 +25,7 @@ | |
|
|
||
| #include "Guild.h" | ||
| #include "Database/DatabaseEnv.h" | ||
| #include "ObjectMgr.h" | ||
| #include "Log.h" | ||
|
|
||
| /** | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
When an older inventory save is still on the async queue, this direct commit can overtake it on the shared database connection. For example, trade completion queues
SaveInventoryAndGoldToDB()throughCommitTransaction()atTradeHandler.cpp:561-564; if the recipient immediately deposits part of that stack, the direct bank transaction persists the reduced character stack and the bank clone first, after which the older queued item update can restore the original character stack count, duplicating the deposited amount durably. The bank mutation needs an ordering barrier or must remain ordered behind previously queued character/item writes rather than executing directly past them.Useful? React with 👍 / 👎.