From a314b0e22da5a647b12b5df721caab4fd0e0de1b Mon Sep 17 00:00:00 2001 From: NathanHandley Date: Mon, 8 Sep 2025 20:12:22 -0500 Subject: [PATCH] Update readme and fix config --- README.md | 8 ++++++++ conf/mod_ahbot.conf.dist | 10 ++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5bcf62f..8eb22ca 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,14 @@ Notes: - Important! By default, most player crafted items (except glyphs, bolts, maybe a few other things) are disabled from showing up in the auction house in order to encourage player crafting on lower pop servers. If you want different behavior, alter the config variable "AuctionHouseBot.DisabledCraftedItemIDs" by deleting IDs you wish to show up. Note that fish are also disabled to encourage fishing, and that's also managed by disabled lists. - It takes a few hours for the auction house to fully populate, as only 75 items gets added by default every 'tick'. You can change this in the config with the AuctionHouseBot.ItemsPerCycle variable. + +## Buying Bot Behavior + +1. **Determining Items to Buy:** Every minute the buyer bot will select (BuyCanditatesPerBuyoutCycle) items currently up for auction which are listed by players as potential purchase items. +2. **Price Willing to Pay:** The buyer bot will use the same item price calculation the seller bot uses, including the random +/- 25%, and that calculated price is then multiplied by (AcceptablePriceModifier) which then becomes the price the buyer will be willing to spend. +3. **Buying it:** If the price calculated is higher than the buy out price, then the bot will buy it out. +The above behavior is replicated on each enabled auction house. If left to default settings, 1 item in each auction house will attempt to be bought from, if the price calculation seems favorable. Note that any item buy attempt, even items above buying price, consumes a buy candidate. That means that too many overpriced items can drown out potential sales. + ## Credits - NathanHandley: Created this rewrite of the one that was ported to AzerothCore diff --git a/conf/mod_ahbot.conf.dist b/conf/mod_ahbot.conf.dist index 6e80030..b76eea4 100644 --- a/conf/mod_ahbot.conf.dist +++ b/conf/mod_ahbot.conf.dist @@ -48,16 +48,14 @@ AuctionHouseBot.AuctionHouseManagerCyclesBetweenBuyOrSell = 1 # BUYER PROPERTIES # Behavior: # 1) Determining Items to Buy: Every minute the buyer bot will select -# (BuyCanditatesPerBidCycle) items currently up for auction which are +# (BuyCanditatesPerBuyoutCycle) items currently up for auction which are # listed by players as potential purchase items. # 2) Price Willing to Pay: The buyer bot will use the same item price # calculation the seller bot uses, including the random +/- 25%, and # that calculated price is then multiplied by (AcceptablePriceModifier) # which then becomes the price the buyer will be willing to spend. # 3) Buying it: If the price calculated is higher than the buy out price, -# then the bot will buy it out. If the price is higher than the current -# bid, and the bot isn't already the highest bidder, then it will place -# a new bid. +# then the bot will buy it out. # - The above behavior is replicated on each enabled auction house. # - If left to default settings, 1 item in each auction house will attempt # to be bought from, if the price calculation seems favorable. @@ -69,7 +67,7 @@ AuctionHouseBot.AuctionHouseManagerCyclesBetweenBuyOrSell = 1 # Enable/Disable the buying bot. # Default 0 (disabled) # -# AuctionHouseBot.Buyer.BuyCanditatesPerBidCycle +# AuctionHouseBot.Buyer.BuyCanditatesPerBuyoutCycle # How many to items to price and attempt to buy. Note, this number of # items will be selected from each of the auction house types (Alliance, # Horde, Neutral). Meaning if you set this as 10, then up to 10 items @@ -90,7 +88,7 @@ AuctionHouseBot.AuctionHouseManagerCyclesBetweenBuyOrSell = 1 ############################################################################### AuctionHouseBot.Buyer.Enabled = 0 -AuctionHouseBot.Buyer.BuyCanditatesPerBidCycle = 1 +AuctionHouseBot.Buyer.BuyCanditatesPerBuyoutCycle = 1 AuctionHouseBot.Buyer.AcceptablePriceModifier = 1 ###############################################################################