Download
(196Kb)
Download
Updated: 05-05-23 10:55 AM
Pictures
File Info
Compatibility:
Embers of Neltharion (10.1.0)
Updated:05-05-23 10:55 AM
Created:05-06-14 01:37 AM
Downloads:6,728
Favorites:27
MD5:

Frenemy  Popular! (More than 5000 hits)

Version: 10.1.0.1
by: Torhal [More]

A combined Friends List and Guild display. Written in response to SocialState falling into disrepair due to its author no longer playing WoW.

Features

  • Separate sections for WoW friends (both in-game and RealID), Guild members, BattleNet friends in games, and BattleNet friends not in games.
  • Sections are sortable, with indication for which column is being sorted on and whether it's sorted in ascending or descending order.
  • Collapsable tooltip sections.
  • Right-click context menus on RealID or Toon names.

More to come Soon (™).

Frenemy
10.1.0.1 (2023-05-05)
Full Changelog Previous Releases
  • Replace LibQTip-1.0 with LibQTip-2.0 in .pkgmeta and embeds.xml
  • Add whitespace between header and declarations.
  • WoWFriend_OnMouseUp: Make sure 'playerName' is at least an empty string.
  • Update tooltip code for changes to LibQTip-2.0
  • Minor preferences code cleanup.
  • Ignore the Libs directory.
  • Rework tooltip code to use LibQTip-2.0
  • Use the correct texture path for the Note icon.
  • TooltipHandler: Add a CreateSectionHeader helper function.
  • Update ToC Interface to 100100 and add IconTexture entry.
  • Update X-Email in ToC.
Archived Files (4)
File Name
Version
Size
Author
Date
10.0.7.3
211kB
Torhal
04-05-23 12:25 AM
10.0.7.2
211kB
Torhal
03-30-23 08:55 AM
10.0.7.1
234kB
Torhal
03-30-23 12:20 AM
10.0.7.1
210kB
Torhal
03-28-23 01:45 PM


Post A Reply Comment Options
Unread 06-27-23, 03:29 PM  
Zasz
A Kobold Labourer
 
Zasz's Avatar

Forum posts: 0
File comments: 89
Uploads: 0
You ok? Havent heard back from you yet.
Report comment to moderator  
Reply With Quote
Unread 05-15-23, 01:57 AM  
Zasz
A Kobold Labourer
 
Zasz's Avatar

Forum posts: 0
File comments: 89
Uploads: 0
Just out of curiosity, are you looking at bug reports?
Report comment to moderator  
Reply With Quote
Unread 04-13-23, 03:46 PM  
Zasz
A Kobold Labourer
 
Zasz's Avatar

Forum posts: 0
File comments: 89
Uploads: 0
Nvm.
Last edited by Zasz : 04-15-23 at 06:18 AM.
Report comment to moderator  
Reply With Quote
Unread 04-07-23, 06:52 AM  
Zasz
A Kobold Labourer
 
Zasz's Avatar

Forum posts: 0
File comments: 89
Uploads: 0
Thanks for the updates. Still cant play without this.

Any chance to change the display when choosing no text for addons like bazooka? Currently on my bazooka bar I see Friends: 14/33 Guild 10/17". When I switch to "no text" it only displays the dark brown icon infront of "friends". It would look great to have a blue bnet icon replacing friends and a green icon replacing guild.
Report comment to moderator  
Reply With Quote
Unread 11-07-22, 11:18 PM  
Simca
An Aku'mai Servant
 
Simca's Avatar
AddOn Author - Click to view AddOns

Forum posts: 33
File comments: 3
Uploads: 3
To fix the latest version posted on CurseForge for 10.0, make the following changes to the file Frenemy/Frenemy.lua:
  1. On line 146, replace `BNet_GetClientEmbeddedTexture` with `BNet_GetClientEmbeddedAtlas`. The arguments are the same; the function was just renamed.
  2. On line 167 and line 173, replace `RAID_CLASS_COLORS[classToken]` with `C_ClassColor.GetClassColor(classToken)`. I believe this code is sometimes running before the RAID_CLASS_COLORS table is loaded, so this change will help fix that.
  3. After doing those changes, delete lines 76 through 82 and then delete lines 72 through 74. This is needed because most of these values were removed from WoW's interface files - except for WoW itself, App, Client, and Heroes.
The addon should now work fine.

