Jump to content

[Patch] Auction House Bot (Xeross' Branch)


Recommended Posts

  • 2 weeks later...
  • Replies 717
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 weeks later...

hi guys

im using new_ah and all did work fine .. then i did mess with commands reloadall and rebuild and now there is not items in AH house... on loading mangos it says..

13495 items loaded from your DB.

Sorting and cleaning Items bases...

12887 items will be used to fill AH. (according your config choices)

then i did try to use command ahbot status to check if there is a items but still nothing

items loaded for alliance 0 for hord 0 neutral 0 total 0

how can i fix it plz

sry for my english

Link to comment
Share on other sites

  • 5 weeks later...

Hello guys,

I having had a small problem concerning the auction house bot. I'm new to all this. yet so screwed up sometimes. I have done everything according to the guide, patch made compiled, no errors seen. Read the AHBOT.README and followed the steps. I have the account ID and guid noted. But where can I find configuration file to put it in? in mangosd.conf i dind't found anything with AHBOT. Do you have to put the line's manualy? And where can i find those line's?

thx

Link to comment
Share on other sites

Hello guys,

I having had a small problem concerning the auction house bot. I'm new to all this. yet so screwed up sometimes. I have done everything according to the guide, patch made compiled, no errors seen. Read the AHBOT.README and followed the steps. I have the account ID and guid noted. But where can I find configuration file to put it in? in mangosd.conf i dind't found anything with AHBOT. Do you have to put the line's manualy? And where can i find those line's?

thx

There is no need for the account and character anymore...ahbot now uses an internal character that you will only want to name if you like other wise it's known as ahbot.

Link to comment
Share on other sites

Thought so. I started with reading from beginning there is a lot of change going on. So if i installed the patch correctly, It should be working automaticly? Is it a npc that i have to spawn or does it works with the aditional actioneers? I read so much on this forum, that i may mixed up some things.

Link to comment
Share on other sites

  • 2 weeks later...

Guys I'm having a problem with this ahbot, I compiled it right, used the config, but it keeps adding items to my auction forever!!! I saw my mangos console keep adding items to like over 30000 and my server lags like hell now. Idk whats wrong, I thought my config had it set up to only have 1000 items, what did I do wrong?

AuctionHouseBot.Seller.Enabled = 1

AuctionHouseBot.Alliance.Items.Amount.Ratio = 100

AuctionHouseBot.Horde.Items.Amount.Ratio = 100

AuctionHouseBot.Neutral.Items.Amount.Ratio = 100

AuctionHouseBot.Name = "Northrend"

AuctionHouseBot.MinTime = 1

AuctionHouseBot.MaxTime = 72

AuctionHouseBot.Items.Vendor = 1

AuctionHouseBot.Items.Loot = 1

AuctionHouseBot.Items.Misc = 1

AuctionHouseBot.Bind.No = 1

AuctionHouseBot.Bind.Pickup = 0

AuctionHouseBot.Bind.Equip = 0

AuctionHouseBot.Bind.Use = 0

AuctionHouseBot.Bind.Quest = 0

AuctionHouseBot.LockBox.Enabled = 0

AuctionHouseBot.ItemsPerCycle.Boost = 1000

AuctionHouseBot.ItemsPerCycle.Normal = 20

AuctionHouseBot.BuyPrice.Seller = 1

AuctionHouseBot.Alliance.Price.Ratio = 200

AuctionHouseBot.Horde.Price.Ratio = 200

AuctionHouseBot.Neutral.Price.Ratio = 200

AuctionHouseBot.Items.ItemLevel.Min = 0

AuctionHouseBot.Items.ItemLevel.Max = 0

AuctionHouseBot.Items.ReqLevel.Min = 0

AuctionHouseBot.Items.ReqLevel.Max = 0

AuctionHouseBot.Items.ReqSkill.Min = 0

AuctionHouseBot.Items.ReqSkill.Max = 0

AuctionHouseBot.Items.Amount.Grey = 0

AuctionHouseBot.Items.Amount.White = 2000

AuctionHouseBot.Items.Amount.Green = 2500

AuctionHouseBot.Items.Amount.Blue = 1500

AuctionHouseBot.Items.Amount.Purple = 1000

AuctionHouseBot.Items.Amount.Orange = 0

AuctionHouseBot.Items.Amount.Yellow = 0

AuctionHouseBot.Class.Consumable = 0

AuctionHouseBot.Class.Container = 0

AuctionHouseBot.Class.Weapon = 0

AuctionHouseBot.Class.Gem = 5

AuctionHouseBot.Class.Armor = 0

AuctionHouseBot.Class.Reagent = 3

AuctionHouseBot.Class.Projectile = 3

AuctionHouseBot.Class.TradeGood = 10

AuctionHouseBot.Class.Generic = 0

AuctionHouseBot.Class.Reciepe = 7

AuctionHouseBot.Class.Quiver = 0

AuctionHouseBot.Class.Quest = 0

AuctionHouseBot.Class.Key = 0

AuctionHouseBot.Class.Misc = 0

AuctionHouseBot.Class.Glyph = 5

Link to comment
Share on other sites

this is my config


AuctionHouseBot.Seller.Enabled = 1

AuctionHouseBot.Alliance.Items.Amount.Ratio = 100
AuctionHouseBot.Horde.Items.Amount.Ratio = 100
AuctionHouseBot.Neutral.Items.Amount.Ratio = 150

AuctionHouseBot.Name = "Greedy"
AuctionHouseBot.MinTime = 1
AuctionHouseBot.MaxTime = 72

AuctionHouseBot.Items.Vendor = 1
AuctionHouseBot.Items.Loot = 1
AuctionHouseBot.Items.Misc = 1
AuctionHouseBot.Bind.No = 1
AuctionHouseBot.Bind.Pickup = 1
AuctionHouseBot.Bind.Equip = 1
AuctionHouseBot.Bind.Use = 1
AuctionHouseBot.Bind.Quest = 1
AuctionHouseBot.LockBox.Enabled = 1

AuctionHouseBot.ItemsPerCycle.Boost = 10000
AuctionHouseBot.ItemsPerCycle.Normal = 3000
AuctionHouseBot.BuyPrice.Seller = 1
AuctionHouseBot.BuyPrice.Buyer = 0
AuctionHouseBot.Alliance.Price.Ratio = 200
AuctionHouseBot.Horde.Price.Ratio = 200
AuctionHouseBot.Neutral.Price.Ratio = 400

AuctionHouseBot.Items.ItemLevel.Min = 0
AuctionHouseBot.Items.ItemLevel.Max = 0
AuctionHouseBot.Items.ReqLevel.Min = 0
AuctionHouseBot.Items.ReqLevel.Max = 0
AuctionHouseBot.Items.ReqSkill.Min = 0
AuctionHouseBot.Items.ReqSkill.Max = 0

AuctionHouseBot.Items.Amount.Grey = 0
AuctionHouseBot.Items.Amount.White = 10000
AuctionHouseBot.Items.Amount.Green = 12000
AuctionHouseBot.Items.Amount.Blue = 14000
AuctionHouseBot.Items.Amount.Purple = 14000
AuctionHouseBot.Items.Amount.Orange = 12000
AuctionHouseBot.Items.Amount.Yellow = 10000

AuctionHouseBot.Class.Consumable = 6
AuctionHouseBot.Class.Container = 4
AuctionHouseBot.Class.Weapon = 8
AuctionHouseBot.Class.Gem = 3
AuctionHouseBot.Class.Armor = 8
AuctionHouseBot.Class.Reagent = 1
AuctionHouseBot.Class.Projectile = 2
AuctionHouseBot.Class.TradeGood = 10
AuctionHouseBot.Class.Generic = 1
AuctionHouseBot.Class.Reciepe = 6
AuctionHouseBot.Class.Quiver = 1
AuctionHouseBot.Class.Quest = 1
AuctionHouseBot.Class.Key = 1
AuctionHouseBot.Class.Misc = 5
AuctionHouseBot.Class.Glyph = 3

# Buyer config
AuctionHouseBot.Buyer.Enabled = 1

AuctionHouseBot.Buyer.Alliance.Enabled = 1
AuctionHouseBot.Buyer.Horde.Enabled = 1
AuctionHouseBot.Buyer.Neutral.Enabled = 1

AuctionHouseBot.Buyer.Recheck.Interval = 20

AuctionHouseBot.Buyer.Alliance.Chance.Ratio = 3
AuctionHouseBot.Buyer.Horde.Chance.Ratio = 3
AuctionHouseBot.Buyer.Neutral.Chance.Ratio = 3

hope it will help

Link to comment
Share on other sites

Not sure where patch suggestions should go for AHBot so i hope this is ok

I happened to come across this while adding a bunch of fine tuning filter/restrictions to my implementation of ahbot

in ahbot.conf

AuctionHouseBot.Items.ReqSkill.*

Prevent seller from listing items below/above this skill level

but in code its checking

prototype->RequiredSkill

ItemPrototype.h says "uint32 RequiredSkill; // id from SkillLine.dbc"

I think it should be more like

diff --git a/src/game/AuctionHouseBot/AuctionHouseBot.cpp b/src/game/AuctionHouseBot/AuctionHouseBot.cpp
index ac18504..0c9c68f 100644
--- a/src/game/AuctionHouseBot/AuctionHouseBot.cpp
+++ b/src/game/AuctionHouseBot/AuctionHouseBot.cpp
@@ -845,21 +845,21 @@ bool AHB_Seller::Initialize()
            if ((!isLootItem) && (!isVendorItem))
                continue;
        }
-        if ((prototype->Class==ITEM_CLASS_ARMOR)||(prototype->Class==ITEM_CLASS_WEAPON)||(prototype->Class==ITEM_CLASS_ARMOR))
+        if ((prototype->Class==ITEM_CLASS_ARMOR)||(prototype->Class==ITEM_CLASS_WEAPON))
        {
            if (((sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MIN_ITEM_LEVEL)) > 0) && (prototype->ItemLevel < sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MIN_ITEM_LEVEL))) continue;
            if (((sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MAX_ITEM_LEVEL)) > 0) && (prototype->ItemLevel > sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MAX_ITEM_LEVEL))) continue;
            if (((sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MIN_REQ_LEVEL)) > 0) && (prototype->RequiredLevel < sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MIN_REQ_LEVEL))) continue;
            if (((sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MAX_REQ_LEVEL)) > 0) && (prototype->RequiredLevel > sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MAX_REQ_LEVEL))) continue;
-            if (((sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MIN_SKILL_RANK)) > 0) && (prototype->RequiredSkill < sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MIN_SKILL_RANK))) continue;
-            if (((sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MAX_SKILL_RANK)) > 0) && (prototype->RequiredSkill > sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MAX_SKILL_RANK))) continue;
+            if (((sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MIN_SKILL_RANK)) > 0) && (prototype->RequiredSkillRank < sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MIN_SKILL_RANK))) continue;
+            if (((sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MAX_SKILL_RANK)) > 0) && (prototype->RequiredSkillRank > sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MAX_SKILL_RANK))) continue;
        }
        if ((prototype->Class==ITEM_CLASS_RECIPE)||(prototype->Class==ITEM_CLASS_CONSUMABLE)||(prototype->Class==ITEM_CLASS_PROJECTILE))
        {
            if (((sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MIN_REQ_LEVEL)) > 0) && (prototype->RequiredLevel < sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MIN_REQ_LEVEL))) continue;
            if (((sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MAX_REQ_LEVEL)) > 0) && (prototype->RequiredLevel > sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MAX_REQ_LEVEL))) continue;
-            if (((sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MIN_SKILL_RANK)) > 0) && (prototype->RequiredSkill < sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MIN_SKILL_RANK))) continue;
-            if (((sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MAX_SKILL_RANK)) > 0) && (prototype->RequiredSkill > sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MAX_SKILL_RANK))) continue;
+            if (((sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MIN_SKILL_RANK)) > 0) && (prototype->RequiredSkillRank < sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MIN_SKILL_RANK))) continue;
+            if (((sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MAX_SKILL_RANK)) > 0) && (prototype->RequiredSkillRank > sAHB_BaseConfig.getConfig(CONFIG_UINT32_AHBOT_ITEM_MAX_SKILL_RANK))) continue;
        }
        if ((prototype->Class==ITEM_CLASS_MISC) && (prototype->Flags == 4))
        {
@@ -1565,4 +1565,4 @@ void AuctionHouseBot::Update()
        }
        if (m_OperationSelector >= 5) m_OperationSelector=0; else ++m_OperationSelector;
    }
-}
\\ No newline at end of file
+}

Link to comment
Share on other sites

  • 2 weeks later...

Hey Guys, i need some help here. I'am trying for a long time to get this to work.

Most of the time version conflicts. Maybe i do something wrong in the merge progres..

Is there some where on this forum a a to z guide or something like that can help me.

thx

Link to comment
Share on other sites

  • 3 weeks later...

I have a problem with Auction House bot. My tables are empty I know that I had to source a sql file into the character table to fill the auctionhouse but I can`t find a sql file for Auctionbot. I use Cyberium latest repo.

When I start the server I get this message:

2011-03-30 00:22:13 Loading Auctions...

2011-03-30 00:22:13

2011-03-30 00:22:13

2011-03-30 00:22:13 >> Loaded 0 auction items

2011-03-30 00:22:13

2011-03-30 00:22:13 >> Loaded 0 auctions. DB table `auction` is empty.

2011-03-30 00:22:13 >>> Auctions loaded

I don`t know what I did wrong. I have the ahbot.conf ile in my mangos folder. And auctionbot seller and buyer is enabled. Any body who can help me?

Link to comment
Share on other sites

@Sky1: The sql file is no longer required. Just make sure that your server uses cyberiums patch (1) and that you have the required ahbot.conf file. After starting the server will boost the auctionhouse with items.

Regards

Skirnir

1: I dont know if there's currently a working ahbot patch, I enjoy my spring time away from WoW ;)

Link to comment
Share on other sites

Thank you for your reply Skirnir. I don`t know what I did wrong but I downloaded new_ahbot again and compile it. And it work. I was a bit surprised when I started the server and saw that 12000 items where insert:D Took a couple of min but it work now for me.

Ahbot is for me a must have. I love it.

Link to comment
Share on other sites

  • 1 month later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use