Thread Tools Display Modes
07-12-15, 01:41 AM   #1
HonorGoG
An Aku'mai Servant
 
HonorGoG's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2008
Posts: 33
API Problem

I think Blizzard broke some of the reputation functions with the 6.2 patch. Can someone please try the following in-game and let me if you see the same problem.

/dump GetFriendshipReputationRanks(1273)

This is for Jogu the Drunk (I used his FactionID because I memorized it) and it's returning 0, 0 which is completely wrong.

Thanks.
  Reply With Quote
07-12-15, 02:06 AM   #2
Jarod24
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Jul 2012
Posts: 66
Yes, seems its broken.
It also returns 0,0 for a WOD bodyguard (Defender Illona).

My solution to this is to call GetFriendshipReputation() (notice the subtle name difference of the function). If it returns nil; it's a regular faction (Ogrimmar, Ironforge etc).
If it returns any values then its a friend/bodyguard.
__________________
Author of IfThen, Links in Chat

Last edited by Jarod24 : 07-12-15 at 02:43 AM.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » API Problem

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off