Poster: Mynid at 7/29/2005 5:22:28 AM PDT Subject: Bug: IsInGuild and GetNumGuildMembers |
| |
I maintain a mod that calls the IsInGuild and GetNumGuildMembers functions on PLAYER_ENTERING_WORLD. Since 1.6, these functions have both returned zero once every few logins when the character is in fact a member of a guild. They usually work fine again when they're called as the UI is being reloaded subsequent to login, but not always. Is this a known issue, and if so, is it slated to be fixed in 1.6.1?
Also, on the off-chance this is seen by a developer, I'd like you to know that the undocumented change in 1.6 to the GuildRoster function broke my mod and caused me some grief. The change in behavior is reflected in FriendsFrame.lua, so it's not as if it was unintended. I'm fine with things being changed, and I actually prefer the new behavior, but this stuff needs to be listed in the patch notes.
| | | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=190509&p=#post190509 | | | Poster: slouken at 7/29/2005 9:18:15 AM PDT Subject: Re: Bug: IsInGuild and GetNumGuildMembers |
| |
Q u o t e: I maintain a mod that calls the IsInGuild and GetNumGuildMembers functions on PLAYER_ENTERING_WORLD. Since 1.6, these functions have both returned zero once every few logins when the character is in fact a member of a guild. They usually work fine again when they're called as the UI is being reloaded subsequent to login, but not always. Is this a known issue, and if so, is it slated to be fixed in 1.6.1?
You need to wait for the GUILD_ROSTER_UPDATE event before the information you're looking for is available.
Q u o t e: Also, on the off-chance this is seen by a developer, I'd like you to know that the undocumented change in 1.6 to the GuildRoster function broke my mod and caused me some grief. The change in behavior is reflected in FriendsFrame.lua, so it's not as if it was unintended. I'm fine with things being changed, and I actually prefer the new behavior, but this stuff needs to be listed in the patch notes.
You'll never see full patch notes on internal UI code changes. I recommend always doing a compare of the differences between old versions of the UI code and the new versions of UI code. We try to keep major changes in the sticky thread on the forum, so people have advance warning of things that may affect their addons.
| | | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=190509&p=#post190666 |
View all recent official Blue Posts
|