Quantcast
Download
(24 Kb)
Download
Updated: 04-18-20 02:34 AM
Pictures
File Info
Compatibility:
Visions of N'Zoth (8.3.0)
Updated:04-18-20 02:34 AM
Created:03-20-20 08:22 PM
Downloads:553
Favorites:2
MD5:
Categories:Data Broker, Guild Compilations
8.3.0

gmGuildFriends

Version: 830-2020041801
by: gmarco, Wexen

gmGuildFriends

A very simple data broker plugin to show the guild roster and friend lists.

Requires a data broker display like chocolate bar, bazooka, ninjapanel, stat block, titan panel, docking station, buttonbin and more.

If you want the stripped down versions you can check: gmGuild and gmFriends


If you are interested in helping translating, please visit forum:
https://www.wowinterface.com/downloa....html#comments

providing the following entries:

Lua Code:
  1. L["Right-Click"]        = ""
  2. L["Left-Click"]         = ""
  3. L["Middle-Click"]       = ""
  4. L["Show Guild"]         = ""
  5. L["Show Battle.net"]    = ""
  6. L["Show FriendList"]    = ""
  7. L["Show Help"]          = ""
  8. L["Show Guild Message"] = ""
  9. L["Show Player Info"]   = ""
  10. L["Note"]               = ""
  11. L["Officer Note"]       = ""
  12. L["Achievements Points"]= ""
  13. L["Show only playing Battle.net Friends"] = ""


Example in Italian:

Lua Code:
  1. L["Right-Click"]        = "Tasto-Destro"
  2. L["Left-Click"]         = "Tasto-Sinistro"
  3. L["Middle-Click"]       = "Tasto-Centrale"
  4. L["Show Guild"]         = "Mostra gilda"
  5. L["Show Battle.net"]    = "Mostra amici Battle.net"
  6. L["Show FriendList"]    = "Mostra amici"
  7. L["Show Help"]          = "Mostra legenda"
  8. L["Show Guild Message"] = "Mostra messaggio di gilda"
  9. L["Show Player Info"]   = "Mostra informazioni aggiuntive sui giocatori"
  10. L["Note"]               = "Note"
  11. L["Officer Note"]       = "Note del GM"
  12. L["Achievements Points"]= "Punti impresa"
  13. L["Show only playing Battle.net Friends"] = "Mostra solo amici Battle.net in gioco"

Actually it supports for the following locale:
- enUS
- itIT
- deDE. Thanks to icemeph.
- zhTW. Thanks to BNS & EKE.
- zhCN. Thanks to BNS & EKE.

830-2020041801
- make the status icon a little bigger
- now add a + in the status if the players are in group with you (usefull if you want to raid invite :)
- fix the Left mouse click if not in guild

830-2020041301
- changed the saved var name.
- make an hack to prevent playerinfo note overlap
- prevent to click in combat to open guild and friends panel
- if bnet account == character print only ones.

830-2020032601
- add a scrollbar if tooltip is long and limits to: (GetScreenHeight()-100)
- change the layout of LEVEL column

830-2020032501
- Add an option to filter out BNET friends actually not playing (for people with looong friends lists).

This can breaks your config.
Please go in Interface --> Addons --> gmGuildFriends --> Press: "Reset and reloadUI"
This should be enough. If not you have to manual delete the SavedVariable when the game is close.
A message will appear on entering world about this.

- rewrite the layout and the display of bnet friends

830-2020032402
- fix a problem with BNET friends in WoW classic

830-2020032401
- used the justification of libqtip instead of custom code
Thanks to EKE for input on this :)
https://www.wowinterface.com/downloads/fileinfo.php?id=25522#comments


830-2020032205
- Added the player info note sub tip
- Added the option to use it or not
- Added the localization for some new strings

830-2020032204
- Call a GuildRoster() before building the guild tooltip.
- Update all the libs to the latest
- Add the options to hide/show the guild message of the day
This can breaks your config.
Please go in Interface --> Addons --> gmGuildFriends --> Press: "Reset and reloadUI"
This should be enough. If not you have to manual delete the SavedVariable when the game is close.
A message will appear on entering world about this.

830-2020032203
- Fix ToggleGuildFrame() to real toogle :)
- Implement a minimum of options panel to hide/show section (guild/bnet/frame/legenda).
- Used the graphical mouse icons for legenda and prepare an option config: text/graphical

I am thinking also to split guild and friends in 2 ldb for who has lots of guild mates or friends.
It is not our case but may happens :)

830-2020032102
- Fix the display of long guild motd (word wrap at 69 line length).
- Replaced the zhCN localization (my fault, thanks EKE!)

830-2020032101
- first release
Thanks to all you guys in WoWI forum, in special way Vrul and Fizzlemizz for help and patience.
You are fantastic.
https://www.wowinterface.com/forums/showthread.php?p=335396
Optional Files (0)


Archived Files (10)
File Name
Version
Size
Author
Date
830-2020041301
24kB
gmarco
04-13-20 12:10 PM
830-2020032601
23kB
gmarco
03-26-20 07:19 AM
830-2020032501
23kB
gmarco
03-25-20 06:38 AM
830-2020032402
23kB
gmarco
03-24-20 08:21 AM
830-2020032401
22kB
gmarco
03-24-20 03:01 AM
830-2020032205
22kB
gmarco
03-22-20 03:06 PM
830-2020032204
22kB
gmarco
03-22-20 08:23 AM
830-2020032203
22kB
gmarco
03-22-20 05:05 AM
830-2020032102
20kB
gmarco
03-21-20 01:52 AM
830-2020032101
20kB
gmarco
03-20-20 08:22 PM


Post A Reply Comment Options
Unread 05-31-20, 12:21 PM  
latok
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 10
Uploads: 9
Cool, I just do a small change to display the account name in friends with the battle.net colour, and to show the player level and faction for players playing in a classic, since the API allows it, and I like it to see it when looking at my friends.

In the following days, I'll do a PR, but I did it in the gmGuildFriends and I'll replicate the changes based on a fork on your repo that as well will include it on the gmFriends.

I could do later on as well the sorting if you want, I was the one original did it for TukUI so many years ago, but if you are working on it I'll leave it, whatever you prefer.

Many thanks

Originally Posted by gmarco
Originally Posted by latok
Hi gmmarco

Have you tough in having your addon on Github?

I've done some changes and I like to contribute, you could manage that with pull request in github, if that makes sense for you.

Thanks
Hi,

thanks so much for this, and sorry about the late in asnwer but I was really very busy in real life in the last weeks.

I'll sync all the repository on github asap so you can do it.

The url is this:
https://github.com/ggiovannelli/warcraft

I think I can finish the job in the next week.

Thanks so much, really much appreciated.
Report comment to moderator  
Reply With Quote
Unread 05-30-20, 09:02 AM  
gmarco
A Frostmaul Preserver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 290
File comments: 244
Uploads: 42
Originally Posted by latok
Hi gmmarco

Have you tough in having your addon on Github?

I've done some changes and I like to contribute, you could manage that with pull request in github, if that makes sense for you.

Thanks
Hi,

thanks so much for this, and sorry about the late in asnwer but I was really very busy in real life in the last weeks.

I'll sync all the repository on github asap so you can do it.

The url is this:
https://github.com/ggiovannelli/warcraft

I think I can finish the job in the next week.

Thanks so much, really much appreciated.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 05-24-20, 10:06 AM  
latok
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 10
Uploads: 9
Hi gmmarco

Have you tough in having your addon on Github?

I've done some changes and I like to contribute, you could manage that with pull request in github, if that makes sense for you.

Thanks
Report comment to moderator  
Reply With Quote
Unread 04-02-20, 03:57 AM  
EKE
An Aku'mai Servant
 
EKE's Avatar
AddOn Author - Click to view AddOns

