Excellent.
It is a learning curve. I've been writing addons since 2008 I think, maybe earlier but there are still areas I haven't even looked at ( including the stuff I needed to write this test addon rofl ) and with Blizzard changing stuff most expansions, it's time to learn again rofl. But, seriously, those links I posted before you will find useful. At least bookmark the wiki.gg link I posted as even us veterans visit it when we need to rofl. |
I add all the topics with my questions to my browser bookmarks. This is a very good forum, with helpful people.
|
Quote:
Option 1) - remove these inscriptions. Option 2) - so that the inscription is correct. Any option suits me. |
It would depend on the reason for failing.
Are the correct items per vendor set up correctly ? Did you investigate and see which ones it didn't purchase ? Did you check to see if there was a miss spell somewhere that meant it couldn't find the item to purchase ? Did you run out of currency to purchase the item ? Finding out why it happened will put you in the direction of identifying what needs to be done. It could be as simple as removing a non existent item, correct a spelling mistake or coding a stop or skip when the required currency is no longer availablw. |
Quote:
For example Lua Code:
|
It should already be ignoring the other items.
Also, looking at your line for BuyMerchantItem - the wiki page doesn't say it returns a value, so it will always be false I suspect. This could be the cause of your problem https://warcraft.wiki.gg/wiki/API_BuyMerchantItem Lua Code:
|
All times are GMT -6. The time now is 08:13 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI