Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(5 Kb)
Download
Updated: 10-15-10 03:32 PM
Pictures
File Info
Updated:10-15-10 03:32 PM
Created:06-12-09 02:13 PM
Downloads:1,373
Favorites:2
MD5:
SolidarityAlts
Version: 0.5.0
by: Ugmar [More]
SolidarityAlts 0.5.0

Is your guild a very alt-friendly guild? Is it hard to keep track of which alts belong to which mains? Then maybe SolidarityAlts might be something for your guild.

To achieve this you will need the help of the officers / guildmasters of your guild. By reading the guild public note for a player the addon searches for the pattern "Main: xxxxx" where xxxx is the name of the Main character for this alt. If it can match the pattern it will hook into chat functions and add the main's name before the actual message.

Example:
The main character "Mymain" has an alt called "Alty". The "Alty" character will have the guild public note set to "Main: Mymain". The addon then presents this information when this person chats with you.
Before addon (example)
[Guild][Alty]: Good morning!
After addon (example)
[Guild][Alty]: (Mymain) Good morning!

Using the configuration (accesible in the Interface->Addon tab) you can change the prefix and postfix to anything you like, so you can change it to
[Guild][Alty]: -->Mymain<-- Good morning!

Channels to "Hook":
  • Whispers
  • Guild
  • Party
  • Raid
  • Officer
You may select them as you like.

By using the blizzard chat filters, this addon should be compatible with other chat addons that respects the those filters.

Installation is simple. Just extract the zip file to your addon folder.
Version 0.5.0
- Updated for patch 4.0.1
version 0.4.2
- Added support for /officer chat
- Fixed a bug in 3.2.2: Blizzard have at some point made it possible to color authors of chat messages according to their class.
This was added as an additional argument to chat filters, and since I previously used a fixed ammount of arguments it wasn't
passed correctly. Now its using ... so I hope future surprises will be handled automagicly =)

version 0.4.1
-Updated ToC for 3.2

version 0.4
- Fixed bug which would reset the prefix and postfix if you clicked OK in the addon configuration tab without opening the setting for solidarityalts
- Default value for hooking raid/guild/whisper/party is set to true (so its activated on install)

Version 0.3
- Updated ToC to 31000
- Fixed for 3.1
- Added configuration for prefix and postfix of the main characters Name


Version 0.2
- Added a "status" command using /solidarityalts
This displays the current memory usage and size of cache
- Added configuration accessable through the Blizzard "Interface Options"
(Game menu -> "Interface" -> Addon tab -> SolidarityAlts)
This allows you to control which channels you wish to "hook" SolidarityAlts on.
Available choices are Guild, Whispers, Raid and Party. This configuration is accountwide
- Added saved variables file, this is shared accross characters on the same account.
- Added session based caching of guildnames
Why parse the players public guildnote EVERY TIME they something in a monitered channel?
I added a Sessionwide cache in a table to keep track of this. Although im unfamiliar with the perfomance
of tables im quite sure it is better than to iterate through all online members and then regex the speaker
to check if he/she has a note stating him/her to be an alt. Nope, do it once and then cache the result.
Since these values can change over time it is wiped every time you relog

Known bugs.
- Even if raidchat has been selected to be hooked, if the raidleader is an alt, the tag will not be shown for him


Version 0.1
- Initial release
- Retrieves main character based on Public Guild Note using Prefix "Main: "
Archived Files (3)
File Name
Version
Size
Author
Date
0.4.2
5kB
Ugmar
12-06-09 06:19 PM
0.4.1
5kB
Ugmar
08-11-09 12:48 PM
0.4.1
5kB
Ugmar
06-12-09 02:13 PM


Post A Reply Comment Options
Unread 03-10-10, 05:59 PM  
Ugmar
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 6
Uploads: 1
Originally posted by berlinscrub
I havent usedthis mod in a bit...Could someone plz refresh how to set it up?
The public guild note on the alt should be "Main: xxxxx" where xxxx is the name of the main char. after xxxxx you can add more info if you wish as long as it is separated by a space after the main's name.

Also there is some configuration in the escape(or game menu) -> interface -> addons. Here you can select which channels to monitor and also any pre/post-fix you want to use together with the main name

