Download
(4 Kb)
Download
Updated: 07-23-13 11:59 AM
Pictures
File Info
Compatibility:
Escalation (5.3)
Updated:07-23-13 11:59 AM
Created:06-22-13 03:08 PM
Downloads:664
Favorites:7
MD5:
Intoxicated
Version: 1.03
by: Malsomnus [More]
I was pretty happy when Blizzard added the Stagger bar for monks... until I realized it has an annoying delay. So I decided to just make a full kit for monk tanks who have to keep tabs on oh so many things.
I haven't tested, but I think this should now work for client languages other than English.

This currently tracks:
* Stagger - total damage
* Shuffle - time left
* Elusive Brew - stacks/ time left
* Vengeance - value and time left
* Guard - value and time left
* Zen Sphere - time left
* Dampen Harm - stacks/ time left
* Fortifying Brew - time left

If there's anything else you'd like to see tracked on this add-on, don't hesitate to comment!


_________________________________________

Have you seen my other add-ons yet?
SanityCheck - Of course you know how to play your class, but there is just so much to remember!
Raidbot - The right way to raid!
Flaskaholic - Flasks are expensive, stop wasting them!
Surprise - What does this add-on do? There is only one way to find out!
MooTrack - The simple, lightweight way to keep track of buffs and debuffs!
MagicMarker - One configurable tool for all your automatic marking needs!
v1.03
* Maybe now it will work for other languages too

v1.02
* Serious code improvements, which should probably help this support languages other than English
* Added bars for Dampen Harm and Fortifying Brew, plus split Elusive Brew into 2 bars (one for the stacks and one for the actual buff)

v1.01
* Added bars for Guard and Zen sphere.
* Right-click menu allows you to show/ hide any of the bars.
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Author
Date
1.02
4kB
Malsomnus
07-20-13 07:29 AM
1.01
4kB
Malsomnus
07-01-13 04:26 PM
1.00
3kB
Malsomnus
06-22-13 03:08 PM


Post A Reply Comment Options
Old 07-26-13, 04:55 AM  
Malsomnus
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 166
File comments: 57
Uploads: 18
I would agree completely, if this add-on wasn't strictly for monks. If my code had to handle even 2 different classes, I'd do it the way you said
__________________
SanityCheck - Never again find yourself tanking Garrosh Hellscream in a wedding dress and a fishing rod!

Remember, every time you post a comment on an add-on, a kitten gets its wings!
Malsomnus is offline Report comment to moderator  
Reply With Quote
Old 07-26-13, 04:26 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1304
File comments: 3287
Uploads: 84
Those strings are constants. They will not change ever. Plus you know exactly what class you are looking at. With number you always have to keep an index of number to classname to check which class is what. Tedious later on imo.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is online now Report comment to moderator  
Reply With Quote
Old 07-24-13, 06:44 AM  
Malsomnus
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 166
File comments: 57
Uploads: 18
Actually I fixed it to use the third return value. Numbers just seem more trustworthy
(This return value is not documented in wowprogramming)
__________________
SanityCheck - Never again find yourself tanking Garrosh Hellscream in a wedding dress and a fishing rod!

Remember, every time you post a comment on an add-on, a kitten gets its wings!
Malsomnus is offline Report comment to moderator  
Reply With Quote
Old 07-24-13, 04:35 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1304
File comments: 3287
Uploads: 84
Just do

Lua Code:
  1. if select(2, UnitClass("player")) ~= "MONK" then return end

UnitClass has more return values. The second return value is the same in any language.
http://wowprogramming.com/docs/api/UnitClass
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 07-24-13 at 04:35 AM.
zork is online now Report comment to moderator  
Reply With Quote
Old 07-23-13, 10:50 AM  
Malsomnus
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 166
File comments: 57
Uploads: 18
That might work, yeah, but I'm already fixing it
__________________
SanityCheck - Never again find yourself tanking Garrosh Hellscream in a wedding dress and a fishing rod!

Remember, every time you post a comment on an add-on, a kitten gets its wings!
Malsomnus is offline Report comment to moderator  
Reply With Quote
Old 07-23-13, 10:43 AM  
Digawen
A Kobold Labourer

Forum posts: 1
File comments: 12
Uploads: 0
So if I changed just from Monk to Mönch, would it have to work? ^^
Great !

Then I must probably finish my work fast and go home... ^^

I have replaced it with weakaura.

http://sunniersartofwar.com/brewmaster-weak-auras/

The Stagger Percentage i find very interesting.
Last edited by Digawen : 07-23-13 at 10:44 AM.
Digawen is offline Report comment to moderator  
Reply With Quote
Old 07-23-13, 10:30 AM  
Malsomnus
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 166
File comments: 57
Uploads: 18
Oh crap... the other non-localized string is:
Lua Code:
  1. if UnitClass('player')=='Monk' then
^^

I will patch this up ASAP, thanks for the report
__________________
SanityCheck - Never again find yourself tanking Garrosh Hellscream in a wedding dress and a fishing rod!

Remember, every time you post a comment on an add-on, a kitten gets its wings!
Malsomnus is offline Report comment to moderator  
Reply With Quote
Old 07-23-13, 10:17 AM  
Digawen
A Kobold Labourer

Forum posts: 1
File comments: 12
Uploads: 0
To say exactly, nothing appears generally.
No window or a bar or similar.

I thought that would hang together with the localization.
Digawen is offline Report comment to moderator  
Reply With Quote
Old 07-23-13, 05:09 AM  
Malsomnus
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 166
File comments: 57
Uploads: 18
I thought after the last version nearly everything should work in the local language. Is there anything that still appears in English except "Stagger" and "Options"?

My German isn't very good (I know only 3 words), so if you translate the strings for me, I'll go learn how to do localization
__________________
SanityCheck - Never again find yourself tanking Garrosh Hellscream in a wedding dress and a fishing rod!

Remember, every time you post a comment on an add-on, a kitten gets its wings!
Malsomnus is offline Report comment to moderator  
Reply With Quote
Old 07-23-13, 04:24 AM  
Digawen
A Kobold Labourer

Forum posts: 1
File comments: 12
Uploads: 0
I would be very happy about a German localization.


If I were to translate any things, then I'll do it gladly.
And sorry for my bad english.
Last edited by Digawen : 07-23-13 at 04:26 AM.
Digawen is offline Report comment to moderator  
Reply With Quote
Old 07-02-13, 07:12 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1304
File comments: 3287
Uploads: 84
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is online now Report comment to moderator  
Reply With Quote
Old 07-02-13, 05:31 AM  
Malsomnus
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 166
File comments: 57
Uploads: 18
That's useful advice, thank you
Finding up-to-date info on the API seems to be pretty hard. I generally work with wowprogramming.com and UnitStagger() does not even appear there. Makes me wonder how many useful API functions I've been missing...

Frankly, I haven't given any thought to internationalization of my add-ons yet because I figured it was a lot of effort when I don't even know if anybody wants them in another language in the first place. But in this case the method you suggest is more correct anyway, so I think this will see a new version soon.
Malsomnus is offline Report comment to moderator  
Reply With Quote
Old 07-02-13, 02:04 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1304
File comments: 3287
Uploads: 84
Patch 5.2 added a new function you might find useful:
http://www.wowpedia.org/API_UnitStagger

Additionally I can suggest that you work with spellids and use GetSpellInfo to extract the localized name of the spell you want to track.

Currently your addon works in English only because you hardcoded the spellnames.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 07-02-13 at 02:10 AM.
zork is online now Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.