Twintop's Insanity Bar is now Twintop's Resource Bar!
A multi-class resource bar, based on my (Twintop's) previous Shadow Priest Insanity Bar WeakAura set from Legion.
Currently supported specs:
- Balance Druid
- Elemental Shaman
- Marksmanship Hunter, Survival Hunter
- Shadow Priest
This is a fully customizable resource bar for multiple classes and specs to use to track their primary resource while in combat. Features include:
- Full color, font, and texture customization of every part of the bar to make it suit your UI or make certain situations stand out.
- Audio and visual cues for when important spells (e.g. Devouring Plague, Earth Shock) can be cast.
- Time To Die of enemies you've targeted
- Spell icons for your current casting spell and many others that are related to your primary resource or for tracking.
Spec specific features included for Shadow Priests:
- Calculates how long you have left until Voidform will end in Hungering Void, given the current Haste and Crit levels
- Tracks Shadowy Apparition spawns (with Auspicious Spirits talented) and incoming Insanity as a result.
- Tracks Shadowfiend/Mindbender swings and expected incoming Insanity from future swings.
Bar text can be configured to show the following data in whatever format you'd like:
- Current resource, mas resource, resource from Hardcasting a spell, resources incoming from Passive Sources (e.g. Auspicious Spirits, Shadowfiend/Mindbender, Death and Madness, and Eternal Call to the Void procs)
- Current Haste%, GCD, Crit%, Mastery%
- Number of Damage over Time spells out on targets
- Time To Die of enemies you've targeted
- Spell icons for your current casting spell and many others that are related to Insanity or tracking.
Looking to customize the bar's text? Be sure to check out the wiki! https://github.com/Twintop/TwintopInsanityBar/wiki/Bar-Text-Customization
In reply to Forge_User_10679060:
Hey there! I'm working on a new release right now for tonight (hopefully) that should address all of these, but I want to touch on them individually:
I've got some ideas in my head but with the way bar text logic currently works, the way I *want* to solve it isn't possible as of right now (multiple variables being checked at once).
What I can do is add a new bar text variable for Surrender to Madness (probably $s2m and some variants) so that you can add something like the following to your bar text to have TTD on when you're using S2M:
{$s2m}[TTD: $ttd]
Keep in mind that the way this will *always* show, unlike the current implementation where it only shows if you have a target with an active TTD estimate.
(Also, the 'character data refresh rate' slider seems to be bugged, at least on beta.)
Thanks for the heads up! I'll have it fixed in the next build.
Edit: also, Mind Blast gives 8 insanity, but the addon seems to think it's 7.
This is a live vs. beta difference, currently. I've got a branch ready to merge in with Mind Blast, Searing Nightmare, Void Torrent, and Auspicious Spirits changes once Blizzard unifies the two.
In reply to TwintopTahoe:
Ah, yeah sorry I didn't know the retail/live differences as I'm only testing shadowpriest now on beta.
Regarding TTD: the text seems to always show right now too, just that it falls back to a "--" string whenever there's no actual TTD to display, so I don't understand how it would differ from current implementation. On that note though, I feel like it'd be cleaner if it fell back to an empty string instead
In reply to Forge_User_10679060:
The way I have it setup in the "Advanced" default text is with a check for a TTD value before displaying, i.e.
{$ttd}[TTD: $ttd]
So if it is empty (or displayed as "--"), it isn't a valid variable and isn't shown.
EDIT: Submitted too soon. Finishing my thought.
The way I see it, if there's an expected value (whether it is 0, --, 0:00, or something similar) then something should render there. It's up to the logic in the rest of the bar text to filter what is shown when. The issue I was referring to in my previous post was that a solution like
{$ttd&$s2m}[TTD: $ttd]
Would be ideal, but right now the logic in the bar text doesn't support multiple logic tests. I have plans to address that, though.
In reply to TwintopTahoe:
Ah I see, yeah this sounds reasonable from a dev perspective. You probably don't want to be messing with things returning empty strings and whatnot to avoid having to untangle a mess later on, rather delegate the validation and formatting to the element responsible for display.
In reply to Forge_User_10679060:
Yep! It's on me for providing an easy way to ensure what people want to have displayed is possible, though. :)
The new $s2m variable has been added in 9.0.2.22-release. Hope this does the trick or tides you over until I can work on some more advanced bar display logic functionality!
Hi, any chance to add "Insanity Text Colors" options for when DP and when SN is castable for Shadow Priests?
In reply to Nana_is_Bae:
Hi there. Sure can! I've added it to the to-do list to add this for all 3 specs. Thanks for the suggestion!
In reply to Nana_is_Bae:
This is now an option in 9.0.2.18-release. Cheers!
In reply to TwintopTahoe:
Sorry to bother you with this again but could you make it so that even when you are using "$insanityPlusCasting" and your current Insanity is at >=50 it will also change the color of the text and not just when using "$insanity"?
In reply to Nana_is_Bae:
Sure. I'll have a look and make sure that is behaving properly for the next release.
In reply to TwintopTahoe:
Added in 9.0.2.22-release
If I reset my balance druid bar to default, will that set my shadow priest's bar to default as well? Or are the settings separate?
In reply to Forge_User_67883954:
Hi Cyntech, all of the settings are separate, everything from position and size to text and colors! The only settings that are shared are those listed under the main "Options" menu -- frame strata, audio channel, character data refresh rate, and time to die.
EDIT: As an FYI, I'm fixing a bug with resetting to defaults not resetting things completely. The fix should be in 9.0.2.16-release in a few minutes.
EDIT2: 9.0.2.16-release is out now! :)
Hi not sure whats wrong with the addon or whats causing it to do this but everyone I reload or log back into my character the bar resets to a position I had ages ago, Ive tried doing a fresh clean on all addons and weakauras and deleting .luas but it still ends up doing the same thing and I cant keep it in the spot I want. Would you know what could be causing this?
In reply to Theodyssey13:
Hey, thanks for reporting this. I've been able to reproduce it and am working on a fix for it.
In the meanwhile, as annoying/inconvenient as it might be, instead of moving the bar via drag & drop you can change it's location via the settings menu sliders or textbox (be sure to press enter after typing a number!).
EDIT: 9.0.2.16-release is out now! :)
This addon died for me like a week ago or so, and I just can't get it to start again. Not even if I throw away all the associated files and do a clean reinstall.
I've also tried to disable all other addons and only running this one. I get 4 different error messages when I start up, although 3 of them are are null messages.
Message: (null)
Time: Fri Oct 2 09:24:11 2020
Count: 3
Message: ...ace\AddOns\TwintopInsanityBar\TwintopInsanityBar.lua:3: CreateFrame(): Couldn't find inherited node "BackdropTemplate"
Time: Fri Oct 2 09:24:01 2020
Count: 1
Stack: ...ace\AddOns\TwintopInsanityBar\TwintopInsanityBar.lua:3: CreateFrame(): Couldn't find inherited node "BackdropTemplate"
[string "=[C]"]: in function `CreateFrame'
[string "@Interface\AddOns\TwintopInsanityBar\TwintopInsanityBar.lua"]:3: in main chunk
Locals: (*temporary) = "Frame"
(*temporary) = "TwintopInsanityBarFrame"
(*temporary) = UIParent {
0 = <userdata>
firstTimeLoaded = 1
}
(*temporary) = "BackdropTemplate"
In reply to Trouler_Darkhand:
You are/were most likely using some other addon that added in bar textures/background textures/fonts and removed that. If you were using these in the bar, it will throw these errors. I'd recommend (especially if you didn't customize bar text) resetting the bar to default values. If you can't get at it from the configuration screen, typing "/tib reset" should prompt you.
In reply to Trouler_Darkhand:
I also forgot to mention, if that doesn't work you could try deleting your settings lua file ( WTF\Account\ACCOUNT_NAME\SavedVariables\TwintopInsanityBar.lua) and it should restore with defaults.
In reply to TwintopTahoe:
As I mentioned, I have already tried this.
I just tried again. I deleted my .lua, booted up the game, loaded ONLY this addon. I get these errors, and since the addon could not load, doing any commands related to the addon simply just gives me the default Blizzard info "Type '/help' for a listing of a few commands."
I even tried on a character I haven't logged on since Pandaria, so it's never even had the addon before.
In reply to Trouler_Darkhand:
"Clean install" means different things to different people, I was simply making sure the config LUA file being incorrect was not the culprit.
Can you open up the .TOC and tell me what version of the game and of the addon it says you're using? Blizzard changed how frame backdrops work in Shadowlands so I had to make some changes. I'm wondering if you might have a 9.0.2 version of the addon instead of 8.3.7.