Resike / Z-Perl

World of Warcaft unitframe addon
https://www.curseforge.com/wow/addons/zperl
GNU General Public License v3.0
23 stars 21 forks source link

7.3.1 error in options #171

Closed zeenk closed 2 months ago

zeenk commented 2 months ago

Thanks for the first round of updates to get it working again in 11.0.2 😄

However, I just found got another error when I open the options with /zperl command and it only triggers when you are on the "Global" tab

1x ZPerl_Options/ZPerl_FrameOptions.lua:1036: attempt to call global 'GetSpellTexture' (a nil value)
[string "@ZPerl_Options/ZPerl_FrameOptions.lua"]:1036: in function `XPerl_Options_GetRangeTexture'
[string "*ZPerl_FrameOptions.xml:4114_OnLoad"]:5: in function `ShowMe'
[string "*ZPerl_FrameOptions.xml:4189_OnShow"]:1: in function <[string "*ZPerl_FrameOptions.xml:4189_OnShow"]:1>
[string "=[C]"]: in function `Show'
[string "@ZPerl/ZPerl.lua"]:1341: in function `XPerl_UnlockFrames'
[string "@ZPerl/ZPerl.lua"]:1310: in function `XPerl_Toggle'
[string "@ZPerl/ZPerl_Slash.lua"]:18: in function `?'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5468: in function <Blizzard_ChatFrameBase/Mainline/ChatFrame.lua:5414>
[string "=[C]"]: in function `ChatEdit_ParseText'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5120: in function <Blizzard_ChatFrameBase/Mainline/ChatFrame.lua:5119>
[string "=[C]"]: in function `ChatEdit_SendText'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5156: in function `ChatEdit_OnEnterPressed'
[string "*ChatFrame.xml:140_OnEnterPressed"]:1: in function <[string "*ChatFrame.xml:140_OnEnterPressed"]:1>

Locals:
self = XPerl_Options_Global_Options_RangeFinder_CustomSpell {
 FlyoutArrowContainer = Frame {
 }
 NewActionTexture = Texture {
 }
 LevelLinkLockIcon = Texture {
 }
 Flash = XPerl_Options_Global_Options_RangeFinder_CustomSpellFlash {
 }
 TargetReticleAnimFrame = Frame {
 }
 icon = XPerl_Options_Global_Options_RangeFinder_CustomSpellIcon {
 }
 SlotArt = Texture {
 }
 InterruptDisplay = Frame {
 }
 HotKey = XPerl_Options_Global_Options_RangeFinder_CustomSpellHotKey {
 }
 HighlightTexture = Texture {
 }
 CooldownFlash = Frame {
 }
 IconMask = MaskTexture {
 }
 TextOverlayContainer = Frame {
 }
 SpellHighlightAnim = AnimationGroup {
 }
 FlyoutBorderShadow = XPerl_Options_Global_Options_RangeFinder_CustomSpellFlyoutBorderShadow {
 }
 Border = XPerl_Options_Global_Options_RangeFinder_CustomSpellBorder {
 }
 SpellHighlightTexture = Texture {
 }
 PushedTexture = Texture {
 }
 SpellCastAnimFrame = Frame {
 }
 NormalTexture = XPerl_Options_Global_Options_RangeFinder_CustomSpellNormalTexture {
 }
 Name = XPerl_Options_Global_Options_RangeFinder_CustomSpellName {
 }
 AutoCastOverlay = Frame {
 }
 SlotBackground = Texture {
 }
 cooldown = XPerl_Options_Global_Options_RangeFinder_CustomSpellCooldown {
 }
 Count = XPerl_Options_Global_Options_RangeFinder_CustomSpellCount {
 }
}
isEnemy = nil
spell = "Tricks of the Trade"
(*temporary) = nil
(*temporary) = "Tricks of the Trade"
(*temporary) = "attempt to call global 'GetSpellTexture' (a nil value)"