Skip to content

Commit 5189b72

Browse files
authored
Overall cleanup and extension of the mod (#96)
* 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
1 parent 139bea2 commit 5189b72

15 files changed

+5658
-2871
lines changed

conf/mod_ahbot.conf.dist

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,30 @@
77
# Enable/Disable Debugging output
88
# Default 0 (disabled)
99
#
10+
# AuctionHouseBot.DEBUG_CONFIG
11+
# Enable/Disable Debugging output from the configuration
12+
# Default 0 (disabled)
13+
#
1014
# AuctionHouseBot.DEBUG_FILTERS
1115
# Enable/Disable Debugging output from Filters
1216
# Default 0 (disabled)
1317
#
18+
# AuctionHouseBot.DEBUG_BUYER
19+
# Enable/Disable Debugging output from buyer
20+
# Default 0 (disabled)
21+
#
22+
# AuctionHouseBot.DEBUG_SELLER
23+
# Enable/Disable Debugging output from seller
24+
# Default 0 (disabled)
25+
#
26+
# AuctionHouseBot.TRACE_SELLER
27+
# Enable/Disable tracing for the sold items
28+
# Default 0 (disabled)
29+
#
30+
# AuctionHouseBot.TRACE_BUYER
31+
# Enable/Disable tracing for the bought items
32+
# Default 0 (disabled)
33+
#
1434
# AuctionHouseBot.EnableSeller
1535
# Enable/Disable the part of AHBot that puts items up for auction
1636
# Default 0 (disabled)
@@ -39,17 +59,50 @@
3959
# Number of Items to Add/Remove from the AH during mass operations
4060
# Default 200
4161
#
62+
# AuctionHouseBot.ConsiderOnlyBotAuctions
63+
# Ignore player auctions and consider only bot ones when keeping track of the numer of auctions in place.
64+
# This allow to keep a background noise in the market even when lot of players are in.
65+
# Default 0 (False)
66+
#
67+
# AuctionHouseBot.DuplicatesCount
68+
# The maximum amount of duplicates stacks present in the market sold by the bot.
69+
# If set to zero then no limits are set in place.
70+
# Default 0
71+
#
72+
# AuctionHouseBot.DivisibleStacks
73+
# Sell items in stack sizes which depends on the maximum amount per stack.
74+
# For example, an item with max stack size 20 will be sold in 5, 10 15 and 20 stacks, and not at random.
75+
# Default 0 (False)
76+
#
77+
# AuctionHouseBot.ElapsingTimeClass
78+
# The elapsing time for the sold items. There are three classes:
79+
# 0 = long, auctions lasts from one to three days
80+
# 1 = medium, auctions lasts within a day
81+
# 2 = shorts, auctions lasts within an hour
82+
# Default 1
83+
#
84+
#
4285
###############################################################################
4386

4487
AuctionHouseBot.DEBUG = 0
88+
AuctionHouseBot.DEBUG_CONFIG = 0
4589
AuctionHouseBot.DEBUG_FILTERS = 0
90+
AuctionHouseBot.DEBUG_BUYER = 0
91+
AuctionHouseBot.DEBUG_SELLER = 0
92+
AuctionHouseBot.TRACE_SELLER = 0
93+
AuctionHouseBot.TRACE_BUYER = 0
94+
4695
AuctionHouseBot.EnableSeller = 0
4796
AuctionHouseBot.EnableBuyer = 0
4897
AuctionHouseBot.UseBuyPriceForSeller = 0
4998
AuctionHouseBot.UseBuyPriceForBuyer = 0
5099
AuctionHouseBot.Account = 0
51100
AuctionHouseBot.GUID = 0
52101
AuctionHouseBot.ItemsPerCycle = 200
102+
AuctionHouseBot.ConsiderOnlyBotAuctions = 0
103+
AuctionHouseBot.DuplicatesCount = 0
104+
AuctionHouseBot.DivisibleStacks = 0
105+
AuctionHouseBot.ElapsingTimeClass = 1
53106

54107
###############################################################################
55108
# AUCTION HOUSE BOT FILTERS PART 1
@@ -264,3 +317,15 @@ AuctionHouseBot.DisableItemsBelowReqSkillRank = 0
264317
AuctionHouseBot.DisableItemsAboveReqSkillRank = 0
265318
AuctionHouseBot.DisableTGsBelowReqSkillRank = 0
266319
AuctionHouseBot.DisableTGsAboveReqSkillRank = 0
320+
321+
###############################################################################
322+
# AUCTION HOUSE BOT FILTERS PART 4
323+
#
324+
# AuctionHouseBot.SellerWhiteList
325+
# Bypass the values of the disabled items table and only allows selling of the selected items
326+
# Values here must be the item template id separated with a comma (eg "1, 2, 3")
327+
# Default "" (Empty)
328+
#
329+
###############################################################################
330+
331+
AuctionHouseBot.SellerWhiteList = ""

0 commit comments

Comments
 (0)