Rinku's Advanced St...
 
Notifications
Clear all

Rinku's Advanced Stats  


Rinkusan
Posts: 161
Topic starter
(@rinkusan)
Estimable Member
Joined: 2 years ago

Heya,

I am currently working on an Addon that shows some relevant stats for tanking on screen.
Everything is working really nicely now and it feels really good, I have big plans for Stuff like:

  • Changing the displayed stats according to Shapeshift Form <- Function in place

  • Changing the displayed stats according to Class

  • Adding some kind of color code

  • Adding caps/thresholds for specific stats

  • Adding Resistances (courtesy of Pippina :)) <- Function in place

  • Really Advanced: A menu with tickboxes to select stats you want to track.

  • Remaining Lightning Shields (Sham), Block Value (Sham + Warrior) - Suggested by Caperfin


  • I'll keep it updated here with stable versions for those of you who want to try: https://github.com/Rinkusan/AdvancedStats

    To turn it on, just type /stats Smile Click and drag.

    This is what it currently looks like!
    https://i.imgur.com/vbDPwsK.png

    As you can see it's not fancy, it's a simply frame with text in it. It can be moved wherever you want on the screen and it can also simply be hidden.
    The Information should update automatically by performing a number of actions, such as shapeshifting, receiving a buff or debuff, switching gear and so on and so forth.

    Hoping there is someone around who can help me or point me in the right direction with mentioned issues Smile

    10 Replies
    Caperfin
    Posts: 434
    (@caperfin)
    Reputable Member
    Joined: 1 year ago

    Unfortunately, I can't help with your dilemma but I fully support this addon. I can see this being very useful for many classes, personally it's exhausting staring at buffs and mind-mathing what my stats are without opening my entire toon sheet.

    Reply
    ClassicRaids
    Posts: 73
    (@classicraids)
    Trusted Member
    Joined: 2 years ago

    It looks like the event that you want to track may be "UNIT_INVENTORY_CHANGED". From https://wowwiki.fandom.com/wiki/Events_A-Z_(full_list) it says:
    Fired when the player equips or unequips an item... This event is also raised when a temporary enhancement (poison, lure, etc..) is applied to the player's weapon... If multiple slots are equipped/unequipped at once it only fires once now..
    Also note:
    This event is no longer triggered when changing zones or logging in. Inventory information is available when PLAYER_ENTERING_WORLD is triggered.
    So you may want to check for "PLAYER_ENTERING_WORLD" event if your stats aren't updating when you first enter the world.

    If "UNIT_INVENTORY_CHANGED" doesn't do it for you, there are a couple other events that you can track for individual stat changes like "UNIT_ATTACK_POWER", "UNIT_ATTACK_SPEED", "UNIT_DAMAGE", "UNIT_DEFENSE". Unfortunately not all of the stats you seem to be tracking appear to have their own events, at least not from the list above.

    If you're looking for more events to check, look at the URL provided above, it has all (at least it claims) events for wow. Do note, however, that not all of these work for Classic and some that do work slightly differently. Don't be afraid to Google a bit as you refine what you're looking for, that's what most of us do ๐Ÿ˜‰
    Best of luck to you!

    Reply
    Rinkusan
    Posts: 161
    Topic starter
    (@rinkusan)
    Estimable Member
    Joined: 2 years ago

    Thank you, sir, I will take a look at all of that after MC ๐Ÿ˜€

    Reply
    Pippina
    Posts: 1045
    Moderator
    (@pippina)
    Member
    Joined: 2 years ago

    I'm watching this addon. I'd love to have this displayed on my screen to double check stats before heading into fights.

    Can you make an option for it to display resistances as well? Lots of times I'm swapping gear out around resist fights, and yeah it's displayed in the character screen but with pally buffs coming on and falling off all the time due to range, it would be nice to just be able to eyeball it in real time along with the rest of the tank stats without keeping my character panel open.

    Reply
    Rinkusan
    Posts: 161
    Topic starter
    (@rinkusan)
    Estimable Member
    Joined: 2 years ago

    It looks like the event that you want to track may be "UNIT_INVENTORY_CHANGED".

    Tried this now, unfortunately having the same issues still. Thanks tho Smile
    If you're looking for more events to check, look at the URL provided above

    Thanks, I am aware of that list and also of the single Events. I'm not very savvy in this kind of thing, will registering lots and lots of events not be hard on performance?

    Reply
    Rinkusan
    Posts: 161
    Topic starter
    (@rinkusan)
    Estimable Member
    Joined: 2 years ago

    Pippina Resistances are added.

    Addon now correcty shows all Information at all times.
    Still only optimized for Druids at this point, other classes will only see current resistances.
    Will show Tanking Stats in Bear Form.
    Will show Crit, AP and Hit in Cat Form.
    Will show resistances while non-shifted/Boomkin/Aquatic.
    Will show a short string in Travel Form.

    Working on further improvements, who knew this would be so satisfying ๐Ÿ˜€

    Reply
    Caperfin
    Posts: 434
    (@caperfin)
    Reputable Member
    Joined: 1 year ago

    I'm watching this addon. I'd love to have this displayed on my screen to double check stats before heading into fights.

    oh shoot i didn't think about this YES! I can now scream at paladins when their aura is too far.

    Reply
    Rinkusan
    Posts: 161
    Topic starter
    (@rinkusan)
    Estimable Member
    Joined: 2 years ago

    I'm watching this addon. I'd love to have this displayed on my screen to double check stats before heading into fights.

    oh shoot i didn't think about this YES! I can now scream at paladins when their aura is too far.

    Just let me know what exactly you would like to have shown for sham Smile I will hardcode everything for now, since I think it will be tough to figure out how to actually make a menu Smile

    Reply
    Selexin
    Posts: 969
    (@selexin)
    Prominent Member
    Joined: 2 years ago

    I haven't been playing much lately, but this looks really good. If I jump on in next couple of days I'll check it out.

    Reply
    Caperfin
    Posts: 434
    (@caperfin)
    Reputable Member
    Joined: 1 year ago

    Just let me know what exactly you would like to have shown for sham Smile I will hardcode everything for now, since I think it will be tough to figure out how to actually make a menu Smile

    Remaining Lightning Shields or Block Value would be cool for shaman raid tank purposes.

    Reply
    Scroll to Top