PitBull Unit Frames 4.0

709 - Aura always showing time remaining, sometimes twice.

What steps will reproduce the problem?
1. Enable buff auras to be shown for a friend unit frame.
2. Cast a buff like Earth Shield (Resto Shaman) on that unit. Other timed buffs likely have the same problem, but this is the one I was dealing with.
3. Notice that the time remaining (10 minutes initially) will be displayed in the center of the aura display. This is apart from the configured display. For example, I have Pitbull4 configured to show the time remaining at the top left, and it does show up there in the aura display, but it also shows up in the exact center of the aura display. If I configure it to not show time remaining at all, the upper left goes away, but the center display of time remaining remains.

What is the expected output? What do you see instead?
Covered in item 3 above.

What version of the product are you using?
Pitbull 4.0 v4.0.0.0.beta8 (latest available on Curse)

Do you have an error log of what happened?
No.

Please provide any additional information below.
I am a programmer by trade, but do not have any experience with LUA at all. So, I got bored and tried playing around with this issue. What I found was that by editing the file Pitbull4_aura\Update.lua and specifically the local function set_aura(), I could get the spurious instance of the buff duration to go away. What I did in that function was, about half way down in it, comment out this block of code:

	count_text:SetText(count > 1 and count or "")

--[[ BDS - REMOVED FOR EARTHSHIELD TIMER
	if db.cooldown[rule] and duration and duration > 0 then
		local cooldown = control.cooldown
		cooldown:Show()
		cooldown:SetCooldown(expiration_time - duration, duration)
	else
		control.cooldown:Hide()
	end
--]]

	if db.cooldown_text[rule] and duration and duration > 0 then

However, since I don't really know anything about the system, I'm doubtful that this won't have other unrelated side-effects. Basically, this is where the problem is being caused, but my "solution" of commenting out that code is likely not a true fix for the problem. I leave that to you guys. :D

WoW is currently down for maintenance so I can't take a screenshot of the issue. If my description did not make it clear and you need a screen shot, I can post one later.

User When Change
Shefki Mar 17, 2010 at 02:24 UTC Changed status from Replied to Invalid
bstowers Mar 17, 2010 at 01:44 UTC Changed status from Waiting to Replied
Shefki Mar 16, 2010 at 22:57 UTC Changed status from New to Waiting
bstowers Mar 16, 2010 at 17:00 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 3 comments
  • Avatar of bstowers bstowers Mar 17, 2010 at 01:44 UTC - 0 likes

    That was it exactly. Thanks guys, sorry I didn't see the FAQ page before posting this.

  • Avatar of Shefki Shefki Mar 16, 2010 at 22:57 UTC - 0 likes

    I agree with Muphrid, you're almost certainly running OmniCC. You should install this addon to disable OmniCC on PitBull4 frames: http://wow.curse.com/downloads/wow-addons/details/omnicc_disable_pitbull4.aspx

    Added a FAQ entry to our FAQ for this now: http://www.wowace.com/addons/pitbull4/pages/faq/#w-how-do-i-stop-omni-cc-from-displaying-cooldown-timers

    Last edited Mar 16, 2010 by Shefki
  • Avatar of Muphrid Muphrid Mar 16, 2010 at 20:03 UTC - 0 likes

    This sounds very much like you have another addon (like OmniCC or CooldownCount) that would attach timers to any aura large enough for the addon to care. I know I personally set the scale threshold on my OmniCC rather high so I don't get its timers on Pitbull aura icons.

    The code you commented out looks like it turns on the cooldown spiral animation, which is what OmniCC would detect and attach a timer to. Since commenting this code out removes the animation, OmniCC would have nothing to attach a timer to, thus "fixing" the problem.

  • 3 comments

Facts

Last updated
Mar 17, 2010
Reported
Mar 16, 2010
Status
Invalid - This was not a valid report.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0
Component
Aura

Reported by

Possible assignees