PitBull Unit Frames 4.0

981 - 64 bit client error with bars

What steps will reproduce the problem?
1.Target a hostile
2.
3.

What is the expected output? What do you see instead?
unit frame appearing normal.  target frame errors appear instead

What version of the product are you using?
most recent update

Do you have an error log of what happened?

...terface\AddOns\PitBull4\Controls\BetterStatusBar.lua:129 TexCoord out of range
Time: 02/02/12 21:17:07
Count: 1
Stack: [C]: in function `SetTexCoord'
...terface\AddOns\PitBull4\Controls\BetterStatusBar.lua:129 in function <...terface\AddOns\PitBull4\Controls\BetterStatusBar.lua:124
...terface\AddOns\PitBull4\Controls\BetterStatusBar.lua:144 in function `?'
...terface\AddOns\PitBull4\Controls\BetterStatusBar.lua:262 in function `SetValue'
...terface\AddOns\PitBull4\Controls\BetterStatusBar.lua:942 in function <...terface\AddOns\PitBull4\Controls\BetterStatusBar.lua:941
[C]: in function `Show'
Interface\FrameXML\SecureStateDriver.lua:83 in function <Interface\FrameXML\SecureStateDriver.lua:73
Interface\FrameXML\SecureStateDriver.lua:137 in function <Interface\FrameXML\SecureStateDriver.lua:119

Locals: (*temporary) = PitBull4_Texture_16 {
 0 = <userdata>
 Delete = <function> defined @Interface\AddOns\PitBull4\Controls\Controls.lua:107
 kind = "Texture"
}
(*temporary) = 0
(*temporary) = 0
(*temporary) = 0
(*temporary) = 1
(*temporary) = -1.#IND
(*temporary) = 0
(*temporary) = -1.#IND
(*temporary) = 1

Please provide any additional information below.

User When Change
Stanzilla Feb 03, 2012 at 11:18 UTC Changed assigned to from ckknight to Shefki
icekold Feb 03, 2012 at 05:22 UTC Create

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

  • 1 comment
  • Avatar of LemonKing LemonKing Mar 17, 2012 at 22:39 UTC - 0 likes

    I put together a fix for users with the 64bit client having this issue still.

    Its a little hacky, but gets the job done for now.

    In ..\Addons\Pitbull4_PowerBar\PowerBar.lua - line: 118

    Change:

    return get_power_and_cache(unit) / UnitPowerMax(unit)
    

    To:

    	local v1 = get_power_and_cache(unit)
    	local v2 = UnitPowerMax(unit)
    	if ( v1 == 0 ) and ( v2 == 0 ) then
    		v1 = 0
    		v2 = 1
    	end
    	return v1 / v2
    
    Last edited Mar 17, 2012 by LemonKing
  • 1 comment

Facts

Last updated
Mar 30, 2012
Reported
Feb 03, 2012
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
1

Reported by

Possible assignees