Regional Flag2.3 UI addon errorSource
avatar
Balyn
Target Source
#0 - 2007/10/13 11:34:49 PM
Getting the following errors when Spell Alert loads on the test server. It's working fine in version 2.2.

Interface\AddOns\SpellAlert\SpellAlert.lua:945: attempt to index global 'AlertFrame' (a nil value)

Stack trace:
-----------
[string "*:OnValueChanged"]:2: in function <[string "*:OnValueChanged"]:1>
[C]: in function `SetMinMaxValues'
[string "*:OnLoad"]:4: in function <[string "*:OnLoad"]:1>



Interface\AddOns\SpellAlert\SpellAlert.lua:938: attempt to index global 'AlertFrameText' (a nil value)

Stack trace:
-----------
[string "*:OnValueChanged"]:2: in function <[string "*:OnValueChanged"]:1>
[C]: in function `SetMinMaxValues'
[string "*:OnLoad"]:4: in function <[string "*:OnLoad"]:1>



The errors refer to the following 2 lines of code in the SpellAlert.lua file:

AlertFrame:ClearAllPoints();

and

AlertFrameText:SetFont("Fonts\\FRIZQT__.TTF", SAConfig.zoom, shadow);


Anybody know how to fix this?

avatar
Blue Poster
Target Source
#1 - 2007/10/14 12:00:22 AM
Yep, it's on our list to fix. Thanks for the report!

avatar
Blue Poster
Target Source
#2 - 2007/10/15 06:20:37 PM
Fixed for 2.3 release, thanks!