Battle.Net Real ID Friends Watcher - WoWInterface
Thread Tools Display Modes
09-24-15, 04:39 AM   #1
Nikita S. Doroshenko
A Cyclonian
Nikita S. Doroshenko's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2015
Posts: 44
Battle.Net Real ID Friends Watcher

Very lightweight and very CPU efficient AddOn! You can now track and watch for your Real ID Battle.Net Friends, when they login to World of Warcraft game world, or logout. Download Link.

I made this AddOn, because lot's of my friends continuously staying online in Battle.Net, and when they login from Battle.Net to a WoW game world, game not showing you this. This AddOn watching for a few events: BN_FRIEND_ACCOUNT_ONLINE/OFFLINE, BN_TOON_NAME_UPDATED and if your friend change App from Battle.Net to WoW this AddOn will inform you. As well I add faction icon near Game Icon.

If you got any ideas or thoughts how i can improve this AddOn, or if you'll find bugs, or errors, please let me know.

I will very apreciate for your help and support with translating this AddOn to multiple languages, and for helping me to review my English localization strings below:

Lua Code:
  1. L["ADVANCED_INTERFACE_FRIENDS_FRAME_TRACK_TOOLTIP"] = "Watch for your friend's activity"
  3. L["ADVANCED_INTERFACE_FRIENDS_FRAME_TRACK_MESSAGE"] = "You are now watching for: \"%s\"" -- %s = Fried's Name
  4. L["ADVANCED_INTERFACE_FRIENDS_FRAME_UNTRACK_MESSAGE"] = "You've stopped watching for: \"%s\"" -- %s = Fried's Name
  5. L["ADVANCED_INTERFACE_FRIEND_TRACKING_ONLINE"] = "%s (%s%s) has entered game world." -- %s = Fried's name, Game Icon, Character Name
  6. L["ADVANCED_INTERFACE_FRIEND_TRACKING_OFFLINE"] = "%s has left game world." -- %s = Fried's Name
  7. -- In future release i'll replace \"%s\" with %q for automatic quoting

Special thanks to Phanx (especially in this thread), MunkDev, Fizzlemizz, Seerah, semlar for helping me with code.
Thanks to all other people who support each other and help each other with coding.

Last edited by Nikita S. Doroshenko : 09-24-15 at 05:53 AM.
  Reply With Quote
09-24-15, 11:20 AM   #2
A Cobalt Mageweaver
Kkthnx's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2011
Posts: 246
Neat addon idea.
Success isn't what you've done compared to others. Success is what you've done compared to what you were made to do.
  Reply With Quote
09-24-15, 11:09 PM   #3
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
I'd suggest the following changes to your English strings:
  • You are now watching for: \"%s\" ==> You are now watching %s.
  • You've stopped watching for: \"%s\" ==> You are no longer watching %s.
  • %s (%s%s) has entered game world. ==> %s (%s%s) has logged into WoW.
  • %s has left game world. ==> %s has logged out of WoW.
Player, spell, and other names aren't typically quoted in English, though they are in some other languages. Entering and leaving the game world sound very technical (eg. addon authors talking about events like PLAYER_ENTERING_WORLD) and not like something ordinary users would say.

I'll add translations on CurseForge for Spanish and German later.

Edit: On a side note, you shouldn't leave lines in your TOC file like this:
## Title-deDE:
If you don't have a description for a language yet, just omit the line entirely; otherwise users in that language will see no description at all, instead of falling back to English.

Also, this:
## SavedVariables: Version, Current
SavedVariables are global, so they should follow all the usual rules about naming global variables --- they should be unique (to avoid conflicting with other intentional or accidental globals) and they should identify their owner (so if they show up in an error message the user has some hope of knowing which addon caused the error). Names like "AdvancedFriendsUI_Version" and "AdvancedFriendsUI_Current" would be much better.
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Donít message me about addon bugs or programming questions.

Last edited by Phanx : 09-24-15 at 11:12 PM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Released AddOns » Battle.Net Real ID Friends Watcher

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off