brendanblackwood / oUF_Hank

8 stars 2 forks source link

Boss focus error #4

Open edgarrin opened 11 years ago

edgarrin commented 11 years ago

Issue explained here: http://www.wowinterface.com/downloads/info21474-oUF_HankFanUpdatefor5.0.html#comments

Here is the code from BugSack:

87x oUF_Hank_v3-5.0.5\hank_v3.lua:183: attempt to index field "?" (a nil value) oUF_Hank_v3-5.0.5\hank_v3.lua:183: in function "func" oUF-1.6.0\ouf-1.6.0.lua:158: in function <oUF\ouf.lua:149> (tail call): ?

FrameXML\SecureStateDriver.lua:83: in function FrameXML\SecureStateDriver.lua:137: in function Locals: self = oUF_boss1 { 0 = __tags = {} PLAYER_ENTERING_WORLD = @oUF\ouf.lua:149 unit = "boss1" UNIT_PET = @oUF\ouf.lua:175 healthFill =
{} RaidIcon = {} __elements =
{} onUpdateFrequency = 0.5 power = {} __eventless = true name = {} UNIT_ENTERED_VEHICLE = @oUF\ouf.lua:38 style = "Hankv3" health =
{} id = "1" colors =
{} UNIT_EXITED_VEHICLE = @oUF\ouf.lua:38 menu = @oUF_Hank_v3\hank_v3.lua:90 } event = "OnShow" unit = "boss1" (for generator) = =[C]:-1 (for state) =
{ 1 = @oUF_Hank_v3\hank_v3.lua:171 2 = @oUF\elements\tags.lua:450 3 = @oUF\elements\ricons.lua:58 } (for control) = 1 _ = 1 func = @oUF_Hank_v3\hank_v3.lua:171
brendanblackwood commented 11 years ago

I haven't been able to reproduce this. In case it's due to an older version of the code, I've updated the addon on wowinterface to have the most recent code (includes some vehicle health fixes and such). Let me know if you are still having the problem, and maybe we can trace it down to something specific.