Broker_AFK
AFK and DND management at your fingertips!
Broker_AFK is a tiny addon that provides easy and convenient display and management of your Away (AFK) and Busy (DND) status via LDB Broker or the minimap. It can be used with an LDB display or as a stand-alone addon.
Features: (all are optional and easily configured)
- Broker or Minimap displays your current AFK / DND status
- Single-Click access to change your AFK / DND status
- Automatic tracking of your time AFK and message
- Control the actions that auto-remove AFK
- Play a selected sound when you go AFK
- Play a selected sound when you are about to be logged out for inactivity
- Display a window while you are away that reminds you to clear AFK when you return
- Provides AFK/DND status replies to Battle.net whispers, mimicking the behavior of in-game whispers
- Auto-respond to your name in party/raid/guild chat while AFK or Busy
- Automatically set Busy mode in instances, raids, arenas and bgs
- Coalesce repeated away/busy notification whisper replies into a single notification
Basic Usage:
- Install as usual
- Left-click the LDB broker or Minimap icon to set your AFK/DND status
- Right-click the LDB broker or Minimap icon for config options
Command Line Usage:
- /afk [message] - Set your status to AFK with an optional Away message
- /dnd [message] - Set your status to DND with an optional Busy message
- /bafk - Display command-line config options
- /bafk config - Opens the config GUI
Translators Needed! Apply localization at: http://www.wowace.com/addons/broker_afk/localization
Bug reports and feature requests: http://www.wowace.com/addons/broker_afk/tickets
General discussion forum thread: http://forums.wowace.com/showthread.php?t=19515
Thank you for this addon! I really appreciate it.
Recently, I am getting error messages for Broker_AFK. I've tried picking different sounds from the Broker_AFK menu but I keep getting this error: "Away Alert sound: Invalid value."
When I go afk, I get an error screen and the sound I picked out doesn't play.
Here's the error message:
Date: 2019-07-23 16:58:33
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Broker_AFK\Broker_AFK.lua line 125:
PlaySoundFile Error - Invalid fileDataID for sound.
Debug:
[C]: PlaySoundFile()
Broker_AFK\Broker_AFK.lua:125:
Broker_AFK\Broker_AFK.lua:116
Broker_AFK\Broker_AFK.lua:580: Update()
Broker_AFK\Broker_AFK.lua:716: setupLDB()
Broker_AFK\Broker_AFK.lua:479:
Broker_AFK\Broker_AFK.lua:457
Broker_AFK\Broker_AFK.lua:495:
Broker_AFK\Broker_AFK.lua:492
Locals:
(*temporary) = "Sound\Creature\Cow\CowDeath.ogg"
(*temporary) = "Master"
AddOns:
MoncaiCompare, v7.2.0
Swatter, v8.2.6377 (SwimmingSeadragon)
Altoholic, vr191
AucAdvanced, v8.2.6338 (SwimmingSeadragon)
AucFilterBasic, v8.2.6364 (SwimmingSeadragon)
AucStatHistogram, v8.2.6366 (SwimmingSeadragon)
AucStatiLevel, v8.2.6370 (SwimmingSeadragon)
AucStatPurchased, v8.2.6367 (SwimmingSeadragon)
AucStatSimple, v8.2.6368 (SwimmingSeadragon)
AucStatStdDev, v8.2.6369 (SwimmingSeadragon)
AucUtilFixAH, v8.2.6371 (SwimmingSeadragon)
BeanCounter, v8.2.6381 (SwimmingSeadragon)
BrokerAFK, v2.8.6
DataStore, vr66
DataStoreCharacters, vr44
SlideBar, v8.2.6375 (SwimmingSeadragon)
Stubby, v8.2.6376 (SwimmingSeadragon)
BlizRuntimeLib_enUS v8.2.0.80200 <none>
(ck=2bb)
Thanks for your assistance! Thank you for an awesome addon! -M
Could you please update this for 8.1?
It still work, just my addons keep telling me this is out of date, could you fix that please?
In reply to Mayotruck:
any addon you can update yourself to prevent out of date errors by going to the addon folder, opening the .toc file and updating the version number on the first line that says
## Interface: 70100
where 70100 is the version number that needs to be updated (8.1 = 80100)
Any chance you could update this for bfa please?
Frist off i just wanted to say thank very much for this addon i really love it and also , saved instances is simply amazing addon as well I use both every single day, and i love them, so thank you!
I was just curious, do you think there will be any updates for new patch (8.0) coming on this AFK broker? I really love this addon, I'm just unclear if i should continue to use it as it has not had any updates for so long, I'm worried if i should be using it anymore. I have been having issues with disconnections and weird lag spikes since 8.0 and trying to figure out what addons may be the problem..Most my addons have been updated since the new patch besides this one, and that's why im here. I just hope this AFK broker is not causing my lag spikes, random disconnects or "many errors" that swatter keeps finding... If no update is given I'm not sure if i should continue to use this addon or disable it, as its been a long time since it got some love.
Thanks for your time.
since scenarios have become so popular, is it possible to have Broker_AFK go into AFK/Busy mode as in with dungeons, raids, etc. while doing a scenario?
that would be fantastic! Thanks for everything. Love the addon!
Added in addon version 2.7.6
thank you so much oscarucb, you are amazing! *bows* your contributions to the wow community has been astounding. really truly awesome stuff. thank you for everything!
EDIT: one thing i noticed was the solo scenario 'the secret ingredient/noodle time' my status stays on 'available' status. not a big deal at all, i just thought i would point that out. thanks! :)
How about an option to unmute sound when playing the alert sounds?
It's not really an addon's place to mess with user settings like that.
The sounds are already played to the "Master" sound channel. If you want to play with sounds off just turn off "sound effects" etc and leave top-level sound feature enabled, and you will still get addon sounds.
thank you very much for updating! this is a fantastic addon.
there is one thing i noticed with the latest version (or since patch 5.0.4), that didn't happen before, is when i switch to AFK mode for example, the icon for AFK actually 'changes' as the time counts - it's hard to describe other than the icon appears to redraw every time the timer updates, but in doing so it changes the scale of the icon ever-so-slightly, creating an ever-changing icon. it appears clean, then blurry, and so on depending on the time. i am not using any UI scaling so it is not a strange scaling issue.
it's often referred to as not being 'pixel-perfect' or appearing fuzzy, as it seems the icon is scaling in relation to the time. i hope that is somewhat helpful.
i just thought i would mention what happened for me when i updated it. thanks for all your hard work! :)
The icon is sized and rendered by your LDB display addon, which is probably doing a poor job of rendering/repositioning it as the away timer text feed changes. If your LDB display addon supports setting a fixed text width that should solve the problem.
Alternately, you could disable the "Time Away" option in Broker_AFK to disable the changing timer text, which should also stop your LDB display from re-rendering the icon.
i'm using chocolate bar for my display. thank you very much. i will give those suggestions a try oscarucb. :)
*update: i see what the problem is with the display - as long as i don't have it located in the middle portion of the bar (where it is constantly updating the centered position of those items in the center) there is no issue with the scaling/distorting of the icon, putting it left or right solves the issue with chocolate bar. or another option, which doesn't visually work as nicely, is to manually set the length of text displayed - but when available (green), a large chunk of space exists between the other broker addons. thanks for all your help! :)
Its a great idea this addon .. i tried it ...
What i dont like is that u see <Broker_AFK> when auto wisper sombody
Auto-replies include the tag to prevent the possibility of infinite whisper loops between two players running the addon.
Ah k, ty for fast reply on this, appreciate it ... i descided to put it in my favorite addons anyhow :)
Tnx for making it !
Would it be possible to add a string field to the configuration page that specifies a message for afk/dnd? I know you can use the /afk <message> command, but that has to be set each login. It would be useful if there was a way to store an away/dnd message so you wouldn't need to retype it in each login.
-TP