Jump to content

[9357][Patch] Proper Auction house name in mail & mail notification


Recommended Posts

Posted

What bug does the patch fix? What features does the patch add?

All mail sent by auction houses was sent as "Alliance Auction House" regardless of faction. AH name is now taken from dbc.

For which repository revision was the patch created?

master branch - 9339 6be0ad67f70a5e3cbb334e353823d44a5e34d4a1

Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

Nope

Who has been writing this patch? Please include either forum user names or email addresses.

Me, J K Kubius

diff --git a/src/game/Mail.cpp b/src/game/Mail.cpp
index 0509240..309cd76 100644
--- a/src/game/Mail.cpp
+++ b/src/game/Mail.cpp
@@ -747,8 +747,8 @@ void WorldSession::HandleQueryNextMailTime(WorldPacket & /*recv_data*/ )
            switch(m->messageType)
            {
                case MAIL_AUCTION:
-                    data << uint32(2);
-                    data << uint32(2);
+                    data << uint32(m->sender);              // auction house id
+                    data << uint32(MAIL_AUCTION);           // message type
                    data << uint32(m->stationery);
                    break;
                default:

I've tested with AH in OG, SW, Everlook and works as intended.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use