WEAKAURA

Tehr's RaidCDs, ExternalCDs, UtilityCDs, ImmunityCDs, AoECCs, RezCDs, & Interrupts

Updated Mar 23rd 2017 WoW 7.1.5 User Tehr Views 120,330 Comments 85 Stars 138 Collections 33 Link https://wago.io/RaidCDs
General UtilityRaid LeadingHealingTankingPvE UtilityDungeonsPvP Utility



Description:
Hey guys, if you notice any bugs or problems of any sort, please either comment here or send me a message on Discord (Tehr#5246, Discord is much faster) and I'll update this ASAP!

If you like this aura, don't forget to favorite it!



Most Recent Update (59):
Added Warlock's Spell Lock and Shadow Lock interrupts.



Delete or rename the old version when updating to a new version! Not doing so will cause scaling to mess up.


DESCRIPTION:

DO NOT DELETE THE BACKGROUND
, see adjustments below on how to hide it.

This WeakAura displays players' names and their associated abilities. Currently tracks every External CD, Raid CD, Utility CD, Immunity CD, AoE Stun, Battle Rez, and Interrupt that I find important enough to track (or know how to track... looking at you, pet classes).

If a player is dead, the CD on their ability (or "READY", if it's available) will turn to gray so you know what you can and cannot call for.

If a player has a talent or artifact trait selected that reduces the CD on a certain ability, there will be a "+" displayed after the ability name to indicate this (e.g. "Grasp+" instead of "Grasp" if a Blood DK has Tightening Grasp as a talent).

To reset the aura, click the small "R" button in the top right corner (when maximized) and select which section you wish to reset.

To toggle individual sections, click the small "S" button in the top right corner (when maximized) and select which section you wish to show/hide.

To minimize the entire aura, right click the small "S" button in the top right corner. Once the aura is hidden, click the "show" button in the bottom left corner to display it again.

ADJUSTMENTS:

To disable any of the sections, go to "RaidCDs_NamesText" > Actions > On Init and change "true" to "false" for the sections you wish to disable (e.g. to disable Interrupts, change "TehrsCDs_show_allInterrupts = TehrsCDs_show_allInterrupts or true;" to "false;"). To display Interrupts/AoE CCs/Immunities/Battle Rezzes in raid change "TehrsCDs_show_allInterrupts_inRaid" (or other option) to "true". To temporarily show/hide any of the sections, click the small "S" button in the top right corner and click which section you want to toggle.

To disable any individual cooldowns, go to "RaidCDs_GroupPoll" > Actions > On Init and change "true" to "false" for the cooldowns you wish to disable.

To change how high the background scales (ONLY if you change the font size), go to the very bottom of "RaidCDs_NamesText" and changing the numbers to suit your font. The first number ("lineCount * 11") will generally match up to the font size you choose (so increase it to 14 if you set the font to size 14), and the second number (" - 10) is to make adjustments depending on characteristics of the font you choose.

To hide the background, or to adjust its darkness, go to "RaidCDs_Background", and change the alpha of the background color. Currently set to 50% alpha, 0% is invisible and 100% is pure black. Deleting the background entirely will disable the ability to minimize the aura, and can potentially cause annoying errors.

To display Blessing of Protection (BoP) in the External section (displays in the Utility section by default), go to the "RaidCDs_GroupPoll" aura and change "BoPisUtility" to "false". Note that if you get a lot of lag when editing the WA, it is recommended you copy everything (ctrl-A ctrl-C) and edit it in a text editor like Notepad++,

To adjust how far in names are indented, go to "RaidCDs_NamesText" > Actions > On Init and change how many spaces are in the local variable "aura_env.raidCDsIndentAmount". You can choose between 0 (no indent, just leave the quotes "") and approximately 7 (any more and the names start overlapping with the CD name). Default is two spaces.

To make the aura grow downwards instead of upwards, change the Anchor Point of NamesText, Background, CDText, and TimeText to "Top Left" instead of "Bottom Left". It's likely that the aura will no longer be aligned properly, so keep in mind that you need to adjust it slightly after changing the anchor. It is also recommended that after you adjust the aura to your liking, you move the "RaidCDs_ButtonHandler" to the anchor point of the aura.

To remove the buttons, go into RaidCDs_ButtonHandler --> Actions tab --> On Init, uncheck the "custom" button, and then reload your UI.

NOTE:
Note that this WeakAura was originally written by Yuqii and can be found here. I've been heavily modifying this over the last two years, and have permission from Yuqii to continue to publicly work on this aura.

KNOWN BUGS:
Does not track Warlock Fel Hunter's Spell Lock ability
Does not track the three Beastmaster Battle Rezzes (Crane, Moth, Quillen)
For some reason doesn't like displaying more than 5 CDs of any given spec (e.g. if you have 8 Blood DKs, it will only show CDs for the first 5 players) NEEDS CONFIRMATION



ExternalsRaid CDsUtility CDsImmunitiesAoE CCInterruptsBattle Rezzes
RacialsWar StompArcane Torrent
Death KnightGorefiend's GraspMind FreezeRaise Ally
Demon HunterDarknessNetherwalkChaos Nova
Sigil of Chains
Consume
DruidIron BarkTranquilityInnervate
Stampeding Roar
Ursol's VortexSolar Beam
Skull Bash
Rebirth
HunterMisdirectAspect of the TurtleBinding ShotCounter Shot
Muzzle
MageIce BlockSupernovaCounterspell
MonkLife CocoonRevivalLeg SweepSpear Hand Strike
PaladinBlessing of Sacrifice
Blessing of Protection
Blessing of Spellwarding
Aegis of Light
Aura Mastery
Blessing of ProtectionDivine ShieldRebuke
PriestGuardian Spirit
Pain Suppression
Divine Hymn
Power Word: Barrier
Vampiric Embrace
Leap of Faith
Symbol of Hope
Mind BombSilence
RogueTricks of the TradeCloak of ShadowsKick
ShamanAncestral Guidance
Healing Tide Totem
Spirit Link Totem
Ancestral Protection Totem
Wind Rush TotemLightning Surge TotemWind ShearAnkh
WarlockSummon Infernal
Shadowfury
Spell LockSoulstone
WarriorSafeguardCommanding ShoutShockwavePummel


CHANGELOG:
3/23/2017 (59)
Added Warlock's Spell Lock and Shadow Lock interrupts

3/8/2017
You can now change Raid Settings independently of General Settings. Additionally, Battle Rez CDs automatically reset when a raid encounter ends

3/5/2017
You can now enable/disable individual CDs in "RaidCDs_GroupPoll" > Actions > On Init by changing "true" to "false" for whatever CD you wish to hide (for example if you really don't care about Misdirection or Tricks of the Trade but want to see the rest of the Utility CDs, you can disable them)

3/2/2017
Added a new button that allows you to easily toggle individual sections without editing the code (replaces the Minimize button); note that these changes only affect the current game session, and logging out or reloading your UI will reset your display options to whatever is set in the "On Init" of NamesText. Also, Artifact Support has been rolled into the baseline CDs under the assumption that the vast majority of players have 34+ traits

2/26/2017
Added Immunity CD tracking (the Mythic Botanist struggle is real) and moved the NamesText options to On Init instead of Display Text to prevent the lag. Also added Misdirection and Tricks of the Trade

2/21/2017
Added a Raid Battle Rez counter when in a raid encounter (thanks Krazyito for the code and help!)

2/16/2017
Fixed a small bug where Spellward wouldn't un-track if you specced out of it, and fixed some problems with the buttons

1/20/2017
Added Arcane Torrent (Blood Elf) and War Stomp (Tauren)

1/19/2017
Fixed a bug where mages swapping from Arcane to another spec would still display Supernova, and added a note about "Blessings of the Silver Hand" in the code

1/17/2017
Now tracks "Blessings of the Silver Hand" for Holy Paladins, and now lets you choose whether BoP is displayed in External CDs or in Utility CDs (designed for tanks that display External CDs and hide everything else but still want to see BoP)

1/11/2017
Changed the cooldowns of Aegis of Light, Gorefiend's Grasp, and Sigil of Chains. Removed Nether Bond

1/8/2017
Added a minimize and maximize button, and a reset button (left click to choose which section to reset, right click to reset all sections), and you now have the option to track Ankh but hide the rest of the Battle Rezzes while in a raid

1/7/2017
Added "Protector of the Ashen" Artifact Trait for Ret Pallies (thanks Lucivero), fixed "Pain is in your Mind" Artifact Trait tracking for Disc Priests (it wasn't properly reducing the CD), and added a way to display Battle Rezzes in raids (I high recommend you leave this disabled since Battle Rez CDs are done on a group-basis, and a player's individual CD doesn't matter)

1/4/2017
Fixed "Sacrifice of the Just" Artifact Trait for Prot Pallies, and made it so the aura displays sample text when you have the options open and are in a group alone (so you can make adjustments without sitting in a party)

12/31/2016
Ankh should now be working (I was tracking the wrong SpellID before), and you should no longer receive errors if you delete the Background

12/15/2016
I broke some stuff in the 12/12 update (whoops!), that stuff is now fixed; by proxy, Crowd Control is in its own section now (if you want it back in UtilityCDs, tell me). Also, Gorefiend's Grasp and Sigil of Chains are now in the Crowd Control section. Lastly, I fixed the error that popped up when a player was unsuccessfully inspected (should no longer get any errors from this, it will ignore inspect errors and continue).

12/12/2016
I've added in AoE stun abilities to the UtilityCDs section; this section has similar settings to the Interrupts section, and will by default display only when 1) the player is not in a raid, or 2) show_aoeCCs_inRaid is set to true.

12/8/2016
I've added the ability to manually reset the WA (read the description), in addition to adding Combat Resurrections, as well as some back-end improvements.

10/15/2016
Due to popular request, Blessing of Protection is now a Utility CD instead of an External CD.

10/12/2016
By default now only displays Interrupts when NOT in a Raid. You can still override that setting and disable Interrupts permanently, and additionally you can choose to display Interrupts in raid if you'd like (change "shows_allInterrupts_inDungeonOnly" to "false" if you want Interrupts to be displayed in Raids).

10/2/2016
I am temporarily removing support for Protection Paladin's artifact trait that displays Sac with reduced cooldown until I find a solution to a bug that causes the cooldown to never display.

9/17/2016
Bug-fixing! Turns out Stampeding Roar was not being correctly tracked if the player did not have the Guttural Roars talent (love me some SpellID changes [/meme]), which by extension meant that Stampeding Roar was never tracked for Feral Druids.

9/11/2016
Some minor bug-fixing (recently started getting a lot of errors and I'm not sure why, but the WA still functions just the same as normal), as of now you can actually disable External CDs without fucking up the formatting.

8/29/2016
Now works for non-English clients (I THINK!). If you have any issues with a language not working let me know. Note that this does not mean that the display will be translated (it will still display CD names in English), it won't just error out in a non-English client (or simply not display any CDs).

8/27/2016
Now tracks Guardian Angel talent, Sacrifice of the Just artifact trait, and Pain is in Your Mind artifact trait. However, the two artifact traits must be tracked manually until I figure out how to find the information I need from the inspect API.

This Weak Aura includes custom functions.


Preview

Comments
Posted by Xpariah 15 days ago. Reply 2017-03-08 19:00
I'd love for a changelog each time personally.

Thanks for all the continued updates!
Posted by Tehr 15 days ago. Reply 2017-03-08 11:41
@ThorTue Rezzes should no longer hide during a bossfight in a non-raid setting.

Should I make a note for every update? My changelog is getting really long so I figured I should only really note shit for large updates since most other updates are just minor bugfixes.
Posted by ThorTue 15 days ago. Reply 2017-03-08 05:24
What's new on version 57 ?
Posted by Tehr 15 days ago. Reply 2017-03-07 22:53
@kxd0116 The comment I posted on December 7th, 2016 tells you how to translate into another language.
Posted by kxd0116 16 days ago. Reply 2017-03-06 22:46
Please tell me how to translate Chinese
Posted by Tehr 17 days ago. Reply 2017-03-06 11:33
@McPhie I've added a way to disable any CD you wish so you don't have to go in and manually delete/edit the code. Just go to "RaidCDs_GroupPoll" > Actions > On Init and set any CD that you don't want to see to "False"
Posted by Tehr 21 days ago. Reply 2017-03-02 10:45
@Thunderspank I've added MD/ToT by the way
Posted by Notcal 22 days ago. Reply 2017-03-01 19:50
@Tehr I mean melee as a role. For example, on Mythic Grand Magistrix, I do not need to know the CD on interrupt for ranged classes. Just rogue/monk/dk/paladin/warrior/dh etc
Posted by Tehr a month ago. Reply 2017-02-24 00:13
@Notcal Do you mean grouping by CD length, or by range? e.g. would you group Shaman with "Ranged Interrupts" because it's a ~30 yard range, or would you group it with "Melee Interrupts" because it's a sub-15s CD?
Posted by Notcal a month ago. Reply 2017-02-23 20:21
Can you look into an easy way to track ranged kicks and melee kicks separately?
Posted by Tehr a month ago. Reply 2017-02-09 16:09
@Nightglow I experimented with that a while back, I'll see what I can do. Will probably be some time, though.
Posted by Nightglow a month ago. Reply 2017-02-08 19:02
@Tehr Hi there! Long time user of this wa, love the frequent updates. Any plans to add support for legendaries/effects that reduce cd per cast? e.g. Skjoldr, Sanctuary of Ivagont bracers for disc priests (casting power word: shield reduces the cd of pain suppression by 4s) and Petrichor Lagniappe bracers for mw monks (casting renewing mist reduces the cd of revival by 2s) etc. I figured out how to hard code it for now but I think it would be a nice QoL addition to the base code, in the same vein as the artifact support you currently have.
Posted by Tehr 2 months ago. Reply 2017-02-02 16:51
@Malix I don't think I'll be adding that kind of stuff anytime soon (I guess it does have some applications in regards to soaking stuff, but pretty limited), but you're welcome to do so yourself.
Posted by Malix 2 months ago. Reply 2017-02-02 14:10
Is there a way you can start implementing Immunities? cloak, bubble, sometimes turtle, ams, that kind of stuff?
Posted by Tehr 2 months ago. Reply 2017-02-02 12:48
@Kadak When I was adding CC, I realized that there were upwards of 50 CC spells available to players, and adding them all would just be so much clutter. As such, I added just AoE stuns and similar effects (things that last a set duration and aren't interrupted by damage). While I may add more CC abilities in the future, adding all of them isn't that realistic.

Instead, you can add it yourself by checking out the information I gave in a comment posted on 2016-10-04. If you're having troubles, feel free to contact me on Discord.
Posted by Kadak 2 months ago. Reply 2017-02-02 07:47
@Tehr Thank you for all your hardwork! I was wondering why the paladin's "Blinding Light" isn't part of the Crowd control list? Any way to add it ?
Posted by McPhie 2 months ago. Reply 2017-01-28 16:18
Don't worry, found it in a previous comment
@McPhie
Posted by McPhie 2 months ago. Reply 2017-01-28 16:07
Is there any way to remove specific raid cooldowns? For example I don't want to track things like darkness, just healer CDs such as tranq
Thanks
Posted by nottieboy 2 months ago. Reply 2017-01-25 05:27
@Tehr Thank you very much :)
Posted by Tehr 2 months ago. Reply 2017-01-24 10:21
@nottieboy I'm not currently planning on adding single-target stuns, but if you'd like to add it yourself, you can look at the comment I left on 2016-10-04 for instructions on how to add a new CD. Keep in mind that Chastise can have its CD reduced, so it won't be accurate unless you take additional steps yourself.
Posted by nottieboy 2 months ago. Reply 2017-01-24 06:15
@Tehr Hi, is there a way to add in Holy Word: Chastise - talented 5sec stun. ? spellid: 88625
Posted by nottieboy 2 months ago. Reply 2017-01-24 06:15
Hi, is there a way to add in Holy Word: Chastise - talented 5sec stun. ? spellid: 88625
Posted by Tehr 2 months ago. Reply 2017-01-23 12:34
@Hazal If I have to have a line of code to get the name for non-English clients for every SpellID, I might as well use SpellID.
Posted by Hazal 2 months ago. Reply 2017-01-23 03:44
@Tehr Have you considered to check the combatlog via the name of arcane torrent instead of checking for every spellID. And to be compatible with non english clients you can get the name of Arcane Torrent from the spellID? I think it's possible with name,_=GetSpellInfo(28730) for example
Posted by Tehr 2 months ago. Reply 2017-01-20 10:38
@alcaras I added Arcane Torrent and War Stomp for you Hordies
Posted by Tehr 2 months ago. Reply 2017-01-19 23:17
@alcaras Good idea, I will do so as soon as I can (as soon as I can do so without breaking shit).
Posted by alcaras 2 months ago. Reply 2017-01-19 21:35
Any way to add Arcane Torrents, at least when in party?
Posted by Tehr 2 months ago. Reply 2017-01-17 17:46
I just pushed out another update that lets you move BoP to the External section if you want.
Posted by Thunderspank 2 months ago. Reply 2017-01-17 16:00
@Tehr Thank you, I'll keep an eye out for new versions!
Posted by Tehr 2 months ago. Reply 2017-01-16 15:26
@Thunderspank After looking into the API a little I think I may have found a way to track dispels. If I remember, I will ping you when I finish.

MD/ToT should be easy to implement.
Posted by Thunderspank 2 months ago. Reply 2017-01-16 10:54
@Tehr I did not think about that. Yes, that will make it tougher for sure. I don't know enough about LUA/addons to understand how hard that would be though.

One of our raid healers was asking for this because she felt it would be super useful to see in real time.

Are misdirection / tricks of the trade easier to do? From what I remember, there used to be a talent for hunters that reset the CD for misdirection when cast on their pet in WoD. Dunno if that still applies and how it would complicate things.
Posted by Tehr 2 months ago. Reply 2017-01-16 09:35
@Thunderspank Hmm I think that might be a little difficult for Dispels. If I remember correctly, Dispels don't go on cooldown if there is nothing to dispel, right? If that's the case, tracking might be really difficult.
Posted by Thunderspank 2 months ago. Reply 2017-01-15 23:27
This is extremely useful. Thank you for all the work you've put into this!

Is there a way to add misdirect/tricks and dispels to the CDs that are tracked?
Posted by Xpariah 2 months ago. Reply 2017-01-08 18:28
Thank you so much for this WA!
Posted by ThorTue 2 months ago. Reply 2017-01-08 14:20
@Tehr Thx so much
Posted by Tehr 2 months ago. Reply 2017-01-08 11:00
@ThorTue I was actually working on that last night, that's a feature as of the 1/8/2017 update
Posted by ThorTue 2 months ago. Reply 2017-01-08 08:45
Hi, thx for your job. Can you dissociate ankh and battle rez ? Because I want to see ankh in raid but not battle rez.
Posted by Crazyfool 3 months ago. Reply 2016-12-30 12:12
@Tehr I just reimported and it fixed itself. Thanks anyway
Posted by Crazyfool 3 months ago. Reply 2016-12-30 12:00
@Tehr Sorry if this has been asked before but i can't seem to get the background to function. See image: http://imgur.com/a/yETvb

Even after disabling all addons but weakauras 2 the problem persist with the background just being that little bar at the top. Any help?

Thanks.
Posted by Tehr 3 months ago. Reply 2016-12-24 09:38
@Hacki Alternatively, go to the bottom of NamesText and delete the line WeakAuras.regions["RaidCDs_Background"].region:SetHeight( (lineCount * 11) - 10 );
Posted by Tehr 3 months ago. Reply 2016-12-24 09:27
@Hacki you edited the name of your background, or deleted it. You need to import the aura again or make an aura with the exact name as the error text.

If you don't want a background, just change the opacity to 0, don't delete it.
Posted by Hacki 3 months ago. Reply 2016-12-24 02:35
@Tehr, could you have a look at it? Impressive WA so far, but those lua error's get my UI crashed :-)
Posted by Hacki 3 months ago. Reply 2016-12-24 00:19
Hi, i got following lua error which counts every second. How can i fix/disable this?

Message: [string "return function () ..."]:420: attempt to index field 'RaidCDs_Background' (a nil value)
Time: 12/24/16 09:18:18
Count: 140
Stack: [string "return function () ..."]:420: in function <[string "return function () ..."]:1>
Interface\AddOns\WeakAuras\RegionTypes\text.lua:117: in function `UpdateCustomText'
Interface\AddOns\WeakAuras\WeakAuras.lua:2961: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:2957>

Locals: show_allExterns = true
show_allCDs = false
show_allUtility = false
show_aoeCCs = false
show_allRezzes = false
show_allInterrupts = false
show_allInterrupts_inRaid = false
show_aoeCCs_inRaid = false
raidCDsIndentAmount = " "
_ = false
instanceType = "none"
_ = ""
lineCount = 1
(*temporary) = nil
(*temporary) = ""
(*temporary) = ""
(*temporary) = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'RaidCDs_Background' (a nil value)"
Posted by Tehr 3 months ago. Reply 2016-12-20 17:27
@Note read the description for enabling brezzes and interrupts in raid. You'd need to change a line in NamesText.
Posted by Note 3 months ago. Reply 2016-12-18 08:20
im having a problem with this WA not showing battle rez and reankh while in raid groups, but it does show in party. i checked instance type and i have them all on. please help
Posted by Tehr 3 months ago. Reply 2016-12-16 12:42
@elzzid I've been considering this for a while, and tinkered around with it for a bit, and I got a LOT of errors when doing so. I'm going to investigate this further and see if I can find a simpler method of adding interactivity, but I don't think I'll get around to it very soon (it's that time of year again...).
Posted by elzzid 3 months ago. Reply 2016-12-16 11:35
I really like the idea of this WA. Was wondering if it would be possible to make this clickable? E.g. (using the first preview image for names and abilities) if I clicked on the green 'READY' for Lilith's Darkness raid cd, it would post to chat/rw/yell something like 'Lilith use Darkness!' or clicking on the 'READY' for Pangaea's G-Spirit would say 'Pangaea use Guardian Spirit on me (or the tank's name or target name, etc.)!' Just a thought. Thanks for keeping this WA up and running!
Posted by Tehr 3 months ago. Reply 2016-12-15 13:07
@Windhøød I figured out how to fix the error, it's live in the most recent update.
Posted by User-5851073f75571c2e4 3 months ago. Reply 2016-12-14 00:50
Hello, Could you make a split version of each part of this WA, cause I am used to put tank CD and other at different places.
Posted by Tehr 3 months ago. Reply 2016-12-10 22:54
@Windhøød Unfortunately there's not much I can do about that error, as the way this function works is to get party members' inspect information. This error should only happen when another player joins your party and their inspect information is not available (you'll see their name displayed as "Unknown" or they won't appear in your raid frames), and the error will persist until you exit out of the error box.

The problem with inspecting a player is not, as far as I can tell, caused by my aura, but rather caused by *I believe* ElvUI (or one of ElvUI's plugins, perhaps Shadow&Light).

I will tinker around with some code and see if I can create a way to deal with errors behind-the-scenes so you don't have any problems, but if you have problems inspecting a player manually, try inspecting again if the inspect frame does not appear within a second or two.
Posted by Windhøød 3 months ago. Reply 2016-12-10 03:59
Hello,

Thank you for creating such a useful WA. Impressive work!

It is causing some trouble, and I thought perhaps you could help?

I'm pretty sure your WA is causing this lua error:

Message: [string "return function ()..."]:626: Usage: CanInspect(unit [, showError])
Time: 12/10/16 10:28:29
Count: 1
Stack: [C]: ?
[C]: in function `CanInspect'
[string "return function ()..."]:626: in function <[string "return function ()..."]:1>
Interface\AddOns\WeakAuras\RegionTypes\text.lua:117: in function `UpdateCustomText'
Interface\AddOns\WeakAuras\WeakAuras.lua:2965: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:2961>
Locals:

I havnt noticed it after deleting your WA. Also, I suspect its also your WA that causing some weird errors when inspecting other players. Sometimes the inspect action is delayed, other times it wont inspect at all.

Do you have any idea how to solve this?

Kind regards
Posted by Tehr 3 months ago. Reply 2016-12-08 15:30
@Dakaar If you want to put BOP in the External CDs section, you need to go to the BOP section of GroupPoll and Engine and change _utilityCDs_paladins to _externCDs_paladins.
Posted by Dakaar 4 months ago. Reply 2016-12-08 03:15
@Dakaar sry my fault xD
Posted by Dakaar 4 months ago. Reply 2016-12-08 03:08
Hi great work dude but i have a question why i cant see BoP in the external CD's section?
Posted by Tehr 4 months ago. Reply 2016-12-07 16:40
@ThorTue find the names of the spells in the Engine and GroupPoll and change them to what you want; everything else should be working already.

For example, find "H-Tide" and change it to "Heilungsflut" if you want it to be in German.

That being said, I don't know for sure if that's all you'd need to do, as I've never really experimented with it that much. If event types are changed (e.g. SPELL_CAST_SUCCESS is something else in another language's code) then you'll need to change more, but JUST changing spell names should work.
Posted by ThorTue 4 months ago. Reply 2016-12-07 08:30
Hi, how to translate this wa ? I have to replace all the spell in each table ?
Posted by Tehr 4 months ago. Reply 2016-11-29 22:09
@User-583dca07ee93c829289904b8 Stuns (and similar CCs) will be not be added in the upcoming update, but I have plans to add them in the future.

I am currently working on adding battle rezzes (for dungeons, there are plenty of addons available to track a raid's rez counter) and a manual reset option, and hope to have both features implemented soon.
Posted by User-583dca07ee93c829289904b8 4 months ago. Reply 2016-11-29 10:35
Stuns could be useful to track but only for 5-man dungeons. Thank you so much for your hard work.
Posted by Gffn 4 months ago. Reply 2016-11-28 13:12
@Gffn i found the issue, i had "no instance" checked.
Posted by Gffn 4 months ago. Reply 2016-11-28 13:07
@Tehr Somehow the Background of this WA loads, even though I'm not in an Instance. Everything else is unloaded, I just see a small bg rectangle. The settings are set to "load in instance" or whatever only.

Any idea what might cause this?
Posted by Tehr 5 months ago. Reply 2016-11-03 04:05
@Hellreiser At the moment Battle Rezzes are not tracked, but I have plans to add them in the future. The problem I have right now is making the cooldowns reset correctly.

I can add in Battle Rezzes without CD reset functionality easily though (perhaps with manual reset), and I will be doing so soon.
Posted by Hellreiser 5 months ago. Reply 2016-10-31 15:45
Is there an option to track Battle Rez's? Or am I missing something here.
Posted by Tehr 5 months ago. Reply 2016-10-24 13:11
@wanderkiel But yeah, that SENDCHATMESSAGE thing would go there
Posted by Tehr 5 months ago. Reply 2016-10-24 12:51
@wanderkiel Right after the line that sets the CD, so after _interrupts_rogues[sourceName]["Kick"] = GetTime() + 15; as an example
Posted by wanderkiel 5 months ago. Reply 2016-10-20 17:35
@Tehr Pardon my ignorance but would that go after the entry of SPELL_CAST_SUCCESS? And then I would just fill out this:

SendChatMessage("text" [, "chatType" [, languageIndex [, "channel"]]])

?
Posted by Tehr 5 months ago. Reply 2016-10-19 20:14
@wanderkiel I will not be integrating this, but if you'd like to do it yourself, it'd be rather easy to do so. All you have to do is put a "sendchatmessage" command in the Engine after the line that sets the CD.
Posted by wanderkiel 5 months ago. Reply 2016-10-18 17:32
Do you think it would be possible to integrate CD announcing into this?

Thank you so much for your work on this btw, really appreciated.
Posted by Photek 5 months ago. Reply 2016-10-11 15:59
@Tehr Thanks mate!
Posted by Tehr 5 months ago. Reply 2016-10-11 15:11
@Photek Note that the bit about removing the "\n" shouldn't be necessary anymore.
Posted by Tehr 5 months ago. Reply 2016-10-11 15:10
@Photek From another comment: i.imgur.com/gGd33lp.png

To disable individual CDs, go into GroupPoll and Engine, find the CDs you want to disable, and then comment them out.

For example, if you wanted to disable Darkness, in GroupPoll you would comment out:
if (_raidCDs_dhs[playerName]["Darkness"] == nil) then _raidCDs_dhs[playerName]["Darkness"] = GetTime(); end

and then in Engine you would commend out:
elseif(spellID == 196718 and eventType == "SPELL_CAST_SUCCESS") then -- Darkness -- if (_raidCDs_dhs == nil) then _raidCDs_dhs = { } end if (_raidCDs_dhs[sourceName] == nil) then _raidCDs_dhs[sourceName] = { } end _raidCDs_dhs[sourceName]["Darkness"] = GetTime() + 180;
Posted by Photek 6 months ago. Reply 2016-10-06 13:21
Any chance to have it grow downwards instead of upwards and how to disable individual CD's? Thanks.
Posted by Tehr 6 months ago. Reply 2016-10-04 13:55
@VodkaJack here is an example of how to add CDs, using Cloak of Shadows as an example:

First, add the following:

if (_utilityCDs_rogues[playerName]["Cloak"] == nil) then _utilityCDs_rogues[playerName]["Cloak"] = GetTime(); end

to GroupPoll in the Rogue area. If the ability is locked to certain specs, you have to add the above code to only the specs that have access to the ability (not doing so will display the CD for other members of that class regardless of whether they have it available), and then add the following to the specs that DO NOT have the ability:

_utilityCDs_rogues[playerName]["Cloak"] = nil

You can place the above code anywhere within that spec's list of CDs (for an example, look at Retribution's CDs, "specName == 70"). After that, make sure there is a section in the allCDs table that corresponds to the type of CD you're adding, and if it is not there, add:

allCDs["30"] = _utilityCDs_rogues;

to the bottom of GroupPoll (after the other numbered). After that, add in a way to track the spell you want to look at, making sure you have the correct spellID and CD (in this case, 31224 and 90 seconds):

elseif(spellID == 31224 and eventType == "SPELL_CAST_SUCCESS") then -- Cloak of Shadows -- if (_utilityCDs_rogues == nil) then _utilityCDs_rogues = { } end if (_utilityCDs_rogues[sourceName] == nil) then _utilityCDs_rogues[sourceName] = { } end _utilityCDs_rogues[sourceName]["Cloak"] = GetTime() + 90;

Keep in mind that some abilities (particularly Lay on Hands) have multiple ways their CD can be reduced, so you may find that getting an accurate estimate of CD will be more difficult than just adding in the ability. If you want to see how you might do that, take a look at how I've done Tranquility in the GroupPoll and Engine.
Posted by Cannu 6 months ago. Reply 2016-09-29 04:47
Seems that this aura is not tracking if paladin has reduced cd in Sacrifice
Posted by VodkaJack 6 months ago. Reply 2016-09-23 16:58
Hey mate, really love this weak aura. it's pretty awesome. one question tho, how can I add spells like "lay on hands" ? :D would be nice to know that.
Posted by Tehr 6 months ago. Reply 2016-09-12 12:08
@Cetraben If you're not going to use the rest of the code, you can just go into NamesText and change "true" to "false" for External CDs, Raid CDs, and Utility CDs.

Make sure you import the latest version first. You don't need to delete any code.
Posted by Cetraben 6 months ago. Reply 2016-09-12 04:43
Hi there,

Is it possible for the Interrupts to be available as their own standalone utility? Currently I have just cut out all the code around it to get this, but it's presenting me with a lot of LUA errors.

Thanks,
Posted by Tehr 7 months ago. Reply 2016-09-05 17:44
Hostik and I figured out what was wrong. Apparently Russian letters count as double the usual character amount, so if you notice that your names are only four letters long, find in RaidCDs_NamesText the line that says "string.sub(name, 0, 8);" and change the 8 to a 16. Note that this snippet is repeated 4 times, so make sure you go through the entire thing to find where it says that.
Posted by Tehr 7 months ago. Reply 2016-08-29 01:56
Okay, non-English client support is now integrated. Note that it won't translate into German or Russian or w/e, but it also won't just sit there and not display CDs.

If you find any errors/bugs, please report them either here or on Discord!
Posted by Tehr 7 months ago. Reply 2016-08-29 01:07
Hey, I'll update this to work for all languages ASAP (had a few requests already). The problem is in the GroupPoll section of code, it checks for UnitClass and GetSpecializationInfo and then cross-checks that with the English specs.

What that means is that when the code does UnitClass, the code will return something like Hexenmeister for Warlock (forgive me if that's not the right name for Warlock in German), whereas in the code I later check for "Warlock", so as far as my code's concerned you literally have nobody with the right class in your group.

To fix this yourself without waiting for me to update it, go into GroupPoll, and find all of the class and spec names and change them to your language's class and spec names. For example, where the code says "if (class == "Warlock") then", you change that to "if (class = "Hexenmeister") then" and it should work just fine.

Making this work regardless of language is my next step, looking to get it fixed tomorrow before Legion launch.
Posted by User-57c2e2bb7e09dfab1f644503 7 months ago. Reply 2016-08-28 06:15
Hi, i would rly like to use these wa on the german client. could you tell me how to get it working ?
Posted by Tehr 7 months ago. Reply 2016-08-28 01:05
@Hostik, please try re-importing the new version and let me know if it fixes anything.
Posted by Tehr 7 months ago. Reply 2016-08-28 00:30
@Hostik, what language do you use? It shouldn't have any issues.

There are two potential problems. One is that the code looks for a hyphen ("-") and and cuts the name off there. This is deprecated and no longer useful, and I'm going to remove it in the next update (names used to be displayed with their realms, and that code was invaluable to cut down on the overflow of letters). If for some reason everyone has a hyphen exactly 4 characters into their name, this would be the problem.

The only other thing I can think of is a line in the NamesText aura which limits names to a maximum of 8 characters, but that may have been changed accidentally.

Can you provide me a screenshot?
Posted by Hostik 7 months ago. Reply 2016-08-25 17:37
Great work on the aura mate. One question. How do I make it display the name longer than 4 letters?
On your screenshots it shows full names, for me it cuts off... Maybe has something to do with different language client? Idk..
Posted by eddym310 7 months ago. Reply 2016-08-16 01:23
How to make it grow down from Tehr: i.imgur.com/gGd33lp.png
Posted by eddym310 7 months ago. Reply 2016-08-14 22:09
Really like this weak aura, thanks. Is there anyway to make grow downwards?