#Dummy Tracker

9 messages · Page 1 of 1 (latest)

keen grotto
#

Idea being, in Classic Era Speedrun's Engineering Dummies are a real thing and beeing able to precisely call a dummy-stack is pretty useful.
This WeakAura also has some Custom Options. You can Sort by Class and Resource, toggle that death or disconnects can be sorted too and exclude Names and Classes.

It is build to work like this:
It assumes, everyone is Engineering and has Dummys because that's simply easier and no overhead, easy to setup aswell in Custom Options. It shows a bar for every player. Dummies also have a shared-Cooldown pool with for example Mana Agate etc and those are kept track aswell. Whenever someone uses those Items, it simplys goes on a 2 Minute Bar Duration. Whenever someone actually summons a dummy, it assumes a 5sec timer (thats the initial first threat) and after that it resumes to show the remainder cooldown. This is visible shown with a blue bar and pixel glow. If a dummy dies early, the cooldown remainder is shown early, the glow deactivated etc. Whenever someone dies, the bar goes red - it is supposed to detect resurrects** aswell as disconnects which are colored dark-grey.

Shared Cooldown IDs are initialized under Actions as aura_env.spellIDs and aura_env.dummySummons. Active Dummy-data is stored in aura_env.dummies.

https://wago.io/gezQF5MEC

#

Some notes:

  • When someone in a raid released, i noticed all bar's reset. Together with kolmar we figured that GROUP_ROSTER_UPDATE is also called when someone ELSE releases, which is atleast not documented on the wiki, to workaround this, we need to check something extra up there so it doesnt fall in that routine when someone releases to ghost.
if event =="STATUS" or event == "GROUP_ROSTER_UPDATE" 
    and (not aura_env.groupNum or aura_env.groupNum ~= GetNumGroupMembers()) then
        -- Save GroupNumber for later use and keep track of it
        aura_env.groupNum = GetNumGroupMembers()
#
  • We match everything over GUID's or cloneId so Hunter Pets and players in PVP from other servers sharing a playes name dont bug it.
#

Any recommendations to clean this code a bit more up? It's shows as 50 Cyclomatic Complexity but i so far tested most behaviours.

  • I noticed when i myself release to ghost and rezz on corpse, i still stay red until i get flagged for combat.
  • Sometimes it doesnt detect units beeing connected correctly, an quick /wa in-out fixes that immediately.
  • Functionality other than things related to disconnect/death/connect/resurrect work fine.
rotund lark
#

It look like it try redo a lot of work your unit frame addon do, it's more logical to me to focus on cooldowns, get rid of that and anchor to unit frames

#

Aura is doing bad assumption that everyone can use dummies, it would make more sense to make everyone install something that announce to raid their cooldowns

#

Then aura can read this information and show it on unit frames

keen grotto
#

Atleast for me as Raidlead it seemed easiest that i can see everything and i know when ppl dont have Engineering for example, so i just went by simply excluding them by names via custom options, rather than forcing all to have something.
And yeah i thought of getting rid of death/resurrect etc aswell and keep it just to the core functionality