A list of friendshipRepIDs?
I went looking through Wowpedia and Wowhead and couldn't find the friendshipRepIDs for factions that are friends. Searching Wowpedia for 'factionid' returned the expected factionIDs, but those are not the same numbers.
The best I could do was this search on WoW.tools with the ID column, but I can't confirm the results. Plus, that is awkward to crawl through if I only want a list. I can write a quick and dirty addon to parse my reputation panel, but I don't have every friend discovered and the results would be incomplete. What I'd like is 'name' = friendshipRepID or even factionID = friendshipRepID. Did I miss something in the online tools? |
Not sure if either of these are of any help...
https://wowpedia.fandom.com/wiki/API...shipReputation https://wowpedia.fandom.com/wiki/API...eputationRanks |
If I build a quick and dirty addon, the first API will be useful. Sadly, the second does not work. https://wowpedia.fandom.com/wiki/API...eputationRanks returns 0, 0, probably because Blizzard added friends that have different maximum ranks.
Garrison bodyguards have 3 ranks, others have 5, some have 6, a few have 7, and the Naz'jatar trio by the campfire have 30, plus a few oddballs in between. I don't actually need the friendshipRepIDs for my main project; knowing those would be convenient. This was more of a curiosity question. |
Quote:
you should be able to loop through 1-5000 for the GetFriendshipReputation function and check if the first return is set, if it is a "friend" then you can call GetFriendshipReputationRanks with that value to get the current and max ranks. just double checked and my code works fine, just call it with the friendid, not the factionid and youll be fine. that api page needs to be fixed. |
Quote:
|
Quote:
To me it looks like both refer to the same ID. Also I could swear it was bugged, and Blizzard fixed it some point in time. Anyway it's a wiki, the point is that anyone can fix wrong documentation... |
Quote:
Quote:
|
Quote:
|
Quote:
|
o_O that explains all the gaps in the factionIDs list. The friends are the "hidden" or "missing" numbers. Suddenly it all makes sense.
Incidentally, with all of your help, I got my ElvUI plugin updated last night without hard-coding maximum ranks. Thank you everybody! :) |
Quote:
Well I'll be fixing https://wowpedia.fandom.com/wiki/API...eputationRanks again because a friendshipID technically only exists in the DB2, I hope you understand now that they are a subset / the same ID |
All times are GMT -6. The time now is 10:24 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI