fix(AuctionHouse): Add missing buyer name parameter in LOG_INFO#25484
Open
mpfans wants to merge 24 commits intoazerothcore:masterfrom
Open
fix(AuctionHouse): Add missing buyer name parameter in LOG_INFO#25484mpfans wants to merge 24 commits intoazerothcore:masterfrom
mpfans wants to merge 24 commits intoazerothcore:masterfrom
Conversation
…tch format string AUCTION_SUCCESSFUL log format string has 10 placeholders but only 9 parameters were provided, causing 'Wrong format occurred (argument not found)' warnings. The buyer name was missing - it was replaced with auction->item_template by mistake. Fix: Insert gpd->Name (buyer name from CharacterCache) at the correct position in the LOG_INFO parameter list.
added 2 commits
April 17, 2026 15:18
…ntID for both seller and buyer
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changes Proposed:
This PR proposes changes to:
AI-assisted Pull Requests
Important
While the use of AI tools when preparing pull requests is not prohibited, contributors must clearly disclose when such tools have been used and specify the model involved.
Contributors are also expected to fully understand the changes they are submitting and must be able to explain and justify those changes when requested by maintainers.
Tools used: Claude (via OpenClaw AI assistant) - for bug analysis, root cause identification, and code fix implementation.
Issues Addressed:
Closes
Bug:
AuctionHouseMgr::SendAuctionSuccessfulMailhas two issues:CharDelete.Method = 0(immediate deletion, no keep days), both buyer and seller characters can be permanently deleted from the database. Once deleted, the GUID becomes meaningless and there is no way to trace which account was involved in the transaction. Recording the AccountID at the time of sale ensures server operators can always trace auction transactions back to the owning account, even after character deletion.Fix:
sellerCachelookup for the seller's account info (name + AccountID)bidderCacheAccountID for the buyerAccountIDfor both parties:Seller {} (AccountID: {}, GUID: {})/Buyer {} (AccountID: {}, GUID: {})SOURCE:
The changes have been validated through:
Tests Performed:
This PR has been:
How to Test the Changes:
"Wrong format occurred"warningAccountIDcorrectly:Known Issues and TODO List:
How to Test AzerothCore PRs
When a PR is ready to be tested, it will be marked as [WAITING TO BE TESTED].
You can help by testing PRs and writing your feedback here on the PR's page on GitHub. Follow the instructions here:
http://www.azerothcore.org/wiki/How-to-test-a-PR
REMEMBER: when testing a PR that changes something generic (i.e. a part of code that handles more than one specific thing), the tester should not only check that the PR does its job (e.g. fixing spell XXX) but especially check that the PR does not cause any regression (i.e. introducing new bugs).