azerothcore / mod-ah-bot

AHBot for AzerothCore
http://azerothcore.org/
68 stars 79 forks source link

Auction house IDs #21

Open BarbzYHOOL opened 4 years ago

BarbzYHOOL commented 4 years ago

Any reason why the auctionhouses listed in the DB have IDs 2,6,7 and not 1,2,3 ??

steenburgh commented 3 years ago

The auction house IDs come from the AuctionHouse dbc: https://wow.tools/dbc/?dbc=auctionhouse&build=3.3.5.12340#page=1. The choice of auction house 2, 6 and 7, seems arbitrary, but for IDs 2 and 6, these are the only DBC entries that don't have a city in their name, so this might have something to do with it.

image

steenburgh commented 3 years ago

Actually I think I've figured out what's going on - check the WOW 1.9.0 patch notes under 'linked auction houses'.

Auction Houses in Orgrimmar, Undercity, and Thunder Bluff will now share the same pool of Horde player-created auctions, and Alliance players will find the same to be true when visiting Ironforge, Stormwind City, and Darnassus Auction Houses. This system has been expanded to support the neutral Auction Houses as well. Tanaris, Everlook, and Booty Bay will all be linked for players of both factions to access.

Prior to patch 1.9.0, there were 7 distinct auction houses. If you look at the DBC file for 1.8.X, you can see that auction house 2 was the Ironforge Auction House, and auction house 6 was the Orgrimmar Auction House. I assume - but can't say 100% for sure - that post patch 1.9.0, IDs 2, 6, and 7 became the only valid auction house IDs.