Poster: Mandingo at 6/3/2005 12:13:52 PM PDT Subject: Help with using GuildRoster() |
| |
I've recently been working on a plugin for the Titan Panel (http://www.wowwiki.com/Titan_Panel) which will be a "instant messenger" of sorts for online guildmates.
The documented issue with GuildRoster() (http://www.wowwiki.com/API_GuildRoster) is its GUILD_ROSTER_SHOW event that kicks when it actually runs. It's obvious it GuildRoster() was not intended to be used external from the accompanying frame. --oddly enough this restriction doesn't seem to exist with ShowFriends()--
So why bother? Well, I think it would be a neat plugin for the Titan panel, and I figure there is an elegant way to deal with window popping as well as the fact the GuildRoster(), when called, will only actually refresh your cache if you haven't requested an updated in the last ~10 seconds.
I've seen several attempts with various mods to deal with this refresh issue, as well as window-opening connection. The all have their interesting take on the problem and quirks.
My goal is to be able to periodically update the roster cache, and supress the window opening and noise. Ideally, if the player is opening the Friends Frame normally, it would behave as is (play the notable "window open" sound). If the player is currently working with frames, that would be affected by a friends frame popping, then I'll skip the refresh activity until they are "idle". (i.e. not reading mail, not in the AH, etc.)
Any suggestions/ideas from fellow addon crafters are appreciated.
You can find Titan Guild at http://ui.worldofwar.net/ui.php?id=801
chicogrande @ ui.worldofwar.net and Curse
| | | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=149747&p=#post149747 | | | Poster: slouken at 6/3/2005 9:00:17 PM PDT Subject: Re: Help with using GuildRoster() |
| |
Actually, I changed this in 1.6, for something else I was working on. As of 1.6, there is no longer a show event, and you can call GuildRoster() to refresh the guild info. However, I don't suggest you do it often, as the bandwidth for the guild listing is pretty high.
| | | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=149747&p=#post150042 | Poster: slouken at 6/4/2005 9:01:11 AM PDT Subject: Re: Help with using GuildRoster() |
| |
*laugh* That's what I was adding for 1.6
| | | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=149747&p=#post150301 | Poster: slouken at 6/4/2005 5:31:49 PM PDT Subject: Re: Help with using GuildRoster() |
| |
Q u o t e: I thought he meant the 30-second throttling, though auto-completion of guild members for the standard UI would be pretty cool!
Yes, I added auto-completion of guild members to the send mail interface.
Q u o t e:
Slouken: You're probably super busy, but if you were to look through my MozzTweaks addon, it contains a bunch of small, self-contained modifications to the standard UI (bug fixes, or minor usability tweaks). If any of those interest you, could you add them to the standard UI? For example, the "buy slot" buttons in the Bank and Stable frames should pop up a confirmation dialog, since they are rare, irreversible, potentially costly actions.
If I get some time I'll take a look and submit the ideas to the designers.[ post edited by slouken ]
| | | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=149747&p=#post150530 |
View all recent official Blue Posts
|