Forum posts: 33
File comments: 523
Uploads: 10
try tukui way, will be simple after you build a table

https://git.tukui.org/Tukz/Tukui/-/b.../Guild.lua#L20
__________________
AltzUI Contributor for Feedback ONLY.

My Addon: EKPlates
Last edited by EKE : 04-02-20 at 03:58 AM.
Report comment to moderator  
Reply With Quote
Unread 03-28-20, 10:28 AM  
gmarco
A Frostmaul Preserver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 290
File comments: 244
Uploads: 42
Originally Posted by BNS
Thanks to EKE for your help, I can see it clearly now, and I also thank the author for providing this addon. I have two small suggestions:

1. Can guild members be sorted from top to bottom according to guild rank?
For example, the chairman is at the top and the newcomer is at the bottom. This is a personal habit. I am the chairman, but it is displayed at the bottom every time. A little uncomfortable ...

2.Can my friends be sorted by their location?
Why is there such a suggestion, because sometimes if you want to ask a friend for help, you will first see where he is. If he is in a raid or a dungeon, then he must be busy. If he is in the main city or in the wild, there is a better chance to help. If you can sort by location, it will be clear at a glance.

Thank you everyone! I hope you can take care of yourself and survive this coronavirus epidemic!
I BNS,

for the 1) and 2) points they are similar in concept ... I am thinking in implementing a sort functions for some kinds of parameters like level, zone and name ... but it is not a simple work. I'll take care of this when I have finished updating all my others addons.

I hope to finish soon

Take care.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 03-27-20, 05:41 PM  
BNS
A Kobold Labourer
 
BNS's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 80
Uploads: 1
Thanks to EKE for your help, I can see it clearly now, and I also thank the author for providing this addon. I have two small suggestions:

1. Can guild members be sorted from top to bottom according to guild rank?
For example, the chairman is at the top and the newcomer is at the bottom. This is a personal habit. I am the chairman, but it is displayed at the bottom every time. A little uncomfortable ...

2.Can my friends be sorted by their location?
Why is there such a suggestion, because sometimes if you want to ask a friend for help, you will first see where he is. If he is in a raid or a dungeon, then he must be busy. If he is in the main city or in the wild, there is a better chance to help. If you can sort by location, it will be clear at a glance.

Thank you everyone! I hope you can take care of yourself and survive this coronavirus epidemic!
Report comment to moderator  
Reply With Quote
Unread 03-26-20, 10:08 AM  
EKE
An Aku'mai Servant
 
EKE's Avatar
AddOn Author - Click to view AddOns

Forum posts: 33
File comments: 523
Uploads: 10
Originally Posted by gmarco
Everyday you teach me something new
I really have a lot to study )

Thanks so much.
QTip simulate(or pretend? not sure how to describe it) by frame so can simply solve this request by add a feature to scale tooltip, or create a font style and use tooltip:SetFont()

locale gmFont1 = CreateFont("gmFontTitle")
gmFont:SetFont(GameTooltipText:GetFont(), 24) -- or config it

locale gmFont2 = CreateFont("gmFontTip")
gmFont:SetFont(GameTooltipText:GetFont(), 18) -- or config it

tooltip:SetHeaderFont(gmFont1)
tooltip:SetFont(gmFont2)
__________________
AltzUI Contributor for Feedback ONLY.

My Addon: EKPlates
Last edited by EKE : 03-26-20 at 10:23 AM.
Report comment to moderator  
Reply With Quote
Unread 03-26-20, 09:31 AM  
gmarco
A Frostmaul Preserver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 290
File comments: 244
Uploads: 42
Originally Posted by EKE
Originally Posted by BNS
By the way, I'm an over 50 year old player. If you can add the zoom function (Enlarge text), this is perfect! thank you very much !
QTip是用frame偽裝成tooltip的
你在 local tooltip = LibQTip:Acquire ....(以下略) 這一行的下一行
加一句
tooltip:SetScale(1.2)
看能不能運作
Everyday you teach me something new
I really have a lot to study )

