RealID Toons
Adds the current character name of your Real ID and BattleTag friends to the Battle.net alert informing you they have come online. Information is added to both the inline chat notification and the popup Toast window.
Alerts are populated with information based on the format string replacements you choose.
The following replacements are available:
- $t - Character Name, uncolored
- $T - Class Colored Character Name
- $c - Class name
- $C - Class Colored class name
- $s - Realm (server) Name (only if different than the player's)
- $S - Realm (server) Name (Always)
- $f - Faction symbol (only if different from player, or on another server)
- $F - Faction symbol (Always)
- $l - Character level
- $L - Character level (difficulty colored)
- $r - Character race
- $n - Friend note (only shown in Chat alerts)
- $N - Friend note (always shown)
These options are available in the Interface Options, or by typing /ridt
Examples
A format string of $t - $l $r $c would expand to something like: Warriordude - 85 Human Warrior
Using the colored substitutes (i.e. $T - $L $r $C) would expand to, if you were on your level 1 bank toon: Warriordude - 85 Human Warrior
FAQs
Q: My friend's character name is colored gray, what happened?
A: Some times the server is overloaded and will not return all the information about your friends, since the addon does not know what class your friend is playing the name is colored gray.
Q: My friend's character name is colored like they are on their previous toon, what happened?
A: Similar to the above question. Sometimes the wrong information is returned during periods of high load. I haven't been able to force this to happen, although I have seen it happen. I am working on trying to solve the issue efficiently.
Q: Your addon threw an error!
A: Please post a ticket, but first check to see if your problem has already been reported and that you are using the current version. Remember, being as detailed as possible in your report will help me fix it faster.
Changes
Version 2.3.0
-Fixes for updates to the Battle.Net platform
Version 2.2.0
-Fixes for supporting Twitter Integration
See Older Changes
1x RealIDToons-1.0\Core.lua:55: bad argument #5 to 'format' (string expected, got nil) RealIDToons-1.0\Core.lua:55: in function <RealIDToons\Core.lua:41> RealIDToons-1.0\Core.lua:98: in function `filterFunc' Interface\FrameXML\ChatFrame.lua:2684: in function <Interface\FrameXML\ChatFrame.lua:2674>: (tail call): ?: Interface\FrameXML\ChatFrame.lua:2491: in function `ChatFrame_OnEvent': <string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
Locals: presenceID = 6 toonID = 25 _ = false toon = "Ammnon" _ = "WoW" realm = "" _ = 0 _ = "" class = "" eClass = nil r = 160.65 g = 160.65 b = 160.65 (*temporary) = <function> @ Interface\FrameXML\RestrictedEnvironment.lua:92: reverseClassLookup = <table> { Warrior = "WARRIOR" Paladin = "PALADIN" Shaman = "SHAMAN" Rogue = "ROGUE" Mage = "MAGE" Druid = "DRUID" Priest = "PRIEST" Hunter = "HUNTER" Warlock = "WARLOCK" Death Knight = "DEATHKNIGHT" } myrealm = "Zirkel des Cenarius" getFactionString = <function> @ RealIDToons\Core.lua:26:
-I have turned on localization for this project, there are only 4 strings used in the options menu. Feel free to contribute translations so that the addon will be all set when Patch 3.3.5 goes live in Europe/Asia.
@zohar101: the latest alphas have code for coloring the character name by class, thanks for the great suggestions
I like this!
I was going to do this myself in my SignOn mod, but it looks like you got there first!
So I'll link to your mod instead of shamelessly stealing the code. :)
One more question though it may be beyond the scope of what you want to do. Any chance of coloring the toon name by class?
They are the *first* MMO company to realize that no UI can ever be all thins to all people.
That said RealID was so not ready for primetime (no aliasing short names, no broadcast from commandline, no class coloring etc)
Cool, thanks a bunch!
Right now just the inline chat announcement. I will look into adding it to the pop up window.
Edit: r4 should add toon information to both alerts.
Will this work with the classic announcement option in chat as well as the pop up window option?