Ara Broker Guild Friends

A Data Broker plugin that provides 2 blocks: one for guildmates & one for friends. These blocks show informative and interactive clickable tooltips. It's fast and lightweight.

Informations/screenshots are not up-to-date (and it's boring to do ).

It has the following functionalities on entries
- click guildmates or friends to whisp them.
- alt+click guildmates or friends to invite them.
- control+click friends to edit note.
- if you're an officier, you can control+click guildmates to edit their public note, and control+right click to edit officer's note.
- right click guildmates to sort the closest column.
- if you're an officer, you can click the MOTD to edit.
- middle click on friends to remove from friend list.
- control+mousewheel to resize tooltip.

And the following functionalities on blocks
- control+click to toggle hints so you don't have to remember all this crap.
- left click on guild block to toggle guild panel
- right click on guild block to toggle the guild notes column.
- shift+click on guild block to toggle guild name.
- left click on friend block to toggle friend panel.
- shift+right click on blocks to toggle total number of guildmates or friends.
- middle click on friend block to show the "add a friend" dialog box.

It shows
- check marks for grouped guildmates and friends.
- class icon (mainly to provide a column to sort) when not grouped.
- class colored names.
- level colored in grey, green, yellow, orange or red depending of your own level.
- zone colored in green, yellow or red depending of faction.
- public notes (and officer notes for guildmates if you have the rights).
- rank for guildmates.

If you have AddonLoader, the loading of this addon will be delayed.
If you have Skinner, this addon will be automatically skinned.

r70
*Only use lower cpu method for guild menu if "show offline" is not checked, otherwise, use higher cpu method that works if that's turned on.
*Hard code hack shrine colors in so they work correctly (they don't unpack correctly for some unknown reason)

r69
Fix battle.net desktop app support.

r68
Switch to Ambiguate(name, "none") which is just as good as strip code, but cleaner.

r67
Make realm stripping work for more realms.

r66
Fix rare nil error if name isn't returned by GuildRosterInfo()
Improve CPU usage of realm stripping by only stripping online users instead of ALL users in guild every GUILD_ROSTER_UPDATE

r64
5.4.2 now sends realm name in GuildRosterInfo(). Update to strip realm names from players on same realm in your guild.

r62
Update ToC to 50400
Fixed the green in options menus
Maybe other stuff I forgot

r61
If RAID_CLASS_COLORS or CUSTOM_CLASS_COLORS are corrupt (god knows what other mod is messing this up), just disable colors and show white text in broker.r60
More fixes for Battle.net desktop and Hearthstoner59
Add a nil check to avoid some rare errors when contact details are missing.r58
Support for Hearthstone
TOC update to 50300r57
Support for battle.net desktopr56
Now identifies who's mobile AND online from those who are only mobile. (yay for new 5.1 apis for this finally)r55
Reduce the likelyhood of a taint in StaticPopupDialog (glyph and talent UI). Won't actually help much if other mods are running not trying to do same work around.
Bumped ToC to 50100r54
Fixed group checkmarks not appearing when in a party (not raid)r53
Fix Faction Iconsr52
Fix whisper sending to bnet users from broker
Add support to alt click inviting of cross realm realid friends to menu.r51
Fixed packaging which got screwed up since my OS is fubared right now and not zipping things right.r50
Fix error with level 25 guilds in patch 5.x
Removed all 4.x compatability code.r49
Handle the name&surname being merged into one arg in MoP as well so we don't include battletags (as last names) on friends broker. It'll behave as it does on live and work as intended now.r48
- Update apis for broadcast messages and battletags for MoP beta. Friends broker should once again work on beta while continuing to work on live.r47
- Silence some errors while grouped. Checkboxes still only work while in a raid though. party groups don't detect properly.r46
- Now compatible with WoW 5.x

r44
- Fixed a 4.3 issue due to an api change in player status now being returned as number value instead of localized strings.
- Added support for Diablo 3 recognition for RealID/BattleTag friends
- Bumped TOC to 40300 ("load out of date" will no longer be necessary)
- Updated to latest libs.

r40
- Guildmates logged on using the mobile armory application will have a distinctive status.
- Guild XP bar is hidden when guild reaches max level.
- Added an option to display guild XP tooltip when the mouse if over the XP bar (default: off).
- Reworked the XP bar a bit and improved XP number format (thanks to ForeverTheGM).
- Fixed disconnection issues.
- Fixed 4.1 config menu layout.
- Fixed an error that occured when trying to display guild informations that were not yet available (thanks to aorcsik).
- Fixed an issue with a separator incorrectly shown.

r38
- Added guild XP (with an option to turn it off).
- Added an option to hide your own broadcast.
- Added an option to use TipTac skin (requires TipTac).
- Now, when Battle.net doesn't provide toon informations, toons are treated as same realm (meaning you can try to invite them), the name is grayed and the class icon is the WoW one.
- Fixed option "Restore default colors" to instantly apply visual changes.
- Fixed "Notes" and "Rank" color options to correctly apply to first line.

r37
- Fixed battle.net broadcast dialog.
- Fixed click error on guild block when not in guild.
- Fixed a rare bug that could occure while editing colors with opacity slider (background, border, highlight) due to a garbage collected function (or so I think).

r35
- Fixed guild notes not being assigned to the right player.
- Fixed many scrollbar issues (beta guild with 600 members helps).
- Fixed the battle.net feature disabled in parental control to not show the "battle.net unavailable" message.
- Added options to align columns.
- Added options to colors friendly/contested/enemy zones.
- Added an option to restore default colors.
- Added options to highlight sorted column and reworked that feature a bit.
- Changed initial level sort (first right-click) to display in hi-lo order.
- Took advantage of the new MOTD editor and config menu.
- Code improvements and various tweak.

r34
- Fixed sort order by rank (it was using alphabetical rank instead of rank index).
- Fixed friend status to correctly show away/busy.
- Changed highlight to gradually blend with background (indicating an ascending or descending order). You may have to adjust the opacity to a higher value.

r33
- Added multi-level custom sort order (no config menu and not implemented for real friends). Set level 1 with RightClick, level 2 with Shift+RightClick, and level 3 with Alt+RightClick. Sort the same column to toggle ascending/descending order.
- Added an option to highlight the level 1 column. You can also edit the highlight color.
- Separated Hints and Block Hints visibility option (Block Hints set to visible by default).
- Added options to filter hints, so you can display only forgettable ones. You can still uncheck the top level entry to turn everything off.
- Fixed the guild/friend total number options.
- Removed column labels entirely.
- Undocumented r32 change: friend/guild notes are now handled separatly (ie. you can show friend notes and hide guild notes).

r32
- Fixed some dis/connexion issues with real friends.
- Changed real friend layout to one line.
- Changed friend's broadcast to show, if present, on an extra line (ellipsis if too long).
- Only show real friend's server if different.
- Added options to control how you want the real name to appear: before toon/nickname, after, instead of, or not at all.
- Added options to control how you want the status: class colored text, custom colored text or icon.
- Added an option to change the status color when displayed as text.
- Added an option to show/hide class icons of ungrouped people when you are grouped (shows by default).
- Added an option to show/hide friend notes.
- Changed own broadcast to only show if you have real friends (connected or not).
- Fixed compatibility with Skinner.
- Fixed the color picker to correctly cancel changes.

r29
- Updated LDB 1.1 from revision 3 to 4 (everything's fine, I'm just 2 years late xD).
- Fixed the "larger than usual" columns. I was taking the hidden titles into account.
- Fixed an issue where guildmates were shown instead of friends.
- Fixed colors being different between the first real friend and the second+. However, colors are still not set (it's the default, kind of ugly, yellow).

r26 (beta)
- Several battle net fixes.
- Fixed an old issue where it was showing "Hints [Block]" while the mouse was not on the block.
- Fixed scrollbar position.
- Fixed panel size when there's only real friends (not field tested).

r22
- Removed localization file, now using LOCALIZED_CLASS_NAMES_MALE and LOCALIZED_CLASS_NAMES_FEMALE global tables (added in WoW 3.2). Delete the previous folder before extracting this version or you will end up with a dead file.
- Fixed a rare and weird issue (hopefully).

r21
- Added Control+MouseWheel to resize tooltip (experimental).
- Optimized implementation of the scrollbar: move lines instead of redrawing the entire tooltip.
- Fixed a possible appearance of the scrollbar when it is not wanted.
- Changed the maximum number of entries shown to something adapted to your UI scale and options.

r20
- Added a scrollbar for large guilds and/or friendlist. Use the mousewheel anywhere on the tooltip to scroll easily. (Credit goes to Tekkub for his "FauxScrollFrame" implementation ;))

r16
- Added tooltip with hints. Ctrl+Click a block to toggle hints.
- Added friend block shortcuts to add a friend.
- Added a MiddleClick shortcut on friend entries to remove a friend.
- Added a Shift+RightClick shortcut on blocks to toggle the total number of guildmates or friends.

r15
- Enhanced friend list refresh. Before, it was only refreshing on online/offline events. Now, it will also make sure to refresh at least once every 15 sec. That way, friends location is more accurate.

r14
- Fixed the possible leading space to the right of the tooltip when in group.
- Fixed the ruRU translation of Death Knight.
- Changed how to inherit fonts. Font addons will be able to dynamically modify them.

r11
- Fixed a bug that was raising the tooltip when the MOTD was edited.
- Added class localizations for friend list coloring.
- Removed class icons when grouped, so check marks are next to names for better quick views.

r10
- Fixed an error introduced with r9 that was checking everything when grouped.

r7
- Fixed the tooltip scale issue (r6 received only half of the fix and an internal version the other half...)
- Fixed an annoying issue that was causing ellipsis "..." on some entries.
- Removed use of Blizzard's tooltip (now use mine exclusively).

r6
- Fixed the tooltip scale issue.

r5
- Fixed a nil error occuring when guild data is not ready (but still can't get the data sometimes when first loading).
- Fixed the inverted class order on reloadui.
- Added a toggle to show/hide the guild name (Shift+Click the guild block).
- Added an officer's functionality: Control+RightClick to edit officer's note.
- Added (very) limited in-combat use: shows a snapshot of the previous accessed list.
- Added records to save sorted column/order between session.
- Extended the greyed out names of grouped guildmates to friends.
- Removed the label/value support (no more needed).

r4
- Fixed an error when entering the friend block with a non-english client (sorry, no translations added).
- Fixed AddonLoader support (hopefully): block text should be set at load time.
- Added a toggle to show/hide guild notes: any non left mouse click on the guild block will do (right, middle, 4, 5).
- Added a visual effect to distinguish from grouped and ungrouped guildmates: those in your group are coloured in grey.
- Added Skinner support.

r3
- FIXED A BIG REFRESH ISSUE. It should be smoother and more responsive now.
- Fixed AddonLoader support in toc file.
- Added a functionality so that an officer can control click a guildmate to edit its public note.
- Added support for "label" (guild name) and "value" (online/total) so that you can manage them separatly in your display (show/hide/etc).
- Added ClearFont support (not tested).
- Changed color of officer note (orange) to distinguish from public note (yellow).
- Changed frame strata to TOOLTIP (from DIALOG).
- Removed the extra space in front of a friend name (GetFriendInfo returns "" for status whereas GetGuildRosterInfo returns nil).

unfortunately ara broker guild/friends is sometimes displaying people in my guild and/or friends list as on remote chat when they are actually in-game playing. it seems to only be the option which allow you to select whether you want an icon, text based on class, or unformatted text (i believe those are the three options).

so it throws me off as i often look at the icon or text if i have that chosen, but if i look further along the line of text to see "where" they are, those that are in fact using remote chat will say "remote chat" and those that aren't will display a location in WoW.

Right now on my bar I see - 3 /23, the number of friends signed into battlenet out of total number of friends. Would it be possible to have an option for the info to show the number of friends actually in-game out of the number signed into battlenet ?

The sorting is still wierd. The notes column doesnt really align neither right nor left and the zone column needs abit more space. A way to sort the players by name or by game would be nice too. Currently there is no real order visible.

It sorts then like actual friends list which is alphabetical but with battle.net app pushed to button. I do not plan on attempting to change this behavior.

I dont mind the app being pushed to the buttom. Sorting by battle.net name isnt really alphabetical because most of the names are not identical to the char names, as you can see in the screenshot. It would be great if it would sort by charname and keep the games together. Or give us the option to sort it either by charname or battle-tag.

The sorting is still wierd. The notes column doesnt really align neither right nor left and the zone column needs abit more space. A way to sort the players by name or by game would be nice too. Currently there is no real order visible.

It sorts them like actual friends list which is alphabetical but with battle.net app pushed to bottom. I do not plan on attempting to change this behavior.

The sorting is still wierd. The notes column doesnt really align neither right nor left and the zone column needs abit more space. A way to sort the players by name or by game would be nice too. Currently there is no real order visible.

You can sort it any way you want. If help tooltips are disabled, turn them back on, the sorting is handled via key combinations and clicking in menu. I don't know combinations off hand.

Sorting descriptions seemed very vague; the sorting effect did not match description. I shift+right clicked third column for example and it wasn't sorted at all. By trial and error I finally figured out that I sort any column simply by hovering over it and right clicking it, regardless of it being first or fourth. BTW tooltip hints don't even mention fourth column . Anyway, the addon seems to be the best one nowadays to deal with battlenet app afking friends, by grouping them separately at the bottom.

edit. I think I found that class icon makes separate column, which I did not realize sooner, hence sorting didn't work out for me. Still, single right clicking each colum does the job well enough alone Thx again for the addon!

Sorting is by holding mod keys down. holding shift or alt when clicking to change which column you are sorting for example. I really don't know all the key combinations off hand. I sorted mine LONG ago and forgot about it. That code is from Ara and since i've never had to change it, I can't really state how all it works without reviewing it.

You can sort it any way you want. If help tooltips are disabled, turn them back on, the sorting is handled via key combinations and clicking in menu. I don't know combinations off hand.

Sorting descriptions seemed very vague; the sorting effect did not match description. I shift+right clicked third column for example and it wasn't sorted at all. By trial and error I finally figured out that I sort any column simply by hovering over it and right clicking it, regardless of it being first or fourth. BTW tooltip hints don't even mention fourth column . Anyway, the addon seems to be the best one nowadays to deal with battlenet app afking friends, by grouping them separately at the bottom.

edit. I think I found that class icon makes separate column, which I did not realize sooner, hence sorting didn't work out for me. Still, single right clicking each colum does the job well enough alone Thx again for the addon!

There's a bug in r69: the guild Broker plugin shows the correct amount of people that are online but when you mouse-over it, it shows different toons than the ones that are actually online.
This behaviour only occurs if "show offline members" is checked in Blizzard's guild menu, otherwise its fine.
I'm using the german client (deDE).

I don't like the old way because in large guilds it wasted a lot of cpu. It literally called GuildRosterInfo() for EVERY SINGLE MEMBER in guild, every single time anyone logged on, or off, or joined guild or left guild, or you moused over menu. hundreds and hundreds of calls on every single guild member to pull toon info, online status etc, to update menu.. I changed it to count how many are online and then only pull info on them. Although it's probably a blizzard bug it returns offline members in the top index. it should always return online members for 1 - numonline. apparently it only doesn't. :\..

EDIT: I uploaded r70 so it will check what that preference is set to and use low cpu method if it's unchecked and high cpu method if it is, so broker works correctly in both cases.