Apply an exponential formula to define the chance to bid/buyout an auction depending on auction price and item price ratio. The formula can be adjusted changing the new AuctionHouseBot.Buyer.ChanceFactor config parameter
Chance = 100 ^ (1 + (1 - (auction_price / item_price) / k)
k is the config parameter AuctionHouseBot.Buyer.ChanceFactor, the higher the number the higher chance to buy overpriced auctions.
(cherry picked from commit 177b6319d1)
Conflicts:
src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp
Correct AuctionHouseType definition to log the right AH type.
Handle auctions without bidder but with a bid as bought by the AH Bot
Closes#14124
(cherry picked from commit 2eee1b349f)
Conflicts:
src/server/game/AuctionHouse/AuctionHouseMgr.cpp
Warning: CMake must be rerun
Apply if you have crashes
Rewrite Seller prices, add random properties and implement some suggestions on price calculations
Core/AHBot: Update to latest suggestions
Fix SQLs after merge, split the AH bot to spearate headers and cpps, fix the config default values
Remove case 8 from GetBuyModifier. It was not correct
Fix Gray Grey GRAY typos
Change message config name
Fix non pch build
Fix switch ident, also earlier removed whitespace. Add missing include for non pch build
Fix possible crash: if (forplayer || GetOwnerGUID()) changed to if (forplayer)
Apply Nayd.diff - Code style fixes
Fix leftovers from nayd
Correct SQL transaction and change one SQL query to C++ instead
Make loot items distinct