The bars still get smaller according to their time.
For example. 10min buffs the bars get quicker shorter than 30min buffs, so that is still correct.
Except the time value is incorrect shown.
It may sound a bit harsh but I wont fix this version nor will I give permission to have modified versions hosted. ElkBuffBars is the current version and I see no point in going on using this one as the new one provides the same look if one doesn't change any settings. (besides the flashing but that shall be back, soon)
It may sound a bit harsh but I wont fix this version nor will I give permission to have modified versions hosted. ElkBuffBars is the current version and I see no point in going on using this one as the new one provides the same look if one doesn't change any settings. (besides the flashing but that shall be back, soon)
This may sound harsh but i beg to differ. I hate the split up bars all the excessive configuration for something that should be simple bars. Hence why i perfer ElkBuffBar. Nice and simple and does everything you want it to do. I changed over from CT_BuffBar and it had the same principle but i was looking at Ace mods that did the same thing.
But onto a fix note. Blizzard added a new API for formatted strings. So
at line 543 change
duration:SetText(SecondsToTimeAbbrev(timeleft))
to
duration:SetFormattedText(SecondsToTimeAbbrev(timeleft))
not sure if any other parts need it.. Will update this post as neccessary.
I agree, and I know a lot of other people who do. The old version does everything the new one does but simpler. The only reason to use the new one is if you want to split things up, and not many of us do.
Agreed. I noticed the old version was not in my installed mods list (and saw that it was in the non-installed list.) I installed that one to learn that the old version went poof and the new one just has too much unneeded changes.
But onto a fix note. Blizzard added a new API for formatted strings. So
at line 543 change
duration:SetText(SecondsToTimeAbbrev(timeleft))
to
duration:SetFormattedText(SecondsToTimeAbbrev(timeleft))
Actually that doesn't need to be changed. The intended use of SetFormattedText is like this:
TextString:SetText(string.format("%s and %s", "x", "y")) ---> TextString:SetFormattedText("%s and %s", "x", "y")
There's no formatting going on in the lines you posted. SecondsToTimeAbbrev is not a string.format -- it's a call to another function that returns a string.
but the formating used to be done in the function itself but with :SetFormatedText() available this is no longer done and the function returns the args to be passed either into string.format() or :SetFormatedText()
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Since the new patch 2.3 ElkBuffBar doesn't show time value anymore.
As you can see in the screenshot it shows %d instead of the time.
http://img220.imageshack.us/img220/2938/wowscrnshot111407153448ud5.jpg
Anyone know how to fix this?
I would appreciate it.
I like ElkBuffBar more than ElkBuffBars and it would be nice to get this simple thing fixed.
Thanks,
Cryss
For example. 10min buffs the bars get quicker shorter than 30min buffs, so that is still correct.
Except the time value is incorrect shown.
I too prefer this version over the new one.
This may sound harsh but i beg to differ. I hate the split up bars all the excessive configuration for something that should be simple bars. Hence why i perfer ElkBuffBar. Nice and simple and does everything you want it to do. I changed over from CT_BuffBar and it had the same principle but i was looking at Ace mods that did the same thing.
But onto a fix note. Blizzard added a new API for formatted strings. So
at line 543 change
duration:SetText(SecondsToTimeAbbrev(timeleft))
to
duration:SetFormattedText(SecondsToTimeAbbrev(timeleft))
not sure if any other parts need it.. Will update this post as neccessary.
Actually that doesn't need to be changed. The intended use of SetFormattedText is like this:
TextString:SetText(string.format("%s and %s", "x", "y")) ---> TextString:SetFormattedText("%s and %s", "x", "y")
There's no formatting going on in the lines you posted. SecondsToTimeAbbrev is not a string.format -- it's a call to another function that returns a string.