Thanks so much.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 03-26-20, 08:24 AM  
EKE
An Aku'mai Servant
 
EKE's Avatar
AddOn Author - Click to view AddOns

Forum posts: 33
File comments: 523
Uploads: 10
Originally Posted by BNS
By the way, I'm an over 50 year old player. If you can add the zoom function (Enlarge text), this is perfect! thank you very much !
QTip是用frame偽裝成tooltip的
你在 local tooltip = LibQTip:Acquire ....(以下略) 這一行的下一行
加一句
tooltip:SetScale(1.2)
看能不能運作

------

我試過了沒問題
__________________
AltzUI Contributor for Feedback ONLY.

My Addon: EKPlates
Last edited by EKE : 03-26-20 at 10:04 AM.
Report comment to moderator  
Reply With Quote
Unread 03-26-20, 06:47 AM  
gmarco
A Frostmaul Preserver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 290
File comments: 244
Uploads: 42
My fault, I did nít see it clearly. After deleting the WTF log file, everything is normal now.
By the way, I'm an over 50 year old player. If you can add the zoom function (Enlarge text), this is perfect! thank you very much !
I was born in 1967 so probably we have the same years my friend
It is difficult to have a button to enlarge text ... probably it is easier to change fonts with a bigger one

Have you tried one of the addons that do this kind of this thing ?
I have written one of them for example sometime ago
https://www.wowinterface.com/downloa...4-gmFonts.html

And/Or you can install a shared media addon with a font you like and gmFonts can manage it for you.

Using: Noto Sans Bold



Using: Verdana Bold


Using: AD Mono


... and so on ...

Please let me know.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 03-26-20 at 06:55 AM.
Report comment to moderator  
Reply With Quote
Unread 03-26-20, 02:27 AM  
BNS
A Kobold Labourer
 
BNS's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 80
Uploads: 1
Originally Posted by gmarco
Originally Posted by BNS
New errors when using the latest version:
(I have added a line in line 476 like you said, I tried deleting that line to revert to the original, but I still get this error)
Hi,

Everytime I add a new preferences I change the SavedVariable. And when you login it triggers an error. I have to think about it.

For this I have written in the main page of the addon:



and in the change logs:

Lua Code:
  1. 830-2020032501
  2. - Add an option to filter out BNET friends actually not playing (for people with looong friends lists).
  3.  
  4. This can breaks your config.
  5. Please go in Interface --> Addons --> gmGuildFriends --> Press: "Reset and reloadUI"
  6. This should be enough. If not you have to manual delete the SavedVariable when the game is close.
  7. A message will appear on entering world about this.
  8.  
  9. - rewrite the layout and the display of bnet friends

If this not fixes it I think you should manual delete the WTF.

You should not get any errors at all .
My all guild is using it without any errors )

Please let me know.
My fault, I did nít see it clearly. After deleting the WTF log file, everything is normal now.
By the way, I'm an over 50 year old player. If you can add the zoom function (Enlarge text), this is perfect! thank you very much !
Report comment to moderator  
Reply With Quote
Unread 03-26-20, 12:08 AM  
gmarco
A Frostmaul Preserver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 290
File comments: 244
Uploads: 42
Originally Posted by BNS
New errors when using the latest version:
(I have added a line in line 476 like you said, I tried deleting that line to revert to the original, but I still get this error)
Hi,

Everytime I add a new preferences I change the SavedVariable. And when you login it triggers an error. I have to think about it.

For this I have written in the main page of the addon:



and in the change logs:

Lua Code:
  1. 830-2020032501
  2. - Add an option to filter out BNET friends actually not playing (for people with looong friends lists).
  3.  
  4. This can breaks your config.
  5. Please go in Interface --> Addons --> gmGuildFriends --> Press: "Reset and reloadUI"
  6. This should be enough. If not you have to manual delete the SavedVariable when the game is close.
  7. A message will appear on entering world about this.
  8.  
  9. - rewrite the layout and the display of bnet friends

