Skip to content

auctionhouse

Contains all information about the currently ongoing auctions in the auction houses. It controls what items are put up for auction and who put it up, who is the highest bidder, etc.

This table is used by Trinity while running and not a table that you would usually edit.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
idintunsignedPRINO0
houseidtinyintunsignedNO7
itemguidintunsignedUNINO0
itemownerintunsignedNO0
buyoutpriceintunsignedNO0
timeintunsignedNO0
buyguidintunsignedNO0
lastbidintunsignedNO0
startbidintunsignedNO0
depositintunsignedNO0
FlagstinyintunsignedNO0
 

Description of fields ​

id ​

Unique identifier for every auction.  

houseid ​

The Auctionhouse where this auction was created. Referes to AuctionHouse ID. Options are :

  • 2: Alliance Auction House
  • 6: Horde Auction House
  • 7: Blackwater Auction House  

itemguid ​

The item guid of the item that is up for auction.  

itemowner ​

The character guid of the owner of the item up for auction.  

buyoutprice ​

The buyout price of the item in copper. Divide by 100 to get silver and by 100 again to get gold.  

time ​

The time when the auction will end, measured in Unix time (number of seconds from 00:00 Jan 1, 1970).  

buyguid ​

The character guid of the highest bidder.  

lastbid ​

The amount of money in copper of the last bid put on the item.  

startbid ​

The amount of money in copper of the starting bid.  

deposit ​

The amount of money in copper spent on the deposit.  

Flags ​

ValueFlagNameComment
00x0AUCTION_ENTRY_FLAG_NONE
10x1AUCTION_ENTRY_FLAG_GM_LOG_BUYERwrite transaction to gm log file for buyer (optimization flag - avoids querying database for offline player permissions)