Vestaryn 0 Report post Posted September 30, 2014 Can anyone help me do a weakaura or tmw which will look for a Tank or Healer death to alert me? I don't notice straight away so would appreciate a little nudge. Thanks Quote Share this post Link to post Share on other sites
Krazyito 521 Report post Posted September 30, 2014 For a death in general it would be easy. But only a specific subset of the raid? thats probably a bit more difficult. The problem with that is the aura would probably take way too many resources for something so simple. Here is what it would have to do: If in the WoW API there is something that can be based on "Role" then it may be a bit simpler then I think (I'll look into it) If #1 does not exist then we would have to cycle through the entire raid and check what spec each person is and tell the aura only alert if these specific specs are dead. -This measn I would have to write up code to store the names of each person in a list to check for their death. Or just cycle through a loop for the whole raid every frame (which would take even more resources) While technically its probably doable, Its really not worth the time / resources to make when you can simple pay attention to the raid bars. The other option is just to tell you when SOMEONE (regardless of role) in the raid is dead and just print their name in an aura somewhere on your screen. Quote Share this post Link to post Share on other sites
Krazyito 521 Report post Posted September 30, 2014 I found the relevant API functions. I'll give it a shot and see if its too complicated or not. Quote Share this post Link to post Share on other sites
Vestaryn 0 Report post Posted September 30, 2014 Thanks bud Quote Share this post Link to post Share on other sites
Krazyito 521 Report post Posted September 30, 2014 Alright. Here is the deal. Basically, as a programmer, I don't like some of the way this aura works becasue i feel it may be wasting too many resources. (Maybe its not actually a big deal). Just as a standard practice, I wouldn't want to offically make something like this, but it does what you want even if its pretty inefficient. For you as a non-programmer, it probably wont matter. It does what you want and as long as you don't see a terrible difference in your frame rate / resources, its fine for you and you might not see a difference. I still had to cycle through every single raid member and I still had to do it every frame. To me, I don't like this becasue I feel like it should only be checked once, when someone dies. Unfortunately, I could not find the event that fired when a person dies. So I had to do it every frame. I had found something that could tell me what 'role' that person was, which made it simpler than checking for specific specs. But, I had to cycle through every person in the raid. This I'm more ok with than the other part, since the information of the raid had to be stored somewhere, may as well do it when i want to check (but again its doing this check, on every raid member, on every frame) Features: It will instantly appear when someone is dead and display their name (even multiple people It disappears when your combat res is on CD (Should work for druid/warlock/DK, though only tested druid) It disappears when the people are not dead You can use the built in WA check boxes to show only in combat or all the time. It (should) NOT show up for any class other than Druid/Warlock/DK KNOWN BUG: I unfortunately could not figure out how to get it to NOT show up after all your allotted battle reses were used. If your battle res is NOT on CD AND you have used all your resurrections, it WILL appear on your screen. d80OvaGiurpskHUeQG0OeOoLaAwsk3cr2fLOFja1WqsDmuvSmbWZeuyAOcDnevTnbL(MKqJdrjNdvvnpbi5Eus7tsGdkL0cLe5HcKjkO6IOQYgLevFejXiruPtsjSsHEjIsntuvYnLee7ejPFkOOHkPQLIO4PuQPkixfrfBvsu8vuboRKGYArfuVvsuAUcqCxubXEr4VsPgmCyclwk6XsvtgPUmvBgv5ZOsJwuoTeVwkbZMu3wQSBI(nfdxsA5I8CsMokxxuTDjv(Uuy8sj68iX6rvPEVKG08fGu3xsq1(vtWhIqe2De20e20eHiSZLSuHlxpreIWUpxXmDe28YL9SIrgCGhhJX44ymgAtVqpumrIfQ051g05jbRyKdRdQRnO(4ymgKiv55swXihgPMYGLkC56j1OrMlhktNBK(GU4QHjnsUkpL8EMAeCtVxKR8HH3OE(Q1km(rM2HZVwdpGBLVSOYWVHxNlzbECmgdTPxOhTRnCjxDrLfKwOudRdYrwybPfkvWCwvlO4jodCqI0GRZudwMpQQfu8KA0Rfk1XXymk8gUKRUOYcsluQHvRdodNmKJfHZ5GL5YJJXymgJHIjsSqLoV2GopjyfJCyDqfNzx116GmgnTPHm4aqnhjlog4GePbxNnsEZsILn6ngnTPH84ymgUw5fEdxYvxuzbPfk1WQ1bNCqRKHVcZGiBohSmxECmgJXymumrIfQ051g05jbRyKdRdQ4m7QUwhKXOPnnKbhaQRi1vmWbjsdUoBOm5AfZi9rVXOPnnKhhJXW1kVWB4sU6IkliTqPgwTo4mC(1AiYLSPQfuHCdX5GL5YJJXymgJHIjsSqLoV2GopjyfJCyDqfNzx116GmgnTPHm4WYh(ZF(h4GePbxNnsIIYhcTMYO3y00MgYJJXy4s6JJXyCCmgJcVrWkMiXcv68rfmOEiK0d68KGvmYrfmOoWblZLdsKg0MH0WY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bG8e2fAcBBtNBK(OOgH7cAcBkHjpEkNrqvsHb5P2sQjlYZroY)aWhYQIKNWUrHMLru5vmSKN)8pSuhgKN8vKScqyjpzrWJehdlHTGMUWkgPq3MLkC56jfricgHTmVluQWLRNueuLpe20fvvTGIf9gjHTfsMN4j69aIf9gPkGyx1162uvWYtEBY4fzVijfSIrsyRyI(wqvVPize2bXpQgIFKHGryRiSdGLuBzfjSRJGQ8HJ8HAcgbb Regardless, it was a nice little puzzle for me to solve, I enjoyed trying to figure out how to get it to work correctly. Hope it does what you wanted (and i still think you should just be more mindful of your raid frames) =P Quote Share this post Link to post Share on other sites
Vestaryn 0 Report post Posted September 30, 2014 Appreciate that thanks, I try to look at raid frames but it can be a 20-30 secs between glances for me and that's a long time to be without a tank so I just want to be better at combat ressing. I do accept I will never be a world class player, I am just doing what I can with my weak points to make sure other people in lfr/flex don't suffer for my inability to check health frames. Thank you for all your help. Quote Share this post Link to post Share on other sites
Krazyito 521 Report post Posted September 30, 2014 Make sure to let me know if something is wrong with it. Quote Share this post Link to post Share on other sites