Backupiseasy / ThreatPlates

Nameplate addon for World of Warcraft
https://wow.curseforge.com/projects/tidy-plates-threat-plates
35 stars 18 forks source link

TWW Beta -GetSpellInfo Errors #524

Closed RC-Projects closed 3 weeks ago

RC-Projects commented 1 month ago

Seeing the following errors on TWW beta on load.

Message: ...terface/AddOns/TidyPlates_ThreatPlates/Constants.lua:467: attempt to call global 'GetSpellInfo' (a nil value) Time: Fri Jun 7 22:39:11 2024 Count: 1 Stack: ...terface/AddOns/TidyPlates_ThreatPlates/Constants.lua:467: attempt to call global 'GetSpellInfo' (a nil value) [string "@Interface/AddOns/TidyPlates_ThreatPlates/Constants.lua"]:467: in functionInitializeTotemInformation' [string "@Interface/AddOns/TidyPlates_ThreatPlates/Constants.lua"]:491: in function `GetDefaultTotemSettings' [string "@Interface/AddOns/TidyPlates_ThreatPlates/Constants.lua"]:1666: in main chunk

Locals: self =

{ IGNORED_STYLES =
{ } IS_WRATH_CLASSIC = false Cache =
{ } Animations =
{ } Data =
{ } ANCHOR_POINT =
{ } CASTBAR_INTERRUPT_HOLD_TIME = 1 ThreatPlates =
{ } ANCHOR_POINT_TEXT =
{ } TotemCreatureType = "Totem" PlayerName = "Terramagi" IS_CLASSIC_SOD = false CUSTOM_GLOW_WRAPPER_FUNCTIONS =
{ } TOTEMS =
{ } IS_TBC_CLASSIC = false CUSTOM_GLOW_FUNCTIONS =
{ } IS_MAINLINE = true MODE_FOR_STYLE =
{ } IS_CATA_CLASSIC = false ANCHOR_POINT_SETPOINT =
{ } AurasFilterMode =
{ } CVars =
{ } THREAT_VALUE_TYPE =
{ } IGNORED_STYLES_WITH_NAMEMODE =
{ } TARGET_TEXTURES =
{ } PLATE_FADE_IN_TIME = 0.500000 GLOW_TYPES =
{ } DEFAULT_FONT = "Cabin" ON_UPDATE_PER_FRAME = 0.008417 UIScale = 1 TotemInformation =
{ } CUSTOM_PLATES_GLOW_FRAMES =
{ } BackdropTemplate = "BackdropTemplate" ON_UPDATE_INTERVAL = 0.250000 Debug =
{ } ADDON_DIRECTORY = "Interface\AddOns\TidyPlates_ThreatPlates\" DEFAULT_SMALL_FONT = "Arial Narrow" IS_CLASSIC = false LibUTF8 =
{ } PlayerClass = "MAGE" WOW_USES_CLASSICNAMEPLATES = false Logging =
{ } } (for state) =
{ 1 =
{ } 2 =
{ } 3 =
{ } 4 =
{ } 5 =
{ } 6 =
{ } 7 =
{ } 8 =
{ } 9 =
{ } 10 =
{ } 11 =
{ } 12 =
{ } 13 =
{ } 14 =
{ } 15 =
{ } 16 =
{ } 17 =
{ } 18 =
{ } 19 =
{ } 20 =
{ } 21 =
{ } 22 =
{ } 23 =
{ } } (for control) = 1 = 1 totem_data =
{ ID = "B1" GroupColor = "8b4513" Icon = "spell_nature_strengthofearthtotem02" SpellID = 2484 } (temporary) = nil (temporary) = 2484 (*temporary) = "attempt to call global 'GetSpellInfo' (a nil value)" Addon =
{ IGNORED_STYLES =
{ } IS_WRATH_CLASSIC = false Cache =
{ } Animations =
{ } Data =
{ } ANCHOR_POINT =
{ } CASTBAR_INTERRUPT_HOLD_TIME = 1 ThreatPlates =
{ } ANCHOR_POINT_TEXT =
{ } TotemCreatureType = "Totem" PlayerName = "Terramagi" IS_CLASSIC_SOD = false CUSTOM_GLOW_WRAPPER_FUNCTIONS =
{ } TOTEMS =
{ } IS_TBC_CLASSIC = false CUSTOM_GLOW_FUNCTIONS =
{ } IS_MAINLINE = true MODE_FOR_STYLE =
{ } IS_CATA_CLASSIC = false ANCHOR_POINT_SETPOINT =
{ } AurasFilterMode =
{ } CVars =
{ } THREAT_VALUE_TYPE =
{ } IGNORED_STYLES_WITH_NAMEMODE =
{ } TARGET_TEXTURES =
{ } PLATE_FADE_IN_TIME = 0.500000 GLOW_TYPES =
{ } DEFAULT_FONT = "Cabin" ON_UPDATE_PER_FRAME = 0.008417 UIScale = 1 TotemInformation =
{ } CUSTOM_PLATES_GLOW_FRAMES =
{ } BackdropTemplate = "BackdropTemplate" ON_UPDATE_INTERVAL = 0.250000 Debug =
{ } ADDON_DIRECTORY = "Interface\AddOns\TidyPlates_ThreatPlates\" DEFAULT_SMALL_FONT = "Arial Narrow" IS_CLASSIC = false LibUTF8 =
{ } PlayerClass = "MAGE" WOW_USES_CLASSIC_NAMEPLATES = false Logging =
{ } } TOTEM_RANKS_CLASSIC =
{ 1 = " II" 2 = " III" 3 = " IV" 4 = " V" 5 = " VI" 6 = " VII" 7 = " VIII" 8 = " IX" 9 = "`

Message: Interface/AddOns/TidyPlates_ThreatPlates/Init.lua:264: attempt to call global 'GetAddOnMetadata' (a nil value) Time: Fri Jun 7 22:39:11 2024 Count: 1 Stack: Interface/AddOns/TidyPlates_ThreatPlates/Init.lua:264: attempt to call global 'GetAddOnMetadata' (a nil value) [string "@Interface/AddOns/TidyPlates_ThreatPlates/Init.lua"]:264: in functionMeta' [string "@Interface/AddOns/TidyPlates_ThreatPlates/Core.lua"]:220: in main chunk

Locals: value = "title" meta = nil (temporary) = nil (temporary) = "TidyPlates_ThreatPlates" (temporary) = "title" (temporary) = "attempt to call global 'GetAddOnMetadata' (a nil value)" `

Message: Interface/AddOns/TidyPlates_ThreatPlates/Init.lua:264: attempt to call global 'GetAddOnMetadata' (a nil value) Time: Fri Jun 7 22:39:11 2024 Count: 1 Stack: Interface/AddOns/TidyPlates_ThreatPlates/Init.lua:264: attempt to call global 'GetAddOnMetadata' (a nil value) [string "@Interface/AddOns/TidyPlates_ThreatPlates/Init.lua"]:264: in functionMeta' [string "@Interface/AddOns/TidyPlates_ThreatPlates/Commands.lua"]:8: in main chunk

Locals: value = "version" meta = nil (temporary) = nil (temporary) = "TidyPlates_ThreatPlates" (temporary) = "version" (temporary) = "attempt to call global 'GetAddOnMetadata' (a nil value)" `

Message: ...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:2165: attempt to index field 'db' (a nil value) Time: Fri Jun 7 22:39:12 2024 Count: 2 Stack: ...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:2165: attempt to index field 'db' (a nil value) [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:2165: in functionUIScaleChanged' [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:1787: in function `?' [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:1300: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:1299>

Locals: self =

{ IS_WRATH_CLASSIC = false Theme =
{ } TotemCreatureType = "Totem" AurasFilterMode =
{ } ANCHOR_POINT_SETPOINT =
{ } CVars =
{ } THREAT_VALUE_TYPE =
{ } Font =
{ } WOW_USES_CLASSIC_NAMEPLATES = false IGNORED_STYLES =
{ } LEGACY_CUSTOM_NAMEPLATES =
{ } Animations =
{ } ThreatPlates =
{ } ANCHOR_POINT_TEXT =
{ } IS_TBC_CLASSIC = false MODE_FOR_STYLE =
{ } TotemInformation =
{ } ON_UPDATE_PER_FRAME = 0.008417 CUSTOM_PLATES_GLOW_FRAMES =
{ } Debug =
{ } PlatesByGUID =
{ } EventHandler =
{ } LibUTF8 =
{ } Logging =
{ } PLATE_FADE_IN_TIME = 0.500000 ANCHOR_POINT =
{ } CASTBAR_INTERRUPT_HOLD_TIME = 1 PlayerName = "Terramagi" TOTEMS =
{ } SCRIPT_FUNCTIONS =
{ } ON_UPDATE_INTERVAL = 0.250000 IS_CLASSIC = false WIDGET_EVENTS =
{ } PlatesByUnit =
{ } IS_CLASSIC_SOD = false Widgets =
{ } CUSTOM_GLOW_WRAPPER_FUNCTIONS =
{ } Cache =
{ } CUSTOM_GLOW_FUNCTIONS =
{ } TARGET_TEXTURES =
{ } IS_MAINLINE = true IS_CATA_CLASSIC = false DEFAULT_FONT = "Cabin" UIScale = 1 ADDON_DIRECTORY = "Interface\AddOns\TidyPlates_ThreatPlates\" BackdropTemplate = "BackdropTemplate" PlatesCreated =
{ } DEFAULT_SMALL_FONT = "Arial Narrow" GLOW_TYPES =
{ } PlayerClass = "MAGE" IGNORED_STYLES_WITH_NAMEMODE =
{ } PlatesVisible =
{ } Data =
{ } } (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (*temporary) = "attempt to index field 'db' (a nil value)" Addon =
{ IS_WRATH_CLASSIC = false Theme =
{ } TotemCreatureType = "Totem" AurasFilterMode =
{ } ANCHOR_POINT_SETPOINT =
{ } CVars =
{ } THREAT_VALUE_TYPE =
{ } Font =
{ } WOW_USES_CLASSIC_NAMEPLATES = false IGNORED_STYLES =
{ } LEGACY_CUSTOM_NAMEPLATES =
{ } Animations =
{ } ThreatPlates =
{ } ANCHOR_POINT_TEXT =
{ } IS_TBC_CLASSIC = false MODE_FOR_STYLE =
{ } TotemInformation =
{ } ON_UPDATE_PER_FRAME = 0.008417 CUSTOM_PLATES_GLOW_FRAMES =
{ } Debug =
{ } PlatesByGUID =
{ } EventHandler =
{ } LibUTF8 =
{ } Logging =
{ } PLATE_FADE_IN_TIME = 0.500000 ANCHOR_POINT =
{ } CASTBAR_INTERRUPT_HOLD_TIME = 1 PlayerName = "Terramagi" TOTEMS =
{ } SCRIPT_FUNCTIONS =
{ } ON_UPDATE_INTERVAL = 0.250000 IS_CLASSIC = false WIDGET_EVENTS =
{ } PlatesByUnit =
{ } IS_CLASSIC_SOD = false Widgets =
{ } CUSTOM_GLOW_WRAPPER_FUNCTIONS =
{ } Cache =
{ } CUSTOM_GLOW_FUNCTIONS =
{ } TARGET_TEXTURES =
{ } IS_MAINLINE = true IS_CATA_CLASSIC = false DEFAULT_FONT = "Cabin" UIScale = 1 ADDON_DIRECTORY = "Interface\AddOns\TidyPlates_ThreatPlates\" BackdropTemplate = "BackdropTemplate" PlatesCreated =
{ } DEFAULT_SMALL_FONT = "Arial Narrow" GLOW_TYPES =
{ } PlayerClass = "MAGE" IGNORED_STYLES_WITH_NAMEMODE =
{ } PlatesVisible =
{ } Data`

Message: ...Plates_ThreatPlates/Widgets/TidyPlatesExtensions.lua:39: attempt to index field 'db' (a nil value) Time: Fri Jun 7 22:40:27 2024 Count: 6 Stack: ...Plates_ThreatPlates/Widgets/TidyPlatesExtensions.lua:39: attempt to index field 'db' (a nil value) [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/TidyPlatesExtensions.lua"]:39: in functionCreateExtensions' [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:554: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:489> [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:1345: in function `?' [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:1300: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:1299>

Locals: tp_frame = ThreatPlatesFrameNamePlate6 { visual =

{ } Parent = NamePlate6 { } widgets =
{ } } visual =
{ customtext = FontString { } healthbar = StatusBar { } healthborder = Frame { } Highlight = Frame { } threatborder = Frame { } skullicon = Texture { } eliteicon = Texture { } spellicon = Texture { } level = FontString { } name = FontString { } spelltext = FontString { } textframe = Frame { } eliteborder = Frame { } castbar = StatusBar { } raidicon = Texture { } } (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = "attempt to index field 'db' (a nil value)" Addon =
{ IS_WRATH_CLASSIC = false Theme =
{ } TotemCreatureType = "Totem" AurasFilterMode =
{ } ANCHOR_POINT_SETPOINT =
{ } CVars =
{ } THREAT_VALUE_TYPE =
{ } Font =
{ } WOW_USES_CLASSIC_NAMEPLATES = false IGNORED_STYLES =
{ } LEGACY_CUSTOM_NAMEPLATES =
{ } Animations =
{ } ThreatPlates =
{ } ANCHOR_POINT_TEXT =
{ } IS_TBC_CLASSIC = false MODE_FOR_STYLE =
{ } TotemInformation =
{ } ON_UPDATE_PER_FRAME = 0.008417 CUSTOM_PLATES_GLOW_FRAMES =
{ } Debug =
{ } PlatesByGUID =
{ } EventHandler =
{ } LibUTF8 =
{ } Logging =
{ } PLATE_FADE_IN_TIME = 0.500000 ANCHOR_POINT =
{ } CASTBAR_INTERRUPT_HOLD_TIME = 1 PlayerName = "Terramagi" TOTEMS =
{ } SCRIPT_FUNCTIONS =
{ } ON_UPDATE_INTERVAL = 0.250000 IS_CLASSIC = false WIDGET_EVENTS =
{ } PlatesByUnit =
{ } IS_CLASSIC_SOD = false Widgets =
{ } CUSTOM_GLOW_WRAPPER_FUNCTIONS =
{ } Cache =
{ } CUSTOM_GLOW_FUNCTIONS =
{ } TARGET_TEXTURES =
{ } IS_MAINLINE = true IS_CATA_CLASSIC = false DEFAULT_FONT = "Cabin" UIScale = 1 ADDON_DIRECTORY = "Interface\AddOns\TidyPlates_ThreatPlates\" BackdropTemplate = "BackdropTemplate" PlatesCreated =
{ } DEFAULT_SMALL_FONT = "Arial Narrow" GLOW_TYPES =
{ } PlayerClass = "MAGE" IGNORED_STYLES_WITH_NAMEMODE =
{ } PlatesVisible =
{ } Data =
{ } } ENABLE_ABSORB = false `

Message: ...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:784: attempt to index local 'unit' (a nil value) Time: Fri Jun 7 22:43:00 2024 Count: 7 Stack: ...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:784: attempt to index local 'unit' (a nil value) [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:784: in functionUpdateUnitIdentity' [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:647: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:644> [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:1376: in function `?' [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:1300: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:1299>

Locals: self =

{ IS_WRATH_CLASSIC = false Theme =
{ } TotemCreatureType = "Totem" AurasFilterMode =
{ } ANCHOR_POINT_SETPOINT =
{ } CVars =
{ } THREAT_VALUE_TYPE =
{ } Font =
{ } WOW_USES_CLASSIC_NAMEPLATES = false IGNORED_STYLES =
{ } LEGACY_CUSTOM_NAMEPLATES =
{ } Animations =
{ } ThreatPlates =
{ } ANCHOR_POINT_TEXT =
{ } IS_TBC_CLASSIC = false MODE_FOR_STYLE =
{ } TotemInformation =
{ } ON_UPDATE_PER_FRAME = 0.008417 CUSTOM_PLATES_GLOW_FRAMES =
{ } Debug =
{ } PlatesByGUID =
{ } EventHandler =
{ } LibUTF8 =
{ } Logging =
{ } PLATE_FADE_IN_TIME = 0.500000 ANCHOR_POINT =
{ } CASTBAR_INTERRUPT_HOLD_TIME = 1 PlayerName = "Terramagi" TOTEMS =
{ } SCRIPT_FUNCTIONS =
{ } ON_UPDATE_INTERVAL = 0.250000 IS_CLASSIC = false WIDGET_EVENTS =
{ } PlatesByUnit =
{ } IS_CLASSIC_SOD = false Widgets =
{ } CUSTOM_GLOW_WRAPPER_FUNCTIONS =
{ } Cache =
{ } CUSTOM_GLOW_FUNCTIONS =
{ } TARGET_TEXTURES =
{ } IS_MAINLINE = true IS_CATA_CLASSIC = false DEFAULT_FONT = "Cabin" UIScale = 1 ADDON_DIRECTORY = "Interface\AddOns\TidyPlates_ThreatPlates\" BackdropTemplate = "BackdropTemplate" PlatesCreated =
{ } DEFAULT_SMALL_FONT = "Arial Narrow" GLOW_TYPES =
{ } PlayerClass = "MAGE" IGNORED_STYLES_WITH_NAMEMODE =
{ } PlatesVisible =
{ } Data =
{ } } unit = nil unitid = "nameplate6" (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (*temporary) = "attempt to index local 'unit' (a nil value)" _G =
{ ERR_OUT_OF_CHI = "Not enough chi" DH_HAVOC_CORE_ABILITY_2 = "Strong melee attack that consumes Fury. If it critical strikes, some Fury is refunded." MultiCastActionButton6Cooldown = MultiCastActionButton6Cooldown { } MerchantItem9ItemButtonStock = MerchantItem9ItemButtonStock { } UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names." HUD_EDIT_MODE_SETTING_ACTION_BAR_HIDE_BAR_ART = "Hide Bar Art" LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 781 MultiBarLeftActionButton10NormalTexture = MultiBarLeftActionButton10NormalTexture { } SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you." LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 420 ERROR_CLUB_TICKET_COUNT_AT_MAX_COMMUNITY = "Can't create any more invite links for this community." RecruitAFriendFrame = RecruitAFriendFrame { } MultiBar7ActionButton5Icon = MultiBar7ActionButton5Icon { } TutorialFrameLeft19 = TutorialFrameLeft19 { } MultiCastActionButton2Cooldown = MultiCastActionButton2Cooldown { } ERR_TRADE_EQUIPPED_BAG = "You can't trade equipped bags." PVP_RANK_6_1 = "Corporal" MultiBarLeftButton7 = MultiBarLeftButton7 { } OPTION_TOOLTIP_SHOW_MULTIBAR4 = "Attached to the left side of Right Action Bar 1 by default" LE_GAME_ERR_INVALID_FOLLOW_PVP_COMBAT = 374 MerchantItem3AltCurrencyFrameItem1Text = MerchantItem3AltCurren`

Message: ...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:1399: attempt to index field 'unit' (a nil value) Time: Fri Jun 7 22:43:06 2024 Count: 2 Stack: ...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:1399: attempt to index field 'unit' (a nil value) [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:1399: in function?' [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:1300: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:1299>

Locals: self = "NAME_PLATE_UNIT_REMOVED" unitid = "nameplate6" plate = NamePlate6 { TPFrame = ThreatPlatesFrameNamePlate6 { } template = "NamePlateUnitFrameTemplate" } frame = ThreatPlatesFrameNamePlate6 { visual =

{ } Active = false Parent = NamePlate6 { } widgets =
{ } } (temporary) = nil (temporary) = ThreatPlatesFrameNamePlate6 { visual =
{ } Active = false Parent = NamePlate6 { } widgets =
{ } } (temporary) = nil (temporary) = "attempt to index field 'unit' (a nil value)" PlatesVisible =
{ } PlatesByUnit =
{ } PlatesByGUID =
{ } Widgets =
{ RegisteredEventsByWidget =
{ } EventHandlerFrame = Frame { } Widgets =
{ } EnabledTargetWidgets =
{ } EnabledWidgets =
{ } } `

RC-Projects commented 1 month ago

Sorry for the formatting, the code tics on GH seemed to conflict with the tics in the code. Let me know if sharing these in a different manner would help.

Backupiseasy commented 1 month ago

There is not yet a working version for Threat Plates for TWW beta. I fixed some issues now (like the above one, thanks for posting that here), but probably not all. I'll try to provide a working version in the next days.

RC-Projects commented 4 weeks ago

No worries, thanks!

Backupiseasy commented 3 weeks ago

The following is a basic version that should work in TWW. There are no Lua errors that I know of, but I did not test everything yet. Also, Shaman totems or CC auras are not up to date.

https://drive.google.com/file/d/1lyxmM7Q65ZOPuXr6Q6v_Bd5Zz_xvZDGl/view?usp=sharing

I cannot upload it currently as a beta version as LibCustomGlow does not load in TWW and I do not want to disable it for retail.

RC-Projects commented 3 weeks ago

Thanks soo much for putting the time into updating this, I really appreciate it! I no longer see any errors as well.

From the beta update today, it looks like they made some more changes to the API as some other addons broke. I'll hold off on chasing any further updates until Blizzard is done making changes. Thanks again!