Alternatively, instead of the third step, you could replace lines 68 through 86 with the following code:
Lua Code:
  1. local BNET_CLIENT_MOBILE = "BSAp"
  2. local BNET_CLIENT_SC2 = "S2";
  3. local BNET_CLIENT_D3 = "D3";
  4. local BNET_CLIENT_WTCG = "WTCG";
  5. local BNET_CLIENT_OVERWATCH = "Pro";
  6. local BNET_CLIENT_SC = "S1";
  7. local BNET_CLIENT_DESTINY2 = "DST2";
  8. local BNET_CLIENT_COD = "VIPR";
  9. local BNET_CLIENT_COD_MW = "ODIN";
  10. local BNET_CLIENT_COD_MW2 = "LAZR";
  11. local BNET_CLIENT_COD_BOCW = "ZEUS";
  12. local BNET_CLIENT_WC3 = "W3";
  13. local BNET_CLIENT_ARCADE = "RTRO";
  14. local BNET_CLIENT_CRASH4 = "WLBY";
  15. local BNET_CLIENT_D2 = "OSI";
  16. local BNET_CLIENT_COD_VANGUARD = "FORE";
  17. local BNET_CLIENT_DI = "ANBS";
  18. local BNET_CLIENT_ARCLIGHT = "GRY";
  19.  
  20. local CLIENT_SORT_ORDERS = {
  21.     [_G.BNET_CLIENT_WOW] = 1,
  22.     [BNET_CLIENT_SC2] = 2,
  23.     [BNET_CLIENT_D3] = 3,
  24.     [BNET_CLIENT_WTCG] = 4,
  25.     [_G.BNET_CLIENT_HEROES] = 5,
  26.     [BNET_CLIENT_OVERWATCH] = 6,
  27.     [BNET_CLIENT_SC] = 7,
  28.     [BNET_CLIENT_WC3] = 8,
  29.     [BNET_CLIENT_DESTINY2] = 9,
  30.     [BNET_CLIENT_COD] = 10,
  31.     [BNET_CLIENT_COD_MW] = 11,
  32.     [BNET_CLIENT_COD_MW2] = 12,
  33.     [BNET_CLIENT_COD_BOCW] = 13,
  34.     [BNET_CLIENT_ARCADE] = 14,
  35.     [BNET_CLIENT_CRASH4] = 15,
  36.     [BNET_CLIENT_D2] = 16,
  37.     [BNET_CLIENT_COD_VANGUARD] = 17,
  38.     [BNET_CLIENT_DI] = 18,
  39.     [BNET_CLIENT_ARCLIGHT] = 19,
  40.     [_G.BNET_CLIENT_CLNT] = 20,
  41.     [_G.BNET_CLIENT_APP] = 21,
  42.     [BNET_CLIENT_MOBILE] = 22
  43. }
This maintains the sort order by hardcoding all of the constants that were removed. Either approach works, and as long as you only really care about people playing WoW, it shouldn't matter much.
__________________
Assistant admin for MMO-Champion
WoW database file expert - ask me anything
Last edited by Simca : 11-08-22 at 12:13 PM.
Report comment to moderator  
Reply With Quote
Unread 10-27-22, 05:25 PM  
Zasz
A Kobold Labourer
 
Zasz's Avatar

Forum posts: 0
File comments: 89
Uploads: 0
Can someone please update this? Its very difficult to replace.
Report comment to moderator  
Reply With Quote
Unread 08-09-18, 07:56 AM  
Zasz
A Kobold Labourer
 
Zasz's Avatar

Forum posts: 0
File comments: 89
Uploads: 0
Did todays patch break it? On my bazooka bar I can only see the icon, not the text and it only displays online guild members, no online friends when hovering over the icon.
Report comment to moderator  
Reply With Quote
Unread 07-21-16, 07:17 AM  
Daveo77
Premium Member
 
Daveo77's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 141
File comments: 58
Uploads: 1
This addon has been updated for Legion pre-expansion patch.

Update is on Curse here.
__________________
Last edited by Daveo77 : 07-21-16 at 07:18 AM.
Report comment to moderator  
Reply With Quote
Unread 11-30-14, 10:28 PM  
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1196
File comments: 223
Uploads: 34
Re: Error with SuperVillain UI?

Originally Posted by mgzegz1
I'm having an issue using this with Super Villain UI. I'm not sure if it's conflict or what. On mouse over this is what i'm getting.

1x ...faceFrenemy\Libs\LibQTip-1.0\LibQTip-1.0-43.lua:1374: <unnamed>:SetPoint(): Couldn't find region named 'BOTTOMLEFT'
[C]: in function `SetPoint'
...faceFrenemy\Libs\LibQTip-1.0\LibQTip-1.0-43.lua:1374: in function `SmartAnchorTo'
Frenemy\Frenemy-6.0.3.2.lua:1232: in function <Frenemy\Frenemy.lua:1219>
Frenemy\Frenemy-6.0.3.2.lua:1286: in function `OnEnter'
SVUI\packages\stats\SVStats.lua:625: in function <SVUI\packages\stats\SVStats.lua:623>
I'm going to go out on a limb here and say it's an issue with SuperVillianUI - this is showing a failure to find a screen location with LibQTip-1.0, which has been stable since 2008.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
Report comment to moderator  
Reply With Quote
Unread 11-30-14, 02:18 PM  
mgzegz1
A Defias Bandit

Forum posts: 3
File comments: 2
Uploads: 0
Error with SuperVillain UI?

I'm having an issue using this with Super Villain UI. I'm not sure if it's conflict or what. On mouse over this is what i'm getting.

1x ...faceFrenemy\Libs\LibQTip-1.0\LibQTip-1.0-43.lua:1374: <unnamed>:SetPoint(): Couldn't find region named 'BOTTOMLEFT'
[C]: in function `SetPoint'
...faceFrenemy\Libs\LibQTip-1.0\LibQTip-1.0-43.lua:1374: in function `SmartAnchorTo'
Frenemy\Frenemy-6.0.3.2.lua:1232: in function <Frenemy\Frenemy.lua:1219>
Frenemy\Frenemy-6.0.3.2.lua:1286: in function `OnEnter'
SVUI\packages\stats\SVStats.lua:625: in function <SVUI\packages\stats\SVStats.lua:623>

