Skip to content

Commit

Permalink
Overall cleanup and extension of the mod (#96)
Browse files Browse the repository at this point in the history
* Overall cleanup of the mod, separation of class sources, introduction of whitelist mechanism compatible with disabled item table (take precedence), new configuration options to regulate amount of elements sold in the market, their size and the elapsed time

* Fixed a bug which caused the seller to propose stack going over the given limit

* No changes, just the script classes being organized in their own source and header files

* Configuration moved from the bot to its own class; extended the bot to support multiple instances active at once
  • Loading branch information
kewinrausch authored Aug 22, 2024
1 parent 139bea2 commit 5189b72
Show file tree
Hide file tree
Showing 15 changed files with 5,658 additions and 2,871 deletions.
65 changes: 65 additions & 0 deletions conf/mod_ahbot.conf.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,30 @@
# Enable/Disable Debugging output
# Default 0 (disabled)
#
# AuctionHouseBot.DEBUG_CONFIG
# Enable/Disable Debugging output from the configuration
# Default 0 (disabled)
#
# AuctionHouseBot.DEBUG_FILTERS
# Enable/Disable Debugging output from Filters
# Default 0 (disabled)
#
# AuctionHouseBot.DEBUG_BUYER
# Enable/Disable Debugging output from buyer
# Default 0 (disabled)
#
# AuctionHouseBot.DEBUG_SELLER
# Enable/Disable Debugging output from seller
# Default 0 (disabled)
#
# AuctionHouseBot.TRACE_SELLER
# Enable/Disable tracing for the sold items
# Default 0 (disabled)
#
# AuctionHouseBot.TRACE_BUYER
# Enable/Disable tracing for the bought items
# Default 0 (disabled)
#
# AuctionHouseBot.EnableSeller
# Enable/Disable the part of AHBot that puts items up for auction
# Default 0 (disabled)
Expand Down Expand Up @@ -39,17 +59,50 @@
# Number of Items to Add/Remove from the AH during mass operations
# Default 200
#
# AuctionHouseBot.ConsiderOnlyBotAuctions
# Ignore player auctions and consider only bot ones when keeping track of the numer of auctions in place.
# This allow to keep a background noise in the market even when lot of players are in.
# Default 0 (False)
#
# AuctionHouseBot.DuplicatesCount
# The maximum amount of duplicates stacks present in the market sold by the bot.
# If set to zero then no limits are set in place.
# Default 0
#
# AuctionHouseBot.DivisibleStacks
# Sell items in stack sizes which depends on the maximum amount per stack.
# For example, an item with max stack size 20 will be sold in 5, 10 15 and 20 stacks, and not at random.
# Default 0 (False)
#
# AuctionHouseBot.ElapsingTimeClass
# The elapsing time for the sold items. There are three classes:
# 0 = long, auctions lasts from one to three days
# 1 = medium, auctions lasts within a day
# 2 = shorts, auctions lasts within an hour
# Default 1
#
#
###############################################################################

AuctionHouseBot.DEBUG = 0
AuctionHouseBot.DEBUG_CONFIG = 0
AuctionHouseBot.DEBUG_FILTERS = 0
AuctionHouseBot.DEBUG_BUYER = 0
AuctionHouseBot.DEBUG_SELLER = 0
AuctionHouseBot.TRACE_SELLER = 0
AuctionHouseBot.TRACE_BUYER = 0

AuctionHouseBot.EnableSeller = 0
AuctionHouseBot.EnableBuyer = 0
AuctionHouseBot.UseBuyPriceForSeller = 0
AuctionHouseBot.UseBuyPriceForBuyer = 0
AuctionHouseBot.Account = 0
AuctionHouseBot.GUID = 0
AuctionHouseBot.ItemsPerCycle = 200
AuctionHouseBot.ConsiderOnlyBotAuctions = 0
AuctionHouseBot.DuplicatesCount = 0
AuctionHouseBot.DivisibleStacks = 0
AuctionHouseBot.ElapsingTimeClass = 1

###############################################################################
# AUCTION HOUSE BOT FILTERS PART 1
Expand Down Expand Up @@ -264,3 +317,15 @@ AuctionHouseBot.DisableItemsBelowReqSkillRank = 0
AuctionHouseBot.DisableItemsAboveReqSkillRank = 0
AuctionHouseBot.DisableTGsBelowReqSkillRank = 0
AuctionHouseBot.DisableTGsAboveReqSkillRank = 0

###############################################################################
# AUCTION HOUSE BOT FILTERS PART 4
#
# AuctionHouseBot.SellerWhiteList
# Bypass the values of the disabled items table and only allows selling of the selected items
# Values here must be the item template id separated with a comma (eg "1, 2, 3")
# Default "" (Empty)
#
###############################################################################

AuctionHouseBot.SellerWhiteList = ""
Loading

0 comments on commit 5189b72

Please sign in to comment.