ls- / ls_Toasts

Development repository of ls: Toasts
Other
27 stars 3 forks source link

10.0.2 lua error #49

Closed lowpita closed 2 years ago

lowpita commented 2 years ago

Hey. As of today's update for Retail (10.0.2) I'm getting this lua error whenever I load into the game:

1x Interface/AddOns/ls_Toasts/core/core.lua:247: attempt to call global 'IsDressableItem' (a nil value) [string "@Interface/AddOns/ls_Toasts/core/core.lua"]:247: in function `DressUpLink' [string "@Interface/AddOns/ls_Toasts/systems/loot_special.lua"]:21: in function <Interface/AddOns/ls_Toasts/systems/loot_special.lua:19>

Locals: self =

{ GetScreenQuadrant = defined @Interface/AddOns/ls_Toasts/core/core.lua:151 GetToast = defined @Interface/AddOns/ls_Toasts/core/toast.lua:788 FindToast = defined @Interface/AddOns/ls_Toasts/core/toast.lua:768 RegisterOptions = defined @Interface/AddOns/ls_Toasts/core/system.lua:102 GetItemLevel = defined @Interface/AddOns/ls_Toasts/core/core.lua:217 UnregisterAllCallbacks = defined @Interface/AddOns/Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:169 RegisterSkin = defined @Interface/AddOns/ls_Toasts/core/skin.lua:18 CHANGELOG = "- Added an option to show poor quality quality items via common loot toasts. Thanks to Faqar@GitHub.

  • Added leaf ornaments to achievement toasts. I can't re-enable Blizz achievement toasts, so as a compromise I chose to make achievement toasts more unique. If you want them to stand out even more create a separate anchor to display them.
  • Fixed an issue where repeatedly testing toasts and flushing the queue would sometimes lock up the addon.
  • Fixed corrupt beautycase border texture. It worked, but baked-in shadows were messed up.
  • Updated Traditional Chinese translation. Translated by BNS333@Curse. " RegisterCallback = defined @Interface/AddOns/Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:85 VER =
{ } DressUpLink = defined @Interface/AddOns/ls_Toasts/core/core.lua:241 UnregisterCallback = defined @Interface/AddOns/Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:148 RegisterSystem = defined @Interface/AddOns/ls_Toasts/core/system.lua:20 RegisterEvent = defined @Interface/AddOns/ls_Toasts/core/core.lua:56 SearchBagsForItemID = defined @Interface/AddOns/ls_Toasts/core/core.lua:229 UnregisterEvent = defined @Interface/AddOns/ls_Toasts/core/core.lua:78 SanitizeLink = defined @Interface/AddOns/ls_Toasts/core/core.lua:128 } link = "item:199383::::::::60:267::26:3:6652:7580:8936:1:28:2425:::::" (temporary) = nil (temporary) = "item:199383::::::::60:267::26:3:6652:7580:8936:1:28:2425:::::" (*temporary) = "attempt to call global 'IsDressableItem' (a nil value)" s_split = defined =[C]:-1 C_PetJournal =
{ GetPetTeamAverageLevel = defined =[C]:-1 PetIsFavorite = defined =[C]:-1 SetAllPetSourcesChecked = defined =[C]:-1 PetIsHurt = defined =[C]:-1 GetPetInfoBySpeciesID = defined =[C]:-1 PetNeedsFanfare = defined =[C]:-1 PickupSummonRandomPet = defined =[C]:-1 GetNumPetSources = defined =[C]:-1 GetNumPets = defined =[C]:-1 SetPetLoadOutInfo = defined =[C]:-1 SummonRandomPet = defined =[C]:-1 GetPetAbilityList = defined =[C]:-1 ClearSearchFilter = defined =[C]:-1 GetPetInfoTableByPetID = defined =[C]:-1 ReleasePetByID = defined =[C]:-1 PetIsUsable = defined =[C]:-1 FindPetIDByName = defined =[C]:-1 GetBattlePetLink = defined =[C]:-1 SetFavorite = defined =[C]:-1 GetPetModelSceneInfoBySpeciesID = defined =[C]:-1 PetIsRevoked = defined =[C]:-1 GetPetInfoByPetID = defined =[C]:-1 SetAbility = defined =[C]:-1 GetSummonedPetGUID = defined =[C]:-1 GetPetCooldownByGUID = defined =[C]:-1 GetPetStats = defined =[C]:-1 ClearRecentFanfares = defined =[C]:-1 PickupPet = defined =[C]:-1 GetPetSortParameter = defined =[C]:-1 GetDisplayIDByIndex = defined =[C]:-1 IsPetSourceChecked = defined =[C]:-1 SetCustomName = defined =[C]:-1 IsFilterChecked = defined =[C]:-1 IsFindBattleEnabled = defined =[C]:-1 GetNumCollectedInfo = defined =[C]:-1 GetPetSummonInfo = defined =[C]:-1 SetDefaultFilters = defined =[C]:-1 GetNumDisplays = <func
ls- commented 2 years ago

Thanks, I'll release an update a bit later when I get back home... 😥

lowpita commented 2 years ago

Also I think your addon is causing this lua error, as I tested without it and had no spams. This error happens randomly whenever I log over and/or join a raid group without doing nothing like inspecting another player, opening the achievements tab or else:

4x ...ns/Blizzard_AchievementUI/Blizzard_AchievementUI.lua:702: Usage: GetCategoryNumAchievements(categoryID, includeSuperceded) [string "=[C]"]: in function GetCategoryNumAchievements' [string "@Interface/AddOns/Blizzard_AchievementUI/Blizzard_AchievementUI.lua"]:702: in functionAchievementFrameComparison_UpdateStatusBars' [string "@Interface/AddOns/Blizzard_AchievementUI/Blizzard_AchievementUI.lua"]:2695: in function <...ns/Blizzard_AchievementUI/Blizzard_AchievementUI.lua:2691>

Locals: (*temporary) = "summary"

ls- commented 2 years ago

This one is super weird, I've never seen anything like that. I looked into Blizz code and given when and how it's called, it'd be really Bizarre if it's my addon that caused it because I don't do anything that could lead to that event firing. I'll roll back some changes I made few weeks ago, but...

ls- commented 2 years ago

If it's in fact my addon that's causing it, then this should do the trick.