Locals:
self = <unnamed> {
0 = <userdata>
regularFont = GameTooltipText {
}
columns = <table> {
}
scrollChild = <unnamed> {
}
colspans = <table> {
}
autoHideTimerFrame = <unnamed> {
}
width = 54
headerFont = GameTooltipHeaderText {
}
cell_margin_h = 6
key = "Frenemy"
cell_margin_v = 3
height = 2
labelProvider = <table> {
}
lines = <table> {
}
scrollFrame = <unnamed> {
}
}
frame = StatisticTooltip {
0 = <userdata>
updateTooltip = 0.2
needsReset = true
}
error = <function> defined =[C]:-1
GetTipAnchor = <function> defined @Frenemy\Libs\LibQTip-1.0\LibQTip-1.0.lua:1360
Report comment to moderator  
Reply With Quote
Unread 11-29-14, 09:36 AM  
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1196
File comments: 223
Uploads: 34
Originally Posted by twc
Is there a way to sort the categories? I'd like Guild to be at the top of the tooltip, then Friends, then BN. Thanks.
The 6.0.3.2 version has this capability.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
Report comment to moderator  
Reply With Quote
Unread 11-27-14, 10:26 AM  
twc
A Kobold Labourer

Forum posts: 0
File comments: 49
Uploads: 0
Is there a way to sort the categories? I'd like Guild to be at the top of the tooltip, then Friends, then BN. Thanks.
Report comment to moderator  
Reply With Quote
Unread 09-10-14, 07:16 AM  
Talyrius
An Onyxian Warder
 
Talyrius's Avatar
AddOn Author - Click to view AddOns

Forum posts: 363
File comments: 259
Uploads: 3
I realize you don't consider this feature complete yet and probably had intended to do some of this stuff already, but I figured I'd put together a rather comprehensive list of what I'd like to see. Yes, this isn't my addon, so I have no expectations that you'll do any of this.

Feature requests:
  • Iterate over BNGetNumFriendToons() with BNGetFriendToonInfo() to get information about additional characters/game instances.
  • Alt+click to invite.
  • Shift+click to send a Who request.
  • Ctrl+click to set a note (check CanEditPublicNote() for guild members).
  • Ctrl+right-click to set an officer note if CanEditOfficerNote().
  • Clicking the broker opens the friends frame, so perhaps shift-clicking could be used to open the guild roster?
  • Allow the guild message of the day to be edited when clicked if CanEditMOTD().
  • Add player's broadcast to the bottom of the friends list and allow clicking to edit, similar to the GMotD.
  • Color levels using GetQuestDifficultyColor() instead of basing it off of max level. This will make it easier to see who else is on that is within your level range.
  • Color realm names with faction color.
  • Color zone names: Alliance, Horde, Contested, Sanctuary, Combat, etc..
  • Color guild ranks with a gradient based on their index.
  • Consider giving notes their own columns to allow for more people to fit on the tooltip. Screen width is more abundant in comparison to height.
  • Add a class column populated by class icons for another method of sorting.
  • Add an option to reformat the string used for the broker's text. RealID Toons does something similar. I'd prefer to add the friends and Real ID counts together, as well as use different colors to match the rest of the brokers in my UI. In the meantime, I've changed my local copy as follows:
Lua Code:
  1. function DataObject:UpdateDisplay()
  2.     local output = ("%d |cFF3E819B%s|r"):format(OnlineFriendsCount + OnlineBattleNetCount, _G.FRIENDS)
  3.  
  4.     if _G.IsInGuild() then
  5.         output = ("%s %d |cFF3E819B%s|r"):format(output, OnlineGuildMembersCount, _G.GUILD)
  6.     end
  7.  
  8.     self.text = output
  9. end
Bugs/observations:
  • I can't click on guild members when I first login or reload the UI. However, if I open the guild frame it will begin to work.
  • I can't click character names for Real ID/BattleTag friends. Is this intentional? I haven't checked the code.
  • If you have a character added to your friends list that belongs to a Real ID/BattleTag friend, they appear twice. Why do this? Well, adding characters to your friends list changes the color of the name displayed above their head—making it easier to pick them out in a crowd.
  • There is a colon used in the realm column header, but nowhere else.
Last edited by Talyrius : 09-10-14 at 07:58 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.