Hope it helps =)
Ugmar is offline Report comment to moderator  
Reply With Quote
Unread 03-09-10, 02:04 PM  
berlinscrub
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I havent usedthis mod in a bit...Could someone plz refresh how to set it up?
berlinscrub is offline Report comment to moderator  
Reply With Quote
Unread 12-07-09, 01:58 PM  
Sec
A Cyclonian
 
Sec's Avatar

Forum posts: 48
File comments: 175
Uploads: 0
Ugmar, thank you for your timely responses and new version of SolidarityAlts. I am now using the addon and have yet to run into any issues. If I do, I will put forth another bug report. I hope I won't have to, though! ^^"
Sec is offline Report comment to moderator  
Reply With Quote
Unread 12-06-09, 06:21 PM  
Ugmar
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 6
Uploads: 1
I've pushed a new release containing the fix and support for /officer. It should be available shortly (0.4.2), please let me know if you experience any further issues.
Ugmar is offline Report comment to moderator  
Reply With Quote
Unread 12-06-09, 05:34 PM  
Ugmar
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 6
Uploads: 1
I've tracked down the issue. Its when you enable Class Colors (rightclick "General"->Settings->Clicky on class color) in the chatframe, that somehow breaks the addon, so a temporary workaround is to disable the class colors for the channels you have SolidarityAlts enabled on while I try and figure out how to fix it =)

Update: I have located the issue and working on a fix (and /officer)
Last edited by Ugmar : 12-06-09 at 05:50 PM.
Ugmar is offline Report comment to moderator  
Reply With Quote
Unread 12-06-09, 04:42 PM  
Ugmar
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 6
Uploads: 1
Originally posted by Sec
The following error occurs as of patch 3.2.2, while SolidarityAlts is the only addon enabled:

[Snipped code]

This happens any time "Alty" (as per your examples) tries to speak in /guild. Alty's message does not show up at all, either.

If you are going to update/fix this addon, please consider adding an option for SolidarityAlts to work with /officer chat too, please.
Aight, I don't know right now what could be causing it, but I'll take a look at it tomorrow. Also I will see if I can get that /officer support in there somewhere too =)
Ugmar is offline Report comment to moderator  
Reply With Quote
Unread 12-06-09, 03:33 PM  
Sec
A Cyclonian
 
Sec's Avatar

Forum posts: 48
File comments: 175
Uploads: 0
The following error occurs as of patch 3.2.2, while SolidarityAlts is the only addon enabled:

Code:
Message: Interface\FrameXML\ChatFrame.lua:2458: Usage: GetPlayerInfoByGUID("playerGUID")
Time: 12/06/09 16:31:40
Count: 1
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
[C]: in function `GetPlayerInfoByGUID'
Interface\FrameXML\ChatFrame.lua:2458: in function `GetColoredName'
Interface\FrameXML\ChatFrame.lua:2491: in function `ChatFrame_MessageEventHandler'
Interface\FrameXML\ChatFrame.lua:2289: in function `ChatFrame_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

Locals: (*temporary) = nil
This happens any time "Alty" (as per your examples) tries to speak in /guild. Alty's message does not show up at all, either.

If you are going to update/fix this addon, please consider adding an option for SolidarityAlts to work with /officer chat too, please.
Sec is offline Report comment to moderator  
Reply With Quote
Unread 10-05-09, 11:29 PM  
Ugmar
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 6
Uploads: 1
Originally posted by dogstarrb
Well, this seemed like the best thin ever, but when I have it enabled, it blocks my chat and I see NOTHING, much less the alts! Any ideas what could be wrong?
Are you using any other chat addons? If so, which ones? There could be some incompatibility issues.
Ugmar is offline Report comment to moderator  
Reply With Quote
Unread 10-05-09, 10:31 PM  
dogstarrb
A Defias Bandit

Forum posts: 2
File comments: 12
Uploads: 0
Well, this seemed like the best thin ever, but when I have it enabled, it blocks my chat and I see NOTHING, much less the alts! Any ideas what could be wrong?
dogstarrb is offline Report comment to moderator  
Reply With Quote
Unread 07-11-09, 09:04 AM  
tattooedpierre
An Aku'mai Servant
 
tattooedpierre's Avatar
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 95
Uploads: 4
Thumbs up Thanks

Thanks for this; its the only thing that kept me using Chatter (it has a similair feature where you add the main name when you right click someone in chat). Good work
tattooedpierre is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: