ls- / ls_Toasts

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

Attempt to unregister unknown event "ACHIEVEMENT_EARNED" #34

Closed Pyrepenol closed 5 years ago

Pyrepenol commented 5 years ago

Started getting the error this morning, also can't pull up the settings.

Message: Interface\AddOns\ls_Toasts\init.lua:311: Attempt to unregister unknown event "ACHIEVEMENT_EARNED" Time: Thu Sep 5 12:16:11 2019 Count: 1 Stack: Interface\AddOns\ls_Toasts\init.lua:311: Attempt to unregister unknown event "ACHIEVEMENT_EARNED" [C]: in function UnregisterEvent' Interface\AddOns\ls_Toasts\init.lua:311: in functionfunc' Interface\AddOns\ls_Toasts\core\core.lua:42: in function <Interface\AddOns\ls_Toasts\core\core.lua:40>

Locals: (temporary) = AlertFrame { 0 = SetSubSystemAnchorPriority = defined @Interface\FrameXML\AlertFrames.lua:350 BuildQuestData = defined @Interface\FrameXML\AlertFrames.lua:632 shouldQueueAlertsFlags =

{ } SetJustification = defined @Interface\FrameXML\AlertFrames.lua:377 CreateSubSystem = defined @Interface\FrameXML\AlertFrames.lua:311 CreateQueuedSubSystem = defined @Interface\FrameXML\AlertFrames.lua:328 SetEnabledFlag = defined @Interface\FrameXML\AlertFrames.lua:277 SetVariablesLoaded = defined @Interface\FrameXML\AlertFrames.lua:294 GetPointsForJustification = defined @Interface\FrameXML\AlertFrames.lua:402 SetAlertsEnabled = defined @Interface\FrameXML\AlertFrames.lua:299 BuildLFGRewardData = defined @Interface\FrameXML\AlertFrames.lua:590 AreAlertsEnabled = defined @Interface\FrameXML\AlertFrames.lua:303 AddQueuedAlertFrameSubSystem = defined @Interface\FrameXML\AlertFrames.lua:338 AddAlertFrameSubSystem = defined @Interface\FrameXML\AlertFrames.lua:342 GetJustification = defined @Interface\FrameXML\AlertFrames.lua:384 anchorPrioritiesDirty = true OnLoad = defined @Interface\FrameXML\AlertFrames.lua:417 CleanAnchorPriorities = defined @Interface\FrameXML\AlertFrames.lua:360 AddExternallyAnchoredSubSystem = defined @Interface\FrameXML\AlertFrames.lua:318 ShouldSupressDungeonOrScenarioAlert = defined @Interface\FrameXML\AlertFrames.lua:658 OnEvent = defined @Interface\FrameXML\AlertFrames.lua:423 AddAutoAnchoredSubSystem = defined @Interface\FrameXML\AlertFrames.lua:323 BuildScenarioRewardData = defined @Interface\FrameXML\AlertFrames.lua:622 AddSimpleAlertFrameSubSystem = defined @Interface\FrameXML\AlertFrames.lua:332 SetPlayerEnteredWorld = defined @Interface\FrameXML\AlertFrames.lua:289 alertFrameSubSystems =
{ } UpdateAnchors = defined @Interface\FrameXML\AlertFrames.lua:368 ignoreFramePositionManager = true AddAlertFrame = defined @Interface\FrameXML\AlertFrames.lua:409 } (temporary) = "ACHIEVEMENT_EARNED"

Pyrepenol commented 5 years ago

I figured it out, I'm playing Classic and it seems that the Twitch client mistakenly updated to the version meant for vanilla rather than classic.

ls- commented 5 years ago

Good that you figured it out, CF's and Twitch client's Classic support leaves a lot to be desired.

Addon dev discord and IRC servers are filled w/ complaints atm T_T Even if you, as a dev, do everything according to curse/twitch guidelines, there's still a chance that the twitch client will pull the wrong version.