Guild Mains
This addon shows you the name of the main character when one of your guildmates chats using a known alt. This is done by scanning the guild roster, looking for the name of a main in the player note of an alt. Many guilds already do this just as a matter of record keeping, so this addon works right out of the box (or out of the zip file I guess!)
The names show up in parenthesis after their alts name like this:
[Bravehearth (Pitchifus)] whispers: Hey, is the download ready yet?
Also, achievement and logon/off messages are displayed like this:
Bravehearth (Pitchifus) has earned the achievement [Home Alone]
and
[Bravehearth (Pitchifus)] has come online
Finally, it also extends the /who command so that if you do a /who on someone's main and they're not online but they are online on an alt, you'll see a message like this:
/who Pitchifus Pitchifus is online on [Bravehearth] 0 players found
It was designed using the default chat UI and compatibility with custom chat windows is not tested. I'm confident that the achievement and logon/off message will work with any chat addon, but the feature of showing mains in communication messages (whisper, say, guild, etc.) may or may not work with other chat addons depending on their design. Please file a CurseForge ticket if you find a chat addon that doesn't appear to work and I can try to make it compatible.
Basically it works fine, but unfortunatly it makes my WoW client hang when whispering to a guild member. Had to remove it.
Does this use LibAlts?
https://mods.curse.com/addons/wow/libalts-1-0
This has been a favorite addon of mine, and our guild has been using it for a long time now. I was sad to see it break around December last year. Sad enough to try and learn enough LUA to fix it, and so now I "maintain" a working version for my guild.
I just saw the posts from others who miss this addon, and I'm happy to share what edits I made to get the addon to work for me again. I tried a few attempts at posting the code here in the comments, but the comment system messes up the indentation entirely.
Instead, if you are interested, just send me a PM on this forum, and I could send you the updated addon files.
Hi corann, I canceled my WoW account late last year and don't plan on re-activating it until the next expansion. I found your original post with the code and have reformatted it below so people who want to try to patch it themselves can follow your directions. I'll work on making those changes (or something similar, I may try to make MC2GuildLib compatible with the fully-qualified names instead) and will post an update when I do so that people can try it out to see if it works. No promises, at least not before the xpack.
Edit: nevermind about the code -- Curse formats it just fine in the editor and then craps it out for the display as a big mess.
Edit 2: I put your changes into a ticket on the Curseforge site. If anyone needs to refer to it they can follow the Project Site link in the addon info at the top of this page.
Hey Mundocani, thank you for the quick reply. I hope the edits will be useful, but who knows what may still change by the time of the new xpack. For me, for now, it was a fun excuse to learn a bit more about LUA, seems remarkably similar to Python actually.
Yup ;-)
Great idea, thank you. For anyone interested, here is a direct link to the ticket: http://wow.curseforge.com/addons/guildmains/tickets/3-fix-for-mcguild-lib2-from-corann/
Also still happy to send the files if people PM me for them.
I had just started using the mod and love it dearly and then a few days later a patch and it no longer works. Would really like to see it work again someday. Thanks you for making this.
Please update this
Hi there! Love this addon but it stopped working for me. I wondered if it's still being updated? Thanks for such a wonderful tool!
guild mains is given a lot fo errors about updating party and pet info
+++++++++++++++++++++++++++++
2x [ADDON_ACTION_BLOCKED] AddOn "GuildMains" tried to call the protected function "PartyMemberFrame2:Show()".
!BugGrabber-r188\BugGrabber.lua:587: in function <!BugGrabber\BugGrabber.lua:587>
<in C code>
FrameXML\PartyMemberFrame.lua:122: in function "PartyMemberFrame_UpdateMember"
FrameXML\PartyMemberFrame.lua:346: in function "PartyMemberFrame_OnEvent"
<string>:"*:OnEvent":1: in function "OnEvent"
FrameXML\UnitFrame.lua:490: in function <FrameXML\UnitFrame.lua:488>
Locals:
nil
+++++++++++++++++++++++++++++
3x [ADDON_ACTION_BLOCKED] AddOn "GuildMains" tried to call the protected function "PartyMemberFrame2PetFrame:SetPoint()".
!BugGrabber-r188\BugGrabber.lua:587: in function <!BugGrabber\BugGrabber.lua:587>
<in C code>
FrameXML\PartyMemberFrame.lua:158: in function "PartyMemberFrame_UpdatePet"
FrameXML\PartyMemberFrame.lua:381: in function "PartyMemberFrame_OnEvent"
<string>:"*:OnEvent":1: in function "OnEvent"
FrameXML\UnitFrame.lua:490: in function <FrameXML\UnitFrame.lua:488>
Locals:
nil
++++++++++++++++++++++++++++++++
Would it be possible to add Real ID names if they are your real id friend?
Cross server between guilds it gets confusing
Does not to work with Prat :S
I was wondering if it was possible to have it search the Officer note first if that option is enabled; we use EPGP which always has the Main in the officer field, but some players have got other alt's names in their "player notes", so sometimes it doesn't display the correct toon name.
Previously, my guild used an addon created by a former member which was called "GuildPal" (http://www.toolness.com/wp/?page_id=14). It didn't put the names in-line for text, but did do login and log off announcements. We loved it, but it broke with 4.0.1, and the developer no longer plays WoW (I think).
While I totally dig guild mains, one feature his addon had that yours didn't was the ability to search the roster -- including logged off guildies -- and find all their toons, exporting them to the main chat window. This is the "/gwhoall" feature in his addon.
If yours had that, it would be 100% awesome. Any chance of having it added in?
http://mareyn.perenolde.googlepages.com/GuildPal-0.6.zip
I've done some dev work, but I just don't have time for it any more. I leave that stuff to you guys. Thanks for your work on this project. :)
* BUGFIX: Fixed bug causing "report spam" option to be missing from chat messages