Bug Report: Restart Auction Drops and AHBot Buyer Not Purchasing Player Auctions
SummaryServer restarts and clean shutdown/start cycles were dropping auctions whose auctioneerguid values did not exist in world.creature, while the AHBot buyer was not purchasing player-listed auctions due to low per-interval bid capacity (buyerbidsperinterval = 1) across Alliance (2), Horde (6), and Neutral (7). Inserting missing auctioneer spawn records into world.creature and raising buyerbidsperinterval to 5 in characters.auctionhousebot resolved both issues.
Root Causes
Verification & Outcome
SummaryServer restarts and clean shutdown/start cycles were dropping auctions whose auctioneerguid values did not exist in world.creature, while the AHBot buyer was not purchasing player-listed auctions due to low per-interval bid capacity (buyerbidsperinterval = 1) across Alliance (2), Horde (6), and Neutral (7). Inserting missing auctioneer spawn records into world.creature and raising buyerbidsperinterval to 5 in characters.auctionhousebot resolved both issues.
Root Causes
- Missing auctioneer GUIDs in world.creature: During startup auction loading, auctioneerguid entries were validated against world.creature. Auctions referencing 23442 (used by AHBot seller auctions) or 274539 (recorded on player auctions, including listings created next to Auctioneer Chilton at guid = 9857813, entry = 8670, map = 0) were dropped when those GUIDs were absent from world.creature.
- Low per-interval bid capacity: buyerbidsperinterval = 1 across auctionhouse IDs 2 (Alliance), 6 (Horde), and 7 (Neutral) restricted how many buyer actions executed per interval.
- Register Auctioneer GUID 23442 in world.creature (Emucoach_COM_PREMIUM_DB_8.0_MOP)Inserted a creature record for guid = 23442 cloned from template spawn guid = 10024299 via temporary table tmp_ah_23442:
- Register Auctioneer GUID 274539 in world.creature (Emucoach_COM_PREMIUM_DB_8.0_MOP)Inserted a creature record for guid = 274539 with id = 8670 and map = 0 matching Auctioneer Chilton:
- Update Per-Interval Bid Capacity in characters.auctionhousebotSet buyerbiddinginterval = 1 and buyerbidsperinterval = 5 across auctionhouse IDs 2, 6, and 7:
Verification & Outcome
- Auction persistence: After inserting 23442 and 274539 into world.creature, server startup loaded auctions cleanly (>> Loaded 13002 auctions) with no missing-auctioneer errors for 23442 or 274539, and auctions remained active across server shutdown and startup.
- Buyer purchasing: After updating buyerbidsperinterval to 5 across houses 2, 6, and 7, player test auctions (662318 and 666719, itemEntry = 2589) were removed from characters.auctionhouse and generated auction mail notifications in-game.