This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?1. Joining a raid or bg2.3.
What is the expected output? What do you see instead? error on threat status update
What version of the product are you using? 540
Do you have an error log of what happened? yes. the how to file tickets link said i didn't have permission. This is my first ticket filing ever. Hope I did it right.
Please provide any additional information below.
Message: Interface\AddOns\Grid2\modules\StatusThreat.lua:31: Usage: UnitThreatSituation("unit" [, "mob"])Time: 10/20/10 10:56:21Count: 206Stack: [C]: in function `UnitThreatSituation'Interface\AddOns\Grid2\modules\StatusThreat.lua:31: in function `IsActive'Interface\AddOns\Grid2\GridIndicator.lua:75: in function `GetCurrentStatus'Interface\AddOns\Grid2\GridIndicator.lua:112: in function `Update'Interface\AddOns\Grid2\GridFrame.lua:241: in function `UpdateIndicators'Interface\AddOns\Grid2\GridFrame.lua:30: in function <Interface\AddOns\Grid2\GridFrame.lua:22>[C]: in function `SetAttribute'Interface\FrameXML\SecureGroupHeaders.lua:198: in function <Interface\FrameXML\SecureGroupHeaders.lua:115>Interface\FrameXML\SecureGroupHeaders.lua:610: in function `SecureGroupPetHeader_Update'Interface\FrameXML\SecureGroupHeaders.lua:472: in function <Interface\FrameXML\SecureGroupHeaders.lua:470>
Locals: (*temporary) = "raidpetpet3"
I believe the problem is related to the fact that pets do not display. I was unable to pinpoint the issue.
I hope to have worked around the Blizzard bug that produce this error in rev543.
Pets are visible and interactive in Grid. :)
However, this error still occurs when taking portals or zoning into instances while you have pets in your party/raid. It does not appear to occur otherwise.
I have rev545 testing and it is not fixed in this as I still am getting the same bugs reported in accordance to this.
17x Grid2-Grid2 v545\modules\StatusThreat.lua:31: Usage: UnitThreatSituation("unit" [, "mob"]) Grid2-Grid2 v545\modules\StatusThreat.lua:31: in function `IsActive' Grid2-Grid2 v545\GridIndicator.lua:75: in function `GetCurrentStatus' Grid2-Grid2 v545\GridIndicator.lua:112: in function `Update' Grid2-Grid2 v545\GridFrame.lua:241: in function `UpdateIndicators' Grid2-Grid2 v545\GridFrame.lua:290: in function `?' CallbackHandler-1.0-6:147: in function <...ags\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147> <string>:"safecall Dispatcher[3]":4: in function <[string "safecall Dispatcher[3]"]:4> <in C code>: ? <string>:"safecall Dispatcher[3]":13: in function `?' CallbackHandler-1.0-6:92: in function `SendMessage' Grid2-Grid2 v545\GridRoster.lua:193: in function `?' CallbackHandler-1.0-6:147: in function <...ags\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147> <string>:"safecall Dispatcher[2]":4: in function <[string "safecall Dispatcher[2]"]:4> <in C code>: ? <string>:"safecall Dispatcher[2]":13: in function `?' CallbackHandler-1.0-6:92: in function `Fire' AceEvent-3.0-3 (AdiBags):120: in function <...ce\AddOns\AdiBags\libs\AceEvent-3.0\AceEvent-3.0.lua:119>
Hi,
I have a hack that at least removes the error, by doing some extra sanity checking in StatusThreat. Note the "if(unit and UnitExists(unit)) then" line:
function Threat:IsActive(unit) if(unit and UnitExists(unit)) then local threat = unit and UnitThreatSituation(unit) if (threat and threat > 0) then return "blink" end end end
Fix implemented in rev551
Thanks Potje
To post a comment, please login or register a new account.