If this not fixes it I think you should manual delete the WTF.

You should not get any errors at all .
My all guild is using it without any errors )

Please let me know.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 03-25-20, 08:44 PM  
BNS
A Kobold Labourer
 
BNS's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 80
Uploads: 1
New errors when using the latest version:
(I have added a line in line 476 like you said, I tried deleting that line to revert to the original, but I still get this error)
Code:
3x gmGuildFriends\core.lua:310: attempt to index field '?' (a nil value)
[string "@gmGuildFriends\core.lua"]:310: in function <gmGuildFriends\core.lua:158>
[string "@gmGuildFriends\core.lua"]:506: in function `OnEnter'
[string "@Bazooka\Bazooka-v2.9.5.lua"]:1583: in function `showTip'
[string "@Bazooka\Bazooka-v2.9.5.lua"]:1388: in function <Bazooka\Bazooka.lua:1379>

Locals:
self = BazookaPlugin_gmGuildFriends {
 0 = <userdata>
 tooltip = <unnamed> {
 }
 bzkPlugin = <table> {
 }
}
row = 19
col = 2
tooltip = <unnamed> {
 0 = <userdata>
 lines = <table> {
 }
 OnRelease = <function> defined @gmGuildFriends\core.lua:147
 headerFont = GameTooltipHeaderText {
 }
 cell_margin_v = 3
 scrollFrame = <unnamed> {
 }
 columns = <table> {
 }
 scrollChild = <unnamed> {
 }
 colspans = <table> {
 }
 width = 358.999987
 cell_margin_h = 6
 labelProvider = <table> {
 }
 autoHideTimerFrame = <unnamed> {
 }
 height = 190.000001
 regularFont = GameTooltipText {
 }
 OnLeave = <function> defined @gmGuildFriends\core.lua:152
 key = "gmGuildFriendstip"
}
numBNetTotal = 195
numBNetOnline = 83
numBNetFavorite = 0
numBNetFavoriteOnline = 0
numBNetTotal = 195
numBNetOnline = 83
numBNetFavorite = 0
numBNetFavoriteOnline = 0
(for index) = 1
(for limit) = 195
(for step) = 1
i = 1
accountInfo = <table> {
 isFriend = true
 isDND = false
 isFavorite = false
 gameAccountInfo = <table> {
 }
 accountName = "|Kq66|k"
 battleTag = "Akira#41785"
 note = ""
 rafLinkType = 0
 bnetAccountID = 4
 appearOffline = false
 customMessage = ""
 lastOnlineTime = 1585189242
 customMessageTime = 0
 isAFK = false
 isBattleTagFriend = true
}
bnetAccID = nil
account = "|Kq66|k"
btag = "Akira#41785"
isAFK = "Akira#41785"
isDND = false
isOnline = true
client = "WoW"
character = "Dinin"
timestamp = "26.03.20 10:20:42"
class = "德魯伊"
richPresence = "心之室 - 尖石"
wowProjectID = 1
isGameBusy = false
isGameAFK = false
level = 120
factionName = "Horde"
(*temporary) = nil
(*temporary) = ""
(*temporary) = GameTooltipText {
 0 = <userdata>
}
(*temporary) = "LEFT"
(*temporary) = 1
(*temporary) = <table> {
 cells = <table> {
 }
 cellMetatable = <table> {
 }
 cellPrototype = <table> {
 }
 heap = <table> {
 }
}
(*temporary) = <unnamed> {
 cells = <table> {
 }
 height = 1.000000
 0 = <userdata>
}
(*temporary) = <table> {
 1 = <unnamed> {
 }
}
(*temporary) = <unnamed> {
 0 = <userdata>
 _paddingL = 0
 _provider = <table> {
 }
 _paddingR = 0
 _column = 1
 _justification = "LEFT"
 _font = GameTooltipText {
 }
 _line = 19
 _colSpan = 1
 fontString = <unnamed> {
 }
}
(*temporary) = "attempt to index field '?' (a nil value)"
arg = <table> {
 8 = <table> {
 }
 6 = <table> {
 }
 7 = <table> {
 }
}
arg_note = <table> {
}
LibQTip = <table> {
 activeTooltips = <table> {
 }
 LabelPrototype = <table> {
 }
 tooltipHeap = <table> {
 }
 cellPrototype = <table> {
 }
 tableHeap = <table> {
 }
 providerMetatable = <table> {
 }
 providerPrototype = <table> {
 }
 onReleaseHandlers = <table> {
 }
 LabelProvider = <table> {
 }
 tipMetatable = <table> {
 }
 frameHeap = <table> {
 }
 IterateTooltips = <function> defined @BattlePetCount\Libs\LibQTip-1.0\LibQTip-1.0.lua:161
 CreateCellProvider = <function> defined @BattlePetCount\Libs\LibQTip-1.0\LibQTip-1.0.lua:258
 layoutCleaner = <unnamed> {
 }
 tipPrototype = <table> {
 }
 IsAcquired = <function> defined @BattlePetCount\Libs\LibQTip-1.0\LibQTip-1.0.lua:153
 Release = <function> defined @BattlePetCount\Libs\LibQTip-1.0\LibQTip-1.0.lua:142
 Acquire = <function> defined @BattlePetCount\Libs\LibQTip-1.0\LibQTip-1.0.lua:117
 cellMetatable = <table> {
 }
 frameMetatable = <table> {
 }
}
ADDON = "gmGuildFriends"
OnRelease = <function> defined @gmGuildFriends\core.lua:147
OnLeave = <function> defined @gmGuildFriends\core.lua:152
StatusIcon = ""
AwayIcon = "|TFriendsFrame\StatusIcon-Away:12:12:0:0:16:16:0:16:0:16|t "
DnDIcon = "|TFriendsFrame\StatusIcon-DnD:12:12:0:0:16:16:0:16:0:16|t "
classcolor = <function> defined @gmGuildFriends\core.lua:55
Button_OnClick = <function> defined @gmGuildFriends\core.lua:122
ShowNote = <function> defined @gmGuildFriends\core.lua:89
string_format = <function> defined =[C]:-1
bnet_color = <table> {
 GetRGB = <function> defined @SharedXML\Util.lua:726
 OnLoad = <function>
Last edited by BNS : 03-25-20 at 08:57 PM.
Report comment to moderator  
Reply With Quote
Unread 03-25-20, 08:45 AM  
EKE
An Aku'mai Servant
 
EKE's Avatar
AddOn Author - Click to view AddOns

Forum posts: 33
File comments: 523
Uploads: 10
Originally Posted by gmarco
Originally Posted by EKE
maybe you can use scroll function by QTip to limit max height

Ahhh what should be a simple addons of 10 rows now is begin to become a so big things ...

I really dont know it never exists the height param in libqtip.

Time to go to study I have some spare time in this period
Any samples or code snippet to read ?

Thanks so much
:UpdateScrolling(maxheight)
just check api docs
https://www.wowace.com/projects/libq.../api-reference

i force it at 800
__________________
AltzUI Contributor for Feedback ONLY.

My Addon: EKPlates
Report comment to moderator  
Reply With Quote
Unread 03-25-20, 07:26 AM  
gmarco
A Frostmaul Preserver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 290
File comments: 244
Uploads: 42
Originally Posted by BNS
It would be perfect if the friend list could scroll up and down, the problem is solved. :=P
If you wanna try before I push the update, add something like that at line 476:

Lua Code:
  1. tooltip:UpdateScrolling(GetScreenHeight()-100)


So you have something like:

Lua Code:
  1. else
  2.         -- Show the tooltip
  3.         tooltip:UpdateScrolling(GetScreenHeight()-100)
  4.         row,col = tooltip:Show()
  5.     end
  6. end

and lets see if for you is the right size.

Please let me know.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 03-25-20 at 07:26 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: