Jump to content

jsh

Members
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 GBP 

jsh's Achievements

Newbie

Newbie (1/3)

0

Reputation

  1. 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).
×
×
  • 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