Jump to content
  • Auctionhouse bot

    • Status: Completed
      Main Category: Core / Mangos Daemon
      Sub-Category: Auction House
      Version: 21.0 Milestone: 21 Priority: New
      Implemented Version: 21.3

    Auctionhouse bot

    Tried running auctionhouse bot on covenant and the server console shows items were added but the database table for auction does not show any items added.

    Adding items in-game using the .ah command also fails to add items.

    This will need further research.

    User Feedback

    Recommended Comments

    The last part of AuctionBotSeller::LoadItemsQuantity (in src/game/AuctionHouseBot/AuctionHouseBot.cpp) calculates a divisor inside a loop by summing all the item amount config values.

    For me, the values CONFIG_UINT32_AHBOT_CLASS_GEM_AMOUNT and CONFIG_UINT32_AHBOT_CLASS_GENERIC_AMOUNT are not present and therefore uninitialised and have large garbage values. This makes the divisor VERY LARGE and results in zero items being added per class.

    I patched mine locally by removing them from the sum; and also added a check to print out an error if the item amount becomes zero as a result of the divisor (to help find item classes that would never be generated even with valid config values).

    Link to comment
    Share on other sites

    That may be true, but just today while I was troubleshooting the SQL connection issue I increased MySQL's connection count from the default 100 to 1024 and the bot began working. It also fixed the SQL errors completely until the server had been running for an hour. I am still researching it, but for the past year AHBot has been dead. Increasing the connection limit appeared to have fixed it. I will continue this along with the SQL connection research.

    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

  • 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