Help Getting Crown Furniture Information
I was able to successfully write a personal add-on to retrieve all the furniture recipes and furniture piece information in the game to create this spreadsheet:
https://docs.google.com/spreadsheets...it?usp=sharing The next stage of the project is to list if a furniture item is purchasable in the crown store and for what amount. I wish code to loop through the items in this interface: I don't even known where to start. Some help please? TIA - Dominoid |
It looks like many crownstore methods are private, so I'd say your best chance is to use
Lua Code:
|
Quote:
|
You could create a slash command in your addon like this for example:
Lua Code:
It will save each entry in a new line in your saved variables file and you can then just use notepad++ to clean it up and save it as a csv. You need to open the market tab in the housing editor once before it will produce any data. |
Works amazing. Thank you. Now I gotta figure out how you did it so I don't ask stupid questions.
|
So after update 2.7.2 on the PTS this is the error I get with the code which worked before. What changed?
Line 45 is Code:
SHARED_FURNITURE:GetMarketProductCategoryTreeData():GetNumEntriesRecursive(function(entry) TIA - Dominoid |
It looks like the function has been renamed to GetNumEntryItemsRecursive. No idea if there are other changes that may prevent it from working. I'll take a closer look in the evening.
|
That was the only change needed thank you. Again.
|
All times are GMT -6. The time now is 10:40 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI