aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChaz Brown <iamparadox@netscape.net>2009-08-08 02:08:20 -0400
committerChaz Brown <iamparadox@netscape.net>2009-08-08 02:08:20 -0400
commita2c2bad94b16210868937ab34b281b3531c991ef (patch)
tree38ed581478f52242e8251817c56500fb06f78582
parent0f7b23070fd61ac4afd65d415bd56876d3716ea1 (diff)
Add config options for filters, add some, delete some, change others. Make sure you update your trinitycore.conf
--HG-- branch : trunk
-rw-r--r--README.AHBOT94
-rw-r--r--sql/characters.sql8
-rw-r--r--src/game/AuctionHouseBot.cpp508
-rw-r--r--src/game/AuctionHouseBot.h44
-rw-r--r--src/trinitycore/trinitycore.conf.dist221
5 files changed, 694 insertions, 181 deletions
diff --git a/README.AHBOT b/README.AHBOT
index bc189c80267..cec48b8bcc6 100644
--- a/README.AHBOT
+++ b/README.AHBOT
@@ -1,8 +1,8 @@
-This patch modifies the core so it populates the auction houses with items. It
-makes the game feel a bit more like official. Items and prices are chosen
-randomly based on the parameters you define. If an auction expires, auctions
-are deleted quietly. AHBot will not buy it's own items, and will not receive
-mail from the AH or get returned mail.
+Populates the auction houses with items. It can make the game feel a bit more
+like official on small servers. Items and prices are chosen randomly based on
+the parameters you define. If an auction expires, auctions are deleted quietly.
+AHBot will not buy it's own items, and will not receive mail from the AH
+or get returned mail.
===============================================================================
~~HOW TO CONFIGURE~~
@@ -19,10 +19,25 @@ Step 5.) Tune the configuration options in the configuration file and the
Database.
#These are the settings in the configuration file:
+AuctionHouseBot.DEBUG = 0
AuctionHouseBot.EnableSeller = 0
AuctionHouseBot.EnableBuyer = 0
+AuctionHouseBot.UseBuyPriceForSeller = 0
+AuctionHouseBot.UseBuyPriceForBuyer = 0
AuctionHouseBot.Account = 0
AuctionHouseBot.GUID = 0
+AuctionHouseBot.ItemsPerCycle = 200
+
+AuctionHouseBot.DEBUG enables (1) or disables (0) Debug output
+AuctionHouseBot.EnableSeller enables (1) or disables (0) the Seller
+AuctionHouseBot.EnableBuyer enables (1) or disables (0) the Buyer
+AuctionHouseBot.UseBuyPriceForSeller Use SellPrice (0) or BuyPrice (1) for determining prices
+AuctionHouseBot.UseBuyPriceForBuyer Use SellPrice (0) or BuyPrice (1) for determining prices
+AuctionHouseBot.Account is the account number (in realmd->account table) of the player you want to run as the auction bot. Note: a value of 0 will disable the bot.
+AuctionHouseBot.GUID is the GUID (in characters->characters table) of the player you want to run as the auction bot. Note: a value of 0 will disable the bot.
+AuctionHouseBot.ItemsPerCycle determines how many items are added each time AHBot is run (once per minute, by default)
+
+#These are the Filters For filtering certain items/trade goods from the AH
AuctionHouseBot.VendorItems = 0
AuctionHouseBot.LootItems = 1
AuctionHouseBot.OtherItems = 0
@@ -31,14 +46,17 @@ AuctionHouseBot.Bind_When_Picked_Up = 0
AuctionHouseBot.Bind_When_Equipped = 1
AuctionHouseBot.Bind_When_Use = 1
AuctionHouseBot.Bind_Quest_Item = 0
-AuctionHouseBot.ItemsPerCycle = 200
-AuctionHouseBot.UseBuyPriceForSeller = 0
-AuctionHouseBot.UseBuyPriceForBuyer = 0
+AuctionHouseBot.DisableBeta_PTR_Unused = 0
+AuctionHouseBot.DisablePermEnchant = 0
+AuctionHouseBot.DisableConjured = 0
+AuctionHouseBot.DisableGems = 0
+AuctionHouseBot.DisableMoney = 0
+AuctionHouseBot.DisableMoneyLoot = 0
+AuctionHouseBot.DisableLootable = 0
+AuctionHouseBot.DisableKeys = 0
+AuctionHouseBot.DisableDuration = 0
+AuctionHouseBot.DisableBOP_Or_Quest_NoReqLevel = 0
-AuctionHouseBot.EnableSeller enables (1) or disables (0) the Seller
-AuctionHouseBot.EnableBuyer enables (1) or disables (0) the Buyer
-AuctionHouseBot.Account is the account number (in realmd->account table) of the player you want to run as the auction bot. Note: a value of 0 will disable the bot.
-AuctionHouseBot.GUID is the GUID (in characters->characters table) of the player you want to run as the auction bot. Note: a value of 0 will disable the bot.
AuctionHouseBot.VendorItems is a boolean value (0 or 1) that indicates whether to include Vendor only items
AuctionHouseBot.LootItems is a boolean value (0 or 1) that indicates whether to include Loot/Fish/Skin/etc. only items
AuctionHouseBot.OtherItems is a boolean value (0 or 1) that indicates whether to include Other items not covered by the first 2
@@ -47,9 +65,49 @@ AuctionHouseBot.Bind_When_Picked_Up = is a boolean value (0 or 1) that indicates
AuctionHouseBot.Bind_When_Equipped = is a boolean value (0 or 1) that indicates whether to include items with a bonding of 2
AuctionHouseBot.Bind_When_Use = is a boolean value (0 or 1) that indicates whether to include items with a bonding of 3
AuctionHouseBot.Bind_Quest_Item = is a boolean value (0 or 1) that indicates whether to include items with a bonding of 4
-AuctionHouseBot.ItemsPerCycle determines how many items are added each time AHBot is run (once per minute, by default)
-AuctionHouseBot.UseBuyPriceForSeller Use SellPrice (0) or BuyPrice (1) for determining prices
-AuctionHouseBot.UseBuyPriceForBuyer Use SellPrice (0) or BuyPrice (1) for determining prices
+AuctionHouseBot.DisableBeta_PTR_Unused is a boolean value (0 or 1) that will Disable certain items that are usually unavailable to Players
+AuctionHouseBot.DisablePermEnchant is a boolean value (0 or 1) that will Disable Items with a Permanent Enchantment
+AuctionHouseBot.DisableConjured is a boolean value (0 or 1) that will Disable Conjured Items
+AuctionHouseBot.DisableGems is a boolean value (0 or 1) that will Disable Gems
+AuctionHouseBot.DisableMoney is a boolean value (0 or 1) that will Disable Items that are used as money
+AuctionHouseBot.DisableMoneyLoot is a boolean value (0 or 1) that will Disable Items that have Money as a loot
+AuctionHouseBot.DisableLootable is a boolean value (0 or 1) that will Disable Items that have other items as loot
+AuctionHouseBot.DisableKeys is a boolean value (0 or 1) that will Disable Items that are keys
+AuctionHouseBot.DisableDuration is a boolean value (0 or 1) that will Disable Items with a duration
+AuctionHouseBot.DisableBOP_Or_Quest_NoReqLevel is a boolean value (0 or 1) that will Disable items that are BOP or Quest Item with a Required level that is less than the Item Level
+
+#These Filters are boolean (0 or 1) and will disable items that are
+#specifically meant for the Class named.
+#(UnusedClass is Class 10, which was skipped for some reason)
+AuctionHouseBot.DisableWarriorItems = 0
+AuctionHouseBot.DisablePaladinItems = 0
+AuctionHouseBot.DisableHunterItems = 0
+AuctionHouseBot.DisableRogueItems = 0
+AuctionHouseBot.DisablePriestItems = 0
+AuctionHouseBot.DisableDKItems = 0
+AuctionHouseBot.DisableShamanItems = 0
+AuctionHouseBot.DisableMageItems = 0
+AuctionHouseBot.DisableWarlockItems = 0
+AuctionHouseBot.DisableUnusedClassItems = 0
+AuctionHouseBot.DisableDruidItems = 0
+
+#These are the Filters For filtering certain items/trade goods from the AH
+AuctionHouseBot.DisableItemsBelowLevel = 0
+AuctionHouseBot.DisableItemsAboveLevel = 0
+AuctionHouseBot.DisableTGsBelowLevel = 0
+AuctionHouseBot.DisableTGsAboveLevel = 0
+AuctionHouseBot.DisableItemsBelowGUID = 0
+AuctionHouseBot.DisableItemsAboveGUID = 0
+AuctionHouseBot.DisableTGsBelowGUID = 0
+AuctionHouseBot.DisableTGsAboveGUID = 0
+AuctionHouseBot.DisableItemsBelowReqLevel = 0
+AuctionHouseBot.DisableItemsAboveReqLevel = 0
+AuctionHouseBot.DisableTGsBelowReqLevel = 0
+AuctionHouseBot.DisableTGsAboveReqLevel = 0
+AuctionHouseBot.DisableItemsBelowReqSkillRank = 0
+AuctionHouseBot.DisableItemsAboveReqSkillRank = 0
+AuctionHouseBot.DisableTGsBelowReqSkillRank = 0
+AuctionHouseBot.DisableTGsAboveReqSkillRank = 0
#These are the settings in the Database:
#Each Auctionhouse has it's own set of these
@@ -129,7 +187,7 @@ MaxStackYellow = 0
#1 means AHBot will pay the same as (or less than) a vendor would pay, 2 means up to twice as much, etc.
BuyerPriceGrey = 1
-BuyerPriceWhite = 1
+BuyerPriceWhite = 3
BuyerPriceGreen = 5
BuyerPriceBlue = 12
BuyerPricePurple = 15
@@ -167,6 +225,6 @@ The auction house IDs are:
7 - Neutral
-AHBot Originally made by Chris K.
+AHBot Originally made by Chris K. Currently maintained by Paradox
Much thanks to Chris K, grether and Dolomit6!
-AHBot Now includes AHBuyer created by Kerbe as a derivative of AHBot, and later modified by Paradox \ No newline at end of file
+AHBot Now includes AHBuyer created by Kerbe as a derivative of AHBot, and later modified by Paradox
diff --git a/sql/characters.sql b/sql/characters.sql
index f172df5b006..7ac480219ee 100644
--- a/sql/characters.sql
+++ b/sql/characters.sql
@@ -226,7 +226,7 @@ CREATE TABLE `auctionhousebot` (
`maxstackorange` int(11) default '1' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
`maxstackyellow` int(11) default '1' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
`buyerpricegrey` int(11) default '1' COMMENT 'Multiplier to vendorprice when buying grey items from auctionhouse',
- `buyerpricewhite` int(11) default '1' COMMENT 'Multiplier to vendorprice when buying white items from auctionhouse',
+ `buyerpricewhite` int(11) default '3' COMMENT 'Multiplier to vendorprice when buying white items from auctionhouse',
`buyerpricegreen` int(11) default '5' COMMENT 'Multiplier to vendorprice when buying green items from auctionhouse',
`buyerpriceblue` int(11) default '12' COMMENT 'Multiplier to vendorprice when buying blue items from auctionhouse',
`buyerpricepurple` int(11) default '15' COMMENT 'Multiplier to vendorprice when buying purple items from auctionhouse',
@@ -242,9 +242,9 @@ CREATE TABLE `auctionhousebot` (
--
insert into `auctionhousebot`(`auctionhouse`,`name`,`minitems`,`maxitems`,`percentgreytradegoods`,`percentwhitetradegoods`,`percentgreentradegoods`,`percentbluetradegoods`,`percentpurpletradegoods`,`percentorangetradegoods`,`percentyellowtradegoods`,`percentgreyitems`,`percentwhiteitems`,`percentgreenitems`,`percentblueitems`,`percentpurpleitems`,`percentorangeitems`,`percentyellowitems`,`minpricegrey`,`maxpricegrey`,`minpricewhite`,`maxpricewhite`,`minpricegreen`,`maxpricegreen`,`minpriceblue`,`maxpriceblue`,`minpricepurple`,`maxpricepurple`,`minpriceorange`,`maxpriceorange`,`minpriceyellow`,`maxpriceyellow`,`minbidpricegrey`,`maxbidpricegrey`,`minbidpricewhite`,`maxbidpricewhite`,`minbidpricegreen`,`maxbidpricegreen`,`minbidpriceblue`,`maxbidpriceblue`,`minbidpricepurple`,`maxbidpricepurple`,`minbidpriceorange`,`maxbidpriceorange`,`minbidpriceyellow`,`maxbidpriceyellow`,`maxstackgrey`,`maxstackwhite`,`maxstackgreen`,`maxstackblue`,`maxstackpurple`,`maxstackorange`,`maxstackyellow`,`buyerpricegrey`,`buyerpricewhite`,`buyerpricegreen`,`buyerpriceblue`,`buyerpricepurple`,`buyerpriceorange`,`buyerpriceyellow`,`buyerbiddinginterval`,`buyerbidsperinterval`) values
-(2,'Alliance',0,0,0,27,12,10,1,0,0,0,10,30,8,2,0,0,100,150,150,250,800,1400,1250,1750,2250,4550,3250,5550,5250,6550,70,100,70,100,80,100,75,100,80,100,80,100,80,100,0,0,3,2,1,1,1,1,1,5,12,15,20,22,1,1),
-(6,'Horde',0,0,0,27,12,10,1,0,0,0,10,30,8,2,0,0,100,150,150,250,800,1400,1250,1750,2250,4550,3250,5550,5250,6550,70,100,70,100,80,100,75,100,80,100,80,100,80,100,0,0,3,2,1,1,1,1,1,5,12,15,20,22,1,1),
-(7,'Neutral',0,0,0,27,12,10,1,0,0,0,10,30,8,2,0,0,100,150,150,250,800,1400,1250,1750,2250,4550,3250,5550,5250,6550,70,100,70,100,80,100,75,100,80,100,80,100,80,100,0,0,3,2,1,1,1,1,1,5,12,15,20,22,1,1);
+(2,'Alliance',0,0,0,27,12,10,1,0,0,0,10,30,8,2,0,0,100,150,150,250,800,1400,1250,1750,2250,4550,3250,5550,5250,6550,70,100,70,100,80,100,75,100,80,100,80,100,80,100,0,0,3,2,1,1,1,1,3,5,12,15,20,22,1,1),
+(6,'Horde',0,0,0,27,12,10,1,0,0,0,10,30,8,2,0,0,100,150,150,250,800,1400,1250,1750,2250,4550,3250,5550,5250,6550,70,100,70,100,80,100,75,100,80,100,80,100,80,100,0,0,3,2,1,1,1,1,3,5,12,15,20,22,1,1),
+(7,'Neutral',0,0,0,27,12,10,1,0,0,0,10,30,8,2,0,0,100,150,150,250,800,1400,1250,1750,2250,4550,3250,5550,5250,6550,70,100,70,100,80,100,75,100,80,100,80,100,80,100,0,0,3,2,1,1,1,1,3,5,12,15,20,22,1,1);
--
-- Table structure for table `bugreport`
diff --git a/src/game/AuctionHouseBot.cpp b/src/game/AuctionHouseBot.cpp
index 02fa297758d..3e53f3f4e9b 100644
--- a/src/game/AuctionHouseBot.cpp
+++ b/src/game/AuctionHouseBot.cpp
@@ -9,18 +9,64 @@ using namespace std;
AuctionHouseBot::AuctionHouseBot()
{
- AHBSeller = 0;
- AHBBuyer = 0;
-
- Vendor_Items = 0;
- Loot_Items = 0;
- Other_Items = 0;
-
- No_Bind = 0;
- Bind_When_Picked_Up = 0;
- Bind_When_Equipped = 0;
- Bind_When_Use = 0;
- Bind_Quest_Item = 0;
+ debug_Out = false;
+
+ AHBSeller = false;
+ AHBBuyer = false;
+
+ //Begin Filters
+
+ Vendor_Items = false;
+ Loot_Items = false;
+ Other_Items = false;
+
+ No_Bind = false;
+ Bind_When_Picked_Up = false;
+ Bind_When_Equipped = false;
+ Bind_When_Use = false;
+ Bind_Quest_Item = false;
+
+ DisableBeta_PTR_Unused = false;
+ DisablePermEnchant = false;
+ DisableConjured = false;
+ DisableGems = false;
+ DisableMoney = false;
+ DisableMoneyLoot = false;
+ DisableLootable = false;
+ DisableKeys = false;
+ DisableDuration = false;
+ DisableBOP_Or_Quest_NoReqLevel = false;
+
+ DisableWarriorItems = false;
+ DisablePaladinItems = false;
+ DisableHunterItems = false;
+ DisableRogueItems = false;
+ DisablePriestItems = false;
+ DisableDKItems = false;
+ DisableShamanItems = false;
+ DisableMageItems = false;
+ DisableWarlockItems = false;
+ DisableUnusedClassItems = false;
+ DisableDruidItems = false;
+
+ DisableItemsBelowLevel = 0;
+ DisableItemsAboveLevel = 0;
+ DisableTGsBelowLevel = 0;
+ DisableTGsAboveLevel = 0;
+ DisableItemsBelowGUID = 0;
+ DisableItemsAboveGUID = 0;
+ DisableTGsBelowGUID = 0;
+ DisableTGsAboveGUID = 0;
+ DisableItemsBelowReqLevel = 0;
+ DisableItemsAboveReqLevel = 0;
+ DisableTGsBelowReqLevel = 0;
+ DisableTGsAboveReqLevel = 0;
+ DisableItemsBelowReqSkillRank = 0;
+ DisableItemsAboveReqSkillRank = 0;
+ DisableTGsBelowReqSkillRank = 0;
+ DisableTGsAboveReqSkillRank = 0;
+
+ //End Filters
AllianceConfig = AHBConfig(2);
HordeConfig = AHBConfig(6);
@@ -789,19 +835,71 @@ void AuctionHouseBot::Update()
void AuctionHouseBot::Initialize()
{
+ debug_Out = sConfig.GetBoolDefault("AuctionHouseBot.DEBUG", false);
+
AHBSeller = sConfig.GetBoolDefault("AuctionHouseBot.EnableSeller", false);
AHBBuyer = sConfig.GetBoolDefault("AuctionHouseBot.EnableBuyer", false);
+ SellMethod = sConfig.GetBoolDefault("AuctionHouseBot.UseBuyPriceForSeller", false);
+ BuyMethod = sConfig.GetBoolDefault("AuctionHouseBot.UseBuyPriceForBuyer", false);
+
AHBplayerAccount = sConfig.GetIntDefault("AuctionHouseBot.Account", 0);
AHBplayerGUID = sConfig.GetIntDefault("AuctionHouseBot.GUID", 0);
- debug_Out = sConfig.GetBoolDefault("AuctionHouseBot.DEBUG", false);
+ ItemsPerCycle = sConfig.GetIntDefault("AuctionHouseBot.ItemsPerCycle", 200);
+
+
+ //Begin Filters
+
+ Vendor_Items = sConfig.GetBoolDefault("AuctionHouseBot.VendorItems", false);
+ Loot_Items = sConfig.GetBoolDefault("AuctionHouseBot.LootItems", true);
+ Other_Items = sConfig.GetBoolDefault("AuctionHouseBot.OtherItems", false);
+
No_Bind = sConfig.GetBoolDefault("AuctionHouseBot.No_Bind", true);
Bind_When_Picked_Up = sConfig.GetBoolDefault("AuctionHouseBot.Bind_When_Picked_Up", false);
Bind_When_Equipped = sConfig.GetBoolDefault("AuctionHouseBot.Bind_When_Equipped", true);
Bind_When_Use = sConfig.GetBoolDefault("AuctionHouseBot.Bind_When_Use", true);
Bind_Quest_Item = sConfig.GetBoolDefault("AuctionHouseBot.Bind_Quest_Item", false);
- ItemsPerCycle = sConfig.GetIntDefault("AuctionHouseBot.ItemsPerCycle", 200);
- SellMethod = sConfig.GetIntDefault("AuctionHouseBot.UseBuyPriceForSeller", 0);
- BuyMethod = sConfig.GetIntDefault("AuctionHouseBot.UseBuyPriceForBuyer", 0);
+
+ DisableBeta_PTR_Unused = sConfig.GetBoolDefault("AuctionHouseBot.DisableBeta_PTR_Unused", false);
+ DisablePermEnchant = sConfig.GetBoolDefault("AuctionHouseBot.DisablePermEnchant", false);
+ DisableConjured = sConfig.GetBoolDefault("AuctionHouseBot.DisableConjured", false);
+ DisableGems = sConfig.GetBoolDefault("AuctionHouseBot.DisableGems", false);
+ DisableMoney = sConfig.GetBoolDefault("AuctionHouseBot.DisableMoney", false);
+ DisableMoneyLoot = sConfig.GetBoolDefault("AuctionHouseBot.DisableMoneyLoot", false);
+ DisableLootable = sConfig.GetBoolDefault("AuctionHouseBot.DisableLootable", false);
+ DisableKeys = sConfig.GetBoolDefault("AuctionHouseBot.DisableKeys", false);
+ DisableDuration = sConfig.GetBoolDefault("AuctionHouseBot.DisableDuration", false);
+ DisableBOP_Or_Quest_NoReqLevel = sConfig.GetBoolDefault("AuctionHouseBot.DisableBOP_Or_Quest_NoReqLevel", false);
+
+ DisableWarriorItems = sConfig.GetBoolDefault("AuctionHouseBot.DisableWarriorItems", false);
+ DisablePaladinItems = sConfig.GetBoolDefault("AuctionHouseBot.DisablePaladinItems", false);
+ DisableHunterItems = sConfig.GetBoolDefault("AuctionHouseBot.DisableHunterItems", false);
+ DisableRogueItems = sConfig.GetBoolDefault("AuctionHouseBot.DisableRogueItems", false);
+ DisablePriestItems = sConfig.GetBoolDefault("AuctionHouseBot.DisablePriestItems", false);
+ DisableDKItems = sConfig.GetBoolDefault("AuctionHouseBot.DisableDKItems", false);
+ DisableShamanItems = sConfig.GetBoolDefault("AuctionHouseBot.DisableShamanItems", false);
+ DisableMageItems = sConfig.GetBoolDefault("AuctionHouseBot.DisableMageItems", false);
+ DisableWarlockItems = sConfig.GetBoolDefault("AuctionHouseBot.DisableWarlockItems", false);
+ DisableUnusedClassItems = sConfig.GetBoolDefault("AuctionHouseBot.DisableUnusedClassItems", false);
+ DisableDruidItems = sConfig.GetBoolDefault("AuctionHouseBot.DisableDruidItems", false);
+
+ DisableItemsBelowLevel = sConfig.GetIntDefault("AuctionHouseBot.DisableItemsBelowLevel", 0);
+ DisableItemsAboveLevel = sConfig.GetIntDefault("AuctionHouseBot.DisableItemsAboveLevel", 0);
+ DisableTGsBelowLevel = sConfig.GetIntDefault("AuctionHouseBot.DisableTGsBelowLevel", 0);
+ DisableTGsAboveLevel = sConfig.GetIntDefault("AuctionHouseBot.DisableTGsAboveLevel", 0);
+ DisableItemsBelowGUID = sConfig.GetIntDefault("AuctionHouseBot.DisableItemsBelowGUID", 0);
+ DisableItemsAboveGUID = sConfig.GetIntDefault("AuctionHouseBot.DisableItemsAboveGUID", 0);
+ DisableTGsBelowGUID = sConfig.GetIntDefault("AuctionHouseBot.DisableTGsBelowGUID", 0);
+ DisableTGsAboveGUID = sConfig.GetIntDefault("AuctionHouseBot.DisableTGsAboveGUID", 0);
+ DisableItemsBelowReqLevel = sConfig.GetIntDefault("AuctionHouseBot.DisableItemsBelowReqLevel", 0);
+ DisableItemsAboveReqLevel = sConfig.GetIntDefault("AuctionHouseBot.DisableItemsAboveReqLevel", 0);
+ DisableTGsBelowReqLevel = sConfig.GetIntDefault("AuctionHouseBot.DisableTGsBelowReqLevel", 0);
+ DisableTGsAboveReqLevel = sConfig.GetIntDefault("AuctionHouseBot.DisableTGsAboveReqLevel", 0);
+ DisableItemsBelowReqSkillRank = sConfig.GetIntDefault("AuctionHouseBot.DisableItemsBelowReqSkillRank", 0);
+ DisableItemsAboveReqSkillRank = sConfig.GetIntDefault("AuctionHouseBot.DisableItemsAboveReqSkillRank", 0);
+ DisableTGsBelowReqSkillRank = sConfig.GetIntDefault("AuctionHouseBot.DisableTGsBelowReqSkillRank", 0);
+ DisableTGsAboveReqSkillRank = sConfig.GetIntDefault("AuctionHouseBot.DisableTGsAboveReqSkillRank", 0);
+
+ //End Filters
if (!sWorld.getConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_AUCTION))
{
@@ -812,10 +910,6 @@ void AuctionHouseBot::Initialize()
if (AHBSeller)
{
- Vendor_Items = sConfig.GetBoolDefault("AuctionHouseBot.VendorItems", false);
- Loot_Items = sConfig.GetBoolDefault("AuctionHouseBot.LootItems", true);
- Other_Items = sConfig.GetBoolDefault("AuctionHouseBot.OtherItems", false);
-
QueryResult* results = (QueryResult*) NULL;
char npcQuery[] = "SELECT distinct `item` FROM `npc_vendor`";
results = WorldDatabase.PQuery(npcQuery);
@@ -869,119 +963,6 @@ void AuctionHouseBot::Initialize()
if (prototype == NULL)
continue;
- /* disabled filters for now
- // Disable WOTLK items
- if (prototype->ItemId > 39000)
- {
- if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (WOTLK Item)", prototype->ItemId);
- continue;
- }
-
- // Disable PTR/Beta/Unused items
- if ((prototype->ItemId == 21878) || (prototype->ItemId == 27774) || (prototype->ItemId == 27811) || (prototype->ItemId == 28117) || (prototype->ItemId == 28112))
- {
- if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (PTR/Beta/Unused Item)", prototype->ItemId);
- continue;
- }
-
- // Disable item level above 175 (Sunwell items)
- if (prototype->ItemLevel > 175)
- {
- if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (SunWell Item)", prototype->ItemId);
- continue;
- }
-
- // Disable items for level higher than 70
- if (prototype->RequiredLevel > 70)
- {
- if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (RequiredLevel = %u)", prototype->ItemId, prototype->RequiredLevel);
- continue;
- }
-
- // Disable items for DK
- if (prototype->AllowableClass == 32)
- {
- if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (DK Item)", prototype->ItemId);
- continue;
- }
-
- // Disable items require skill higher than 375
- if (prototype->RequiredSkillRank > 375)
- {
- if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (RequiredSkillRank = %u)", prototype->ItemId, prototype->RequiredSkillRank);
- continue;
- }
-
- // Disable permanent enchants items
- if (prototype->Class == ITEM_CLASS_PERMANENT)
- {
- if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Permanent Enchant Item)", prototype->ItemId);
- continue;
- }
-
- // Disable conjured items
- if (prototype->IsConjuredConsumable())
- {
- if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Conjured Consumable)", prototype->ItemId);
- continue;
- }
-
- // Disable WotLK ingredients including some TBC ingredients
- if (prototype->Class == ITEM_CLASS_TRADE_GOODS && prototype->ItemLevel >= 70)
- {
- if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (ItemLevel = %u)", prototype->ItemId, prototype->ItemLevel);
- continue;
- }
-
- // Disable gems
- if (prototype->Class == ITEM_CLASS_GEM)
- {
- if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Gem)", prototype->ItemId);
- continue;
- }
-
- // Disable money
- if (prototype->Class == ITEM_CLASS_MONEY)
- {
- if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Money)", prototype->ItemId);
- continue;
- }
-
- // Disable moneyloot
- if (prototype->MinMoneyLoot > 0)
- {
- if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (MoneyLoot)", prototype->ItemId);
- continue;
- }
-
- // Disable lootable items
- if (prototype->Flags & 4)
- {
- if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Lootable Item)", prototype->ItemId);
- continue;
- }
-
- // Disable Keys
- if (prototype->Class == ITEM_CLASS_KEY)
- {
- if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Quest Item)", prototype->ItemId);
- continue;
- }
-
- // Disable items with duration
- if (prototype->Duration > 0)
- {
- if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Has a Duration)", prototype->ItemId);
- continue;
- }
-
- if ((prototype->Bonding == BIND_WHEN_PICKED_UP || prototype->Bonding == BIND_QUEST_ITEM) && prototype->RequiredLevel == 0)
- {
- if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (BOP or BQI and required level 0)", prototype->ItemId);
- continue;
- }
-
- */
switch (prototype->Bonding)
{
case 0:
@@ -1071,6 +1052,266 @@ void AuctionHouseBot::Initialize()
continue;
}
+ //TODO:Make list of items and create a vector
+ // Disable PTR/Beta/Unused items
+ if ((DisableBeta_PTR_Unused) && ((prototype->ItemId == 21878) || (prototype->ItemId == 27774) || (prototype->ItemId == 27811) || (prototype->ItemId == 28117) || (prototype->ItemId == 28112)))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (PTR/Beta/Unused Item)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable permanent enchants items
+ if ((DisablePermEnchant) && (prototype->Class == ITEM_CLASS_PERMANENT))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Permanent Enchant Item)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable conjured items
+ if ((DisableConjured) && (prototype->IsConjuredConsumable()))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Conjured Consumable)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable gems
+ if ((DisableGems) && (prototype->Class == ITEM_CLASS_GEM))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Gem)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable money
+ if ((DisableMoney) && (prototype->Class == ITEM_CLASS_MONEY))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Money)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable moneyloot
+ if ((DisableMoneyLoot) && (prototype->MinMoneyLoot > 0))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (MoneyLoot)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable lootable items
+ if ((DisableLootable) && (prototype->Flags & 4))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Lootable Item)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable Keys
+ if ((DisableKeys) && (prototype->Class == ITEM_CLASS_KEY))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Quest Item)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable items with duration
+ if ((DisableDuration) && (prototype->Duration > 0))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Has a Duration)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable items which are BOP or Quest Items and have a required level lower than the item level
+ if ((DisableBOP_Or_Quest_NoReqLevel) && ((prototype->Bonding == BIND_WHEN_PICKED_UP || prototype->Bonding == BIND_QUEST_ITEM) && (prototype->RequiredLevel < prototype->ItemLevel)))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (BOP or BQI and Required Level is less than Item Level)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable items specifically for Warrior
+ if ((DisableWarriorItems) && (prototype->AllowableClass == 1))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Warrior Item)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable items specifically for Paladin
+ if ((DisablePaladinItems) && (prototype->AllowableClass == 2))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Paladin Item)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable items specifically for Hunter
+ if ((DisableHunterItems) && (prototype->AllowableClass == 4))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Hunter Item)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable items specifically for Rogue
+ if ((DisableRogueItems) && (prototype->AllowableClass == 8))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Rogue Item)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable items specifically for Priest
+ if ((DisablePriestItems) && (prototype->AllowableClass == 16))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Priest Item)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable items specifically for DK
+ if ((DisableDKItems) && (prototype->AllowableClass == 32))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (DK Item)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable items specifically for Shaman
+ if ((DisableShamanItems) && (prototype->AllowableClass == 64))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Shaman Item)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable items specifically for Mage
+ if ((DisableMageItems) && (prototype->AllowableClass == 128))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Mage Item)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable items specifically for Warlock
+ if ((DisableWarlockItems) && (prototype->AllowableClass == 256))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Warlock Item)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable items specifically for Unused Class
+ if ((DisableUnusedClassItems) && (prototype->AllowableClass == 512))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Unused Item)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable items specifically for Druid
+ if ((DisableDruidItems) && (prototype->AllowableClass == 1024))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Druid Item)", prototype->ItemId);
+ continue;
+ }
+
+ // Disable Items below level X
+ if ((DisableItemsBelowLevel) && (prototype->Class != ITEM_CLASS_TRADE_GOODS) && (prototype->ItemLevel < DisableItemsBelowLevel))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Item Level = %u)", prototype->ItemId, prototype->ItemLevel);
+ continue;
+ }
+
+ // Disable Items above level X
+ if ((DisableItemsAboveLevel) && (prototype->Class != ITEM_CLASS_TRADE_GOODS) && (prototype->ItemLevel > DisableItemsAboveLevel))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Item Level = %u)", prototype->ItemId, prototype->ItemLevel);
+ continue;
+ }
+
+ // Disable Trade Goods below level X
+ if ((DisableTGsBelowLevel) && (prototype->Class == ITEM_CLASS_TRADE_GOODS) && (prototype->ItemLevel < DisableTGsBelowLevel))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Trade Good %u disabled (Trade Good Level = %u)", prototype->ItemId, prototype->ItemLevel);
+ continue;
+ }
+
+ // Disable Trade Goods above level X
+ if ((DisableTGsAboveLevel) && (prototype->Class == ITEM_CLASS_TRADE_GOODS) && (prototype->ItemLevel > DisableTGsAboveLevel))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Trade Good %u disabled (Trade Good Level = %u)", prototype->ItemId, prototype->ItemLevel);
+ continue;
+ }
+
+ // Disable Items below GUID X
+ if ((DisableItemsBelowGUID) && (prototype->Class != ITEM_CLASS_TRADE_GOODS) && (prototype->ItemId < DisableItemsBelowGUID))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Item Level = %u)", prototype->ItemId, prototype->ItemLevel);
+ continue;
+ }
+
+ // Disable Items above GUID X
+ if ((DisableItemsAboveGUID) && (prototype->Class != ITEM_CLASS_TRADE_GOODS) && (prototype->ItemId > DisableItemsAboveGUID))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Item Level = %u)", prototype->ItemId, prototype->ItemLevel);
+ continue;
+ }
+
+ // Disable Trade Goods below GUID X
+ if ((DisableTGsBelowGUID) && (prototype->Class == ITEM_CLASS_TRADE_GOODS) && (prototype->ItemId < DisableTGsBelowGUID))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Trade Good Level = %u)", prototype->ItemId, prototype->ItemLevel);
+ continue;
+ }
+
+ // Disable Trade Goods above GUID X
+ if ((DisableTGsAboveGUID) && (prototype->Class == ITEM_CLASS_TRADE_GOODS) && (prototype->ItemId > DisableTGsAboveGUID))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (Trade Good Level = %u)", prototype->ItemId, prototype->ItemLevel);
+ continue;
+ }
+
+ // Disable Items for level lower than X
+ if ((DisableItemsBelowReqLevel) && (prototype->RequiredLevel < DisableItemsBelowReqLevel))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (RequiredLevel = %u)", prototype->ItemId, prototype->RequiredLevel);
+ continue;
+ }
+
+ // Disable Items for level higher than X
+ if ((DisableItemsAboveReqLevel) && (prototype->RequiredLevel > DisableItemsAboveReqLevel))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (RequiredLevel = %u)", prototype->ItemId, prototype->RequiredLevel);
+ continue;
+ }
+
+ // Disable Trade Goods for level lower than X
+ if ((DisableTGsBelowReqLevel) && (prototype->RequiredLevel < DisableTGsBelowReqLevel))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Trade Good %u disabled (RequiredLevel = %u)", prototype->ItemId, prototype->RequiredLevel);
+ continue;
+ }
+
+ // Disable Trade Goods for level higher than X
+ if ((DisableTGsAboveReqLevel) && (prototype->RequiredLevel > DisableTGsAboveReqLevel))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Trade Good %u disabled (RequiredLevel = %u)", prototype->ItemId, prototype->RequiredLevel);
+ continue;
+ }
+
+ // Disable Items that require skill lower than X
+ if ((DisableItemsBelowReqSkillRank) && (prototype->RequiredSkillRank < DisableItemsBelowReqSkillRank))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (RequiredSkillRank = %u)", prototype->ItemId, prototype->RequiredSkillRank);
+ continue;
+ }
+
+ // Disable Items that require skill higher than X
+ if ((DisableItemsAboveReqSkillRank) && (prototype->RequiredSkillRank > DisableItemsAboveReqSkillRank))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (RequiredSkillRank = %u)", prototype->ItemId, prototype->RequiredSkillRank);
+ continue;
+ }
+
+ // Disable Trade Goods that require skill lower than X
+ if ((DisableTGsBelowReqSkillRank) && (prototype->RequiredSkillRank < DisableTGsBelowReqSkillRank))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (RequiredSkillRank = %u)", prototype->ItemId, prototype->RequiredSkillRank);
+ continue;
+ }
+
+ // Disable Trade Goods that require skill higher than X
+ if ((DisableTGsAboveReqSkillRank) && (prototype->RequiredSkillRank > DisableTGsAboveReqSkillRank))
+ {
+ if (debug_Out) sLog.outError("AuctionHouseBot: Item %u disabled (RequiredSkillRank = %u)", prototype->ItemId, prototype->RequiredSkillRank);
+ continue;
+ }
+
switch (prototype->Quality)
{
case 0:
@@ -1161,6 +1402,7 @@ void AuctionHouseBot::Initialize()
sLog.outString("AuctionHouseBot by Paradox (original by ChrisK) has been loaded.");
sLog.outString("AuctionHouseBot now includes AHBuyer by Kerbe and Paradox");
}
+
void AuctionHouseBot::Commands(uint32 command, uint32 ahMapID, uint32 col, char* args)
{
AHBConfig *config;
diff --git a/src/game/AuctionHouseBot.h b/src/game/AuctionHouseBot.h
index 8c27d2f1f52..df7e842ad4f 100644
--- a/src/game/AuctionHouseBot.h
+++ b/src/game/AuctionHouseBot.h
@@ -918,6 +918,8 @@ private:
uint32 AHBplayerGUID;
uint32 ItemsPerCycle;
+ //Begin Filters
+
bool Vendor_Items;
bool Loot_Items;
bool Other_Items;
@@ -928,6 +930,48 @@ private:
bool Bind_When_Use;
bool Bind_Quest_Item;
+ bool DisableBeta_PTR_Unused;
+ bool DisablePermEnchant;
+ bool DisableConjured;
+ bool DisableGems;
+ bool DisableMoney;
+ bool DisableMoneyLoot;
+ bool DisableLootable;
+ bool DisableKeys;
+ bool DisableDuration;
+ bool DisableBOP_Or_Quest_NoReqLevel;
+
+ bool DisableWarriorItems;
+ bool DisablePaladinItems;
+ bool DisableHunterItems;
+ bool DisableRogueItems;
+ bool DisablePriestItems;
+ bool DisableDKItems;
+ bool DisableShamanItems;
+ bool DisableMageItems;
+ bool DisableWarlockItems;
+ bool DisableUnusedClassItems;
+ bool DisableDruidItems;
+
+ uint32 DisableItemsBelowLevel;
+ uint32 DisableItemsAboveLevel;
+ uint32 DisableTGsBelowLevel;
+ uint32 DisableTGsAboveLevel;
+ uint32 DisableItemsBelowGUID;
+ uint32 DisableItemsAboveGUID;
+ uint32 DisableTGsBelowGUID;
+ uint32 DisableTGsAboveGUID;
+ uint32 DisableItemsBelowReqLevel;
+ uint32 DisableItemsAboveReqLevel;
+ uint32 DisableTGsBelowReqLevel;
+ uint32 DisableTGsAboveReqLevel;
+ uint32 DisableItemsBelowReqSkillRank;
+ uint32 DisableItemsAboveReqSkillRank;
+ uint32 DisableTGsBelowReqSkillRank;
+ uint32 DisableTGsAboveReqSkillRank;
+
+ //End Filters
+
AHBConfig AllianceConfig;
AHBConfig HordeConfig;
AHBConfig NeutralConfig;
diff --git a/src/trinitycore/trinitycore.conf.dist b/src/trinitycore/trinitycore.conf.dist
index 617d5baca62..a9c987c0ed6 100644
--- a/src/trinitycore/trinitycore.conf.dist
+++ b/src/trinitycore/trinitycore.conf.dist
@@ -1472,6 +1472,10 @@ Network.TcpNodelay = 1
###################################################################################################################
# AUCTION HOUSE BOT SETTINGS
#
+# AuctionHouseBot.DEBUG
+# Enable/Disable Debugging output
+# Default 0 (disabled)
+#
# AuctionHouseBot.EnableSeller
# Enable/Disable the part of AHBot that puts items up for auction
# Default 0 (disabled)
@@ -1480,56 +1484,107 @@ Network.TcpNodelay = 1
# Enable/Disable the part of AHBot that buys items from players
# Default 0 (disabled)
#
+# AuctionHouseBot.UseBuyPriceForSeller
+# Should the Seller use BuyPrice or SellPrice to determine Bid Prices
+# Default 0 (use SellPrice)
+#
+# AuctionHouseBot.UseBuyPriceForBuyer
+# Should the Buyer use BuyPrice or SellPrice to determine Bid Prices
+# Default 0 (use SellPrice)
+#
# Auction House Bot character data
# AuctionHouseBot.Account is the account number (in realmd->account table) of the player you want to run as the auction bot.
-# AuctionHouseBot.GUID is the GUID (in characters->characters table) of the player you want to run as the auction bot.
+# AuctionHouseBot.GUID is the GUID (in characters->characters table) of the player you want to run as the auction bot.
# Default: 0 (Auction House Bot disabled)
#
+# AuctionHouseBot.ItemsPerCycle
+# Number of Items to Add/Remove from the AH during mass operations
+# Default 200
+#
+###################################################################################################################
+
+AuctionHouseBot.DEBUG = 0
+AuctionHouseBot.EnableSeller = 0
+AuctionHouseBot.EnableBuyer = 0
+AuctionHouseBot.UseBuyPriceForSeller = 0
+AuctionHouseBot.UseBuyPriceForBuyer = 0
+AuctionHouseBot.Account = 0
+AuctionHouseBot.GUID = 0
+AuctionHouseBot.ItemsPerCycle = 200
+
+###################################################################################################################
+# AUCTION HOUSE BOT FILTERS PART 1
+#
# AuctionHouseBot.VendorItems
# Include items that can be bought from vendors.
-# Default 0
+# Default 0 (False)
#
# AuctionHouseBot.LootItems
# Include items that can be looted or fished for.
-# Default 1
+# Default 1 (True)
#
# AuctionHouseBot.OtherItems
# Include misc. items.
-# Default 0
+# Default 0 (False)
#
# AuctionHouseBot.Bonding_types
# Indicates which bonding types to allow seller to put up for auction
# No_Bind
-# Default 1
+# Default 1 (True)
# Bind_When_Picked_Up
-# Default 0
+# Default 0 (False)
# Bind_When_Equipped
-# Default 1
+# Default 1 (True)
# Bind_When_Use
-# Default 1
+# Default 1 (True)
# Bind_Quest_Item
-# Default 0
+# Default 0 (False)
#
-# AuctionHouseBot.ItemsPerCycle
-# Number of Items to Add/Remove from the AH during mass operations
-# Default 200
+# AuctionHouseBot.DisableBeta_PTR_Unused
+# Disable certain items that are usually unavailable to Players
+# Default 0 (False)
#
-# AuctionHouseBot.UseBuyPriceForSeller
-# Should the Seller use BuyPrice or SellPrice to determine Bid Prices
-# Default 0 (use SellPrice)
+# AuctionHouseBot.DisablePermEnchant
+# Disable Items with a Permanent Enchantment
+# Default 0 (False)
#
-# AuctionHouseBot.UseBuyPriceForBuyer
-# Should the Buyer use BuyPrice or SellPrice to determine Bid Prices
-# Default 0 (use SellPrice)
+# AuctionHouseBot.DisableConjured
+# Disable Conjured Items
+# Default 0 (False)
+#
+# AuctionHouseBot.DisableGems
+# Disable Gems
+# Default 0 (False)
+#
+# AuctionHouseBot.DisableMoney
+# Disable Items that are used as money
+# Default 0 (False)
#
-# All other settings have been moved to sql
+# AuctionHouseBot.DisableMoneyLoot
+# Disable Items that have Money as a loot
+# Default 0 (False)
+#
+# AuctionHouseBot.DisableLootable
+# Disable Items that have other items as loot
+# Default 0 (False)
+#
+# AuctionHouseBot.DisableKeys
+# Disable Items that are keys
+# Default 0 (False)
+#
+# AuctionHouseBot.DisableDuration
+# Disable Items with a duration
+# Default 0 (False)
+#
+# AuctionHouseBot.DisableBOP_Or_Quest_NoReqLevel
+# Disable items that are BOP or Quest Item
+# with a Required level that is less than the Item Level
+# (This prevents a level 10 with a level 60 weapon or armor)
+# (May need further refinement)
+# Default 0 (False)
#
###################################################################################################################
-AuctionHouseBot.EnableSeller = 0
-AuctionHouseBot.EnableBuyer = 0
-AuctionHouseBot.Account = 0
-AuctionHouseBot.GUID = 0
AuctionHouseBot.VendorItems = 0
AuctionHouseBot.LootItems = 1
AuctionHouseBot.OtherItems = 0
@@ -1538,9 +1593,123 @@ AuctionHouseBot.Bind_When_Picked_Up = 0
AuctionHouseBot.Bind_When_Equipped = 1
AuctionHouseBot.Bind_When_Use = 1
AuctionHouseBot.Bind_Quest_Item = 0
-AuctionHouseBot.ItemsPerCycle = 200
-AuctionHouseBot.UseBuyPriceForSeller = 0
-AuctionHouseBot.UseBuyPriceForBuyer = 0
+AuctionHouseBot.DisableBeta_PTR_Unused = 0
+AuctionHouseBot.DisablePermEnchant = 0
+AuctionHouseBot.DisableConjured = 0
+AuctionHouseBot.DisableGems = 0
+AuctionHouseBot.DisableMoney = 0
+AuctionHouseBot.DisableMoneyLoot = 0
+AuctionHouseBot.DisableLootable = 0
+AuctionHouseBot.DisableKeys = 0
+AuctionHouseBot.DisableDuration = 0
+AuctionHouseBot.DisableBOP_Or_Quest_NoReqLevel = 0
+
+###################################################################################################################
+# AUCTION HOUSE BOT FILTERS PART 2
+#
+# These Filters are boolean (0 or 1) and will disable items that are
+# specifically meant for the Class named.
+# (UnusedClass is Class 10, which was skipped for some reason)
+# Default 0 (allowed)
+###################################################################################################################
+
+AuctionHouseBot.DisableWarriorItems = 0
+AuctionHouseBot.DisablePaladinItems = 0
+AuctionHouseBot.DisableHunterItems = 0
+AuctionHouseBot.DisableRogueItems = 0
+AuctionHouseBot.DisablePriestItems = 0
+AuctionHouseBot.DisableDKItems = 0
+AuctionHouseBot.DisableShamanItems = 0
+AuctionHouseBot.DisableMageItems = 0
+AuctionHouseBot.DisableWarlockItems = 0
+AuctionHouseBot.DisableUnusedClassItems = 0
+AuctionHouseBot.DisableDruidItems = 0
+
+###################################################################################################################
+# AUCTION HOUSE BOT FILTERS PART 3
+#
+# AuctionHouseBot.DisableItemsBelowLevel
+# Prevent Seller from listing Items below this Level
+# Default 0 (Off)
+#
+# AuctionHouseBot.DisableItemsAboveLevel
+# Prevent Seller from listing Items above this Level
+# Default 0 (Off)
+#
+# AuctionHouseBot.DisableTGsBelowLevel
+# Prevent Seller from listing Trade Goods below this Level
+# Default 0 (Off)
+#
+# AuctionHouseBot.DisableTGsAboveLevel
+# Prevent Seller from listing Trade Goods above this Level
+# Default 0 (Off)
+#
+# AuctionHouseBot.DisableItemsBelowGUID
+# Prevent Seller from listing Items below this GUID
+# Default 0 (Off)
+#
+# AuctionHouseBot.DisableItemsAboveGUID
+# Prevent Seller from listing Items above this GUID
+# Default 0 (Off)
+#
+# AuctionHouseBot.DisableTGsBelowGUID
+# Prevent Seller from listing Trade Goods below this GUID
+# Default 0 (Off)
+#
+# AuctionHouseBot.DisableTGsAboveGUID
+# Prevent Seller from listing Trade Goods above this GUID
+# Default 0 (Off)
+#
+# AuctionHouseBot.DisableItemsBelowReqLevel
+# Prevent Seller from listing Items below this Required Level
+# Default 0 (Off)
+#
+# AuctionHouseBot.DisableItemsAboveReqLevel
+# Prevent Seller from listing Items above this Required Level
+# Default 0 (Off)
+#
+# AuctionHouseBot.DisableTGsBelowReqLevel
+# Prevent Seller from listing Trade Goods below this Required Level
+# Default 0 (Off)
+#
+# AuctionHouseBot.DisableTGsAboveReqLevel
+# Prevent Seller from listing Trade Goods above this Required Level
+# Default 0 (Off)
+#
+# AuctionHouseBot.DisableItemsBelowReqSkillRank
+# Prevent Seller from listing Items below this Required Skill Rank
+# Default 0 (Off)
+#
+# AuctionHouseBot.DisableItemsAboveReqSkillRank
+# Prevent Seller from listing Items above this Required Skill Rank
+# Default 0 (Off)
+#
+# AuctionHouseBot.DisableTGsBelowReqSkillRank
+# Prevent Seller from listing Trade Goods below this Required Skill Rank
+# Default 0 (Off)
+#
+# AuctionHouseBot.DisableTGsAboveReqSkillRank
+# Prevent Seller from listing Trade Goods above this Required Skill Rank
+# Default 0 (Off)
+#
+###################################################################################################################
+
+AuctionHouseBot.DisableItemsBelowLevel = 0
+AuctionHouseBot.DisableItemsAboveLevel = 0
+AuctionHouseBot.DisableTGsBelowLevel = 0
+AuctionHouseBot.DisableTGsAboveLevel = 0
+AuctionHouseBot.DisableItemsBelowGUID = 0
+AuctionHouseBot.DisableItemsAboveGUID = 0
+AuctionHouseBot.DisableTGsBelowGUID = 0
+AuctionHouseBot.DisableTGsAboveGUID = 0
+AuctionHouseBot.DisableItemsBelowReqLevel = 0
+AuctionHouseBot.DisableItemsAboveReqLevel = 0
+AuctionHouseBot.DisableTGsBelowReqLevel = 0
+AuctionHouseBot.DisableTGsAboveReqLevel = 0
+AuctionHouseBot.DisableItemsBelowReqSkillRank = 0
+AuctionHouseBot.DisableItemsAboveReqSkillRank = 0
+AuctionHouseBot.DisableTGsBelowReqSkillRank = 0
+AuctionHouseBot.DisableTGsAboveReqSkillRank = 0
###################################################################################################################
# CONSOLE AND REMOTE ACCESS