-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: No enchanting materials exists on AH #73
Comments
Example 11137 As the bot by default uses SellPrice, it seeing a price of zero might make it not work. https://github.com/georgzoeller/mod-ah-bot/blob/master/src/AuctionHouseBot.cpp#L868 Here we exit if the SellPrice is zero. There needs to be a fallback where it will use the BuyPrice if the SellPrice is zero. |
Aha! I didn't even think of checking the source...! lol.. Well, either one could reprogram it, after all it is C so, I should be able to do it quite easily.. or, more "easy" approach could be to add sell prices to the mats.. sure then you can sell them to a vendor I guess, but I don't really care about that.. Of course, not pure blizzlike behavior, but could get around to having those mats on AH at least, for now.. What's your thought on that? |
I would like to have a fallback, if sellPrice doesn't exist, then use buyprice. |
Agreed, a fallback would be awesome! Or an override field we can add items to such as copper ores, and whatnot. |
When I was researching #74 I noticed that some of these items have buy and sell prices set to 0. So, even falling back won't work. If you set prices, I am interested to see what you set them to. |
Would there be any real downside to changing anything with a price of 0 to a price of 1? That way they should at least populate the auction house and then we can go from there to dial the price in. |
I run this fork With data I exported from my Auctioneer addon data from a bigger server. |
Your code looks much better than what I have been wading through in the main repo. I have only looked through it briefly though, and I don't see the script for your override table. One other suggestion that we've mentioned in here is to fall back to the buy/sell price if the preferred base price is 0. Here is what I implemented yesterday for my tiny (max 3 players) server.
I am still researching the data to come up with a query that will pull items that aren't showing up for an unknown reason. I think there are some loot tables missing items but I am not sure. Edit: I just learned about DBC data and how some of it is in the DBC files and that only overrides are in the DBC tables. Since AH Bot depends on references to item templates being in the database, anything that isn't overridden in the DBC tables is going to be skipped. We might also need an "include" table so we can specify items we want in the AH but the bot can't find in the database. Examples:
|
Found at least part of the problem. Several trade goods are listed in "mod_auctionhousebot_disabled_items" Items I've found so far (with item ID included): Removing these from that table allows them to show up in the auction house. Hopefully this helps others workaround the issue until a proper fix can be done, and hopefully this help the author identify the root cause. |
Current Behaviour
Can't find any enchanting material on AH; Strange Dust, Dream Dust, Greater Magic Essence and so on.. No materials found on AH.
None of these are listed in the DB table "mod_auctionhousebot_disabled_items".
Expected Behaviour
All enchanting materials except the ones specified in DB table "mod_auctionhousebot_disabled_items".
Steps to reproduce the problem
Launch server with AHBot module
Extra Notes
I have set minitems to 140 000 and maxitems to 150 000.
AC rev. hash/commit
AzerothCore rev. 1209d61565cb+ 2023-08-11 22:20:06 +0000 (master branch)
Operating system
Debian 12 x64
Custom changes or Modules
AutoBalance
IndividualProgression
SoloLFG
NPCBots
The text was updated successfully, but these errors were encountered: