PLAYER_PET_CHANGED #113


Open
  • Palonblade created this issue Feb 5, 2021

    Please implement this fix:

     

    I was getting errors with the Shadowlands Alpha when logging into a character referencing PLAYER_PET_CHANGED.  I managed to fix the issue by updating line 342 and 361 of Classtimer.lua

     

    Old:

    Line 342: Self:RegisterEvent('PLAYER_PET_CHANGED')

    Line 361: function ClassTimer:PLAYER_PET_CHANGED()

     

    New:

    Line 342: self:RegisterEvent('UNIT_PET')

    Line 361: function ClassTimer:UNIT_PET()

     

    Just my 2 cents.

     

    Last edited by Zorcan2112Oct 17, 2020
  • ZalidTheBur posted a comment Oct 31, 2022

    It took me some work to find that it was ClassTimer that was causing this error as there is no mention of ClassTimer. Thanks for the fix Palonblade.
    For reference the error is:

    Date: 2022-10-31 19:58:18
    ID: 1
    Error occured in: Global
    Count: 1
    Message: AceEvent30Frame:RegisterEvent(): AceEvent30Frame:RegisterEvent(): Attempt to register unknown event "PLAYER_PET_CHANGED"
    Debug:
    [string "@Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua"]:761:
    ...Ons/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:717
    [string "=[C]"]: ?
    [string "=[C]"]: RegisterEvent()
    [string "@Interface/AddOns/DataStore/libs/AceEvent-3.0/AceEvent-3.0.lua"]:33: OnUsed()
    [string "@Interface/AddOns/AdiBags/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:76: Fire()
    [string "@Interface/AddOns/DataStore/libs/AceEvent-3.0/AceEvent-3.0.lua"]:120:
    .../AddOns/DataStore/libs/AceEvent-3.0/AceEvent-3.0.lua:119
    [string "=[C]"]: LoadAddOn()
    [string "@Interface/FrameXML/UIParent.lua"]:530: UIParentLoadAddOn()
    [string "@Interface/FrameXML/UIParent.lua"]:665: TimeManager_LoadUI()
    [string "@Interface/FrameXML/UIParent.lua"]:1466:
    Interface/FrameXML/UIParent.lua:1350
    Locals:
    errMsg = "AceEvent30Frame:RegisterEvent(): AceEvent30Frame:RegisterEvent(): Attempt to register unknown event "PLAYER_PET_CHANGED""
    isBugGrabber = nil
    tsmErrMsg = nil
    oldModule = nil
    private = <table> {
    globalNameTranslation = <table> {
    }
    FormatErrorMessageSection = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:517
    ErrorHandler = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:134
    origErrorHandler = <function> defined @Interface/AddOns/Decursive/Dcr_DIAG.lua:611
    hitInternalError = false
    CreateErrorFrame = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:536
    num = 0
    SanitizeString = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:510
    AddonBlockedHandler = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:502
    GetStackLevelInfo = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:344
    ParseLocals = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:396
    ignoreErrors = false
    errorReports = <table> {
    }
    IsTSMAddon = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:478
    localLinesTemp = <table> {
    }
    GetStackInfo = <function> defined @Interface/AddOns/TradeSkillMaster/LibTSM/Service/ErrorHandler.lua:313
    }
    MAX_STACK_DEPTH = 50
    OLD_TSM_MODULES = <table> {
    1 = "TradeSkillMaster_Accounting"
    2 = "TradeSkillMaster_AuctionDB"
    3 = "TradeSkillMaster_Auctioning"
    4 = "TradeSkillMaster_Crafting"
    5 = "TradeSkillMaster_Destroying"
    6 = "TradeSkillMaster_Mailing"
    7 = "TradeSkillMaster_Shopping"
    8 = "TradeSkillMaster_Vendoring"
    9 = "TradeSkillMaster_Warehousing"
    }

    AddOns:
    Swatter, v3.4.6837 (SwimmingSeadragon)
    WowheadLooter, v100000
    AchievementsReminder, v
    ACP, v3.5.7-5-g619b778
    AddonFactory, v9.2.006
    AdiBags, vv1.9.46
    AdvancedInterfaceOptions, v1.8.1
    AllTheThings, vDF-3.0.2
    Altoholic, v10.0.002
    AskMrRobot, v114
    Auctionator, v10.0.3
    BadBoy, vv10.0.0
    BattlePetDailyTamer, v3.2.1
    BattlePetBattleUITweaks, v2.1.3
    BattlePetBreedID, vv1.22.2
    BtWObjectiveFilter, v1.3
    BuyEmAll, v3.5.12
    CanIMogIt, v10.0.0v1.36
    ClassTimer, v2.4.90001.1
    Collectionator, v0.97
    ConfirmSP, v0.21.07.06
    CovenantAbilityChanger, v1.10.1
    DataStore, v2022.10.31
    DataStoreAchievements, v2022.10.31
    DataStoreAgenda, v10.0.002
    DataStoreAuctions, v10.0.001
    DataStoreCharacters, v2022.10.30
    DataStoreContainers, v10.0.002
    DataStoreCrafts, v10.0.001
    DataStoreCurrencies, v10.0.001
    DataStoreGarrisons, v10.0.001
    DataStoreInventory, v10.0.001
    DataStoreMails, v2022.10.30
    DataStorePets, v10.0.001
    DataStoreQuests, v10.0.001
    DataStoreReputations, v10.0.001
    DataStoreSpells, v2022.10.30
    DataStoreStats, v10.0.001
    DataStoreTalents, v10.0.001
    DBMCore, v25a28fd
    DBMStatusBarTimers, v25a28fd
    DBMVPVEM, v47b3faf
    DeathAlerts, v1.2
    Decursive, v2.7.8.11
    DejaCharacterStats, vR100000r1
    Dejunk, v1.3.3
    Details, v#Details.DF.Wrath.10205.146
    DetailsEncounterDetails, v
    DetailsRaidCheck, v
    DetailsStreamer, v
    DetailsTinyThreat, v
    DetailsVanguard, v
    EasyMail, v4.5.1
    FamilyFamiliarHelper, v2.0.1
    FocusHealthPercent, v4.0.1
    GTFO, v4.69.1
    GuildRosterManager, v1.945
    HandyNotes, vv1.6.10
    HandyNotesArgus, vv0.36
    HandyNotesBattleForAzeroth, v11
    HandyNotesBattleForAzerothTreasures, vv28.1
    HandyNotesBrokenShore, vv1.49
    HandyNotesDungeonLocations, v1.54
    HandyNotesLegionTreasures, vv30.1
    HandyNotesMistsOfPandariaTreasures, vv23.1
    HandynotesPandaria, v1.5.4
    HandyNotesShadowlandsTreasures, vv71.2
    HandyNotesTreasureHunter, vv29.1
    HandyNotesWorldMapButton, v100000.02-Retail
    InFlightLoad, v10.0.1
    InstanceAchievementTracker, v4.1.0
    InterruptNoSpam, v1.8.8
    KrowiAchievementFilter, v45.4
    LeatrixPlus, v10.0.05
    LoggerHeadLite, v1.6.2
    LootSpecSwapper, v10.0.0.01
    MageNuggets, v7.1.0
    MasterPlanA, vA
    MaxDps, v10.0.0
    MinimalArchaeology, v10.0.0
    mOnArsWardrobeHelper, v1.23
    MRT, v4690
    Notes, v10.0.0
    NPCTime, v1.0.9
    Ogrilastone, v1.5
    PakuTotems, v1.62
    PetBattleMaster, v9.0.1
    PetTracker, v9.2.1
    PetTrackerConfig, v
    Plexus, vv2.3.9
    PointBlankSniper, v5.17
    ProtoformSynthesisFieldJournal, v1.3.1
    QuestSounds, v901-2020.10.14
    QuickMark, v
    RaidAchieveFilter, v2.0.5
    RareScanner, v10.0.0.3
    Rematch, v4.14.4
    SavedInstances, v10.0.0
    SharedMediaCausese, v
    SilverDragon, vv2022.22
    SilverDragonOverlay, vv2022.22
    SilverDragonRangeExtender, vv2022.22
    TargetHealthPercent, v5.0
    tdBattlePetScript, v10.0.0
    tdBattlePetScriptRematch, v80100.01
    TellMeWhen, v10.0.1
    TidyPlatesThreatPlates, v11.0.4
    TLDRMissions, v10.0-003
    TomTom, vv3.3.2-release
    TradeSkillMaster, vv4.11.64
    TradeSkillMasterAppHelper, vv4.11.0
    tullaRange, v10.0.2
    VenturePlan, v4.34
    WeakAuras, v5.0.5
    WorldQuestTracker, vv10.0.0.451-Retail
    WoWthingCollector, v10.0.0.1
    WQAchievements, vv9.2.5-1
    XanDurability, v5.1
    ZerethMortisPuzzleHelper, v1.6.0
    ZygorGuidesViewer, v8.1
    BlizRuntimeLib_enUS v10.0.0.100000 <none>
    (ck=d28)


To post a comment, please login or register a new account.