Not working in Dragonflight, multiple LUA errors #58


Open
  • Gilipter created this issue May 13, 2023

    Addon doesn't seem to be working in 10.1, icon is not visible on the mini map. I even tried hiding the big summary icon, to check if it's hidden behind it, but it's not.

    LUA errors:

     

    1. 

    1x AllPlayed/AllPlayed.lua:1387: attempt to index field '?' (a nil value)
    [string "@AllPlayed/AllPlayed.lua"]:1387: in function `SetSecondsPlayed'
    [string "@AllPlayed/AllPlayed.lua"]:1246: in function `?'
    [string "@AllPlayed/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:146: in function <...yed/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:146>
    [string "safecall Dispatcher[3]"]:4: in function <[string "safecall Dispatcher[3]"]:4>
    [string "=[C]"]: ?
    [string "safecall Dispatcher[3]"]:13: in function `?'
    [string "@AllPlayed/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:91: in function `Fire'
    [string "@TomTom/libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <...aceTomTom/libs/AceEvent-3.0/AceEvent-3.0.lua:119>

    Locals:
    self = <table> {
    SetDefaultModuleLibraries = <function> defined @AnnounceRare/Libraries/Ace3/AceAddon-3.0/AceAddon-3.0.lua:363
    SetDebugging = <function> defined @AllPlayed/AllPlayed.lua:490
    EnableModule = <function> defined @AnnounceRare/Libraries/Ace3/AceAddon-3.0/AceAddon-3.0.lua:328
    modules = <table> {
    }
    CancelTimer = <function> defined @AllPlayed/libs/AceTimer-3.0/AceTimer-3.0.lua:145
    IterateEmbeds = <function> defined @AnnounceRare/Libraries/Ace3/AceAddon-3.0/AceAddon-3.0.lua:438
    SecureHookScript = <function> defined @AnnounceRare/Libraries/Ace3/AceHook-3.0/AceHook-3.0.lua:409
    RawHookScript = <function> defined @AnnounceRare/Libraries/Ace3/AceHook-3.0/AceHook-3.0.lua:394
    DetectFactionChange = <function> defined @AllPlayed/AllPlayed.lua:1293
    SetDefaultModulePrototype = <function> defined @AnnounceRare/Libraries/Ace3/AceAddon-3.0/AceAddon-3.0.lua:405
    debugging = false
    OnTimePlayedMsg = <function> defined @AllPlayed/AllPlayed.lua:1242
    defaultModuleState = true
    IsEnabled = <function> defined @AnnounceRare/Libraries/Ace3/AceAddon-3.0/AceAddon-3.0.lua:447
    ScheduleTimer = <function> defined @AllPlayed/libs/AceTimer-3.0/AceTimer-3.0.lua:92
    DisableModule = <function> defined @AnnounceRare/Libraries/Ace3/AceAddon-3.0/AceAddon-3.0.lua:346
    OnDataUpdate = <function> defined @AllPlayed/AllPlayed.lua:509
    RegisterMessage = <function> defined @AllPlayed/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:117
    UnregisterMessage = <function> defined @AllPlayed/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:180
    total_realm = <table> {
    }
    hooks = <table> {
    }
    total_faction = <table> {
    }
    MyUpdate = <function> defined @AllPlayed/AllPlayed.lua:497
    Trace = <function> defined @AllPlayed/AllPlayed.lua:119
    SetEnabledState = <function> defined @AnnounceRare/Libraries/Ace3/AceAddon-3.0/AceAddon-3.0.lua:420
    Hook = <function> defined @AnnounceRare/Libraries/Ace3/AceHook-3.0/AceHook-3.0.lua:273
    enabledState = true
    EventHandlerHonorGain = <function> defined @AllPlayed/AllPlayed.lua:1282
    RegisterEvent = <function> defined @AllPlayed/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:117
    Logout = <function> defined @AllPlayed/AllPlayed.lua:1579
    IterateModules = <function> defined @AnnounceRare/Libraries/Ace3/AceAddon-3.0/AceAddon-3.0.lua:433
    RawHook = <function> defined @AnnounceRare/Libraries/Ace3/AceHook-3.0/AceHook-3.0.lua:312
    SaveVarHonor = <function> defined @AllPlayed/AllPlayed.lua:1374
    OnInitialize = <function> defined @AllPlayed/AllPlayed.lua:302
    NewModule = <function> defined @AnnounceRare/Libraries/Ace3/AceAddon-3.0/AceAddon-3.0.lua:231
    sort_tables_done = false
    GetModule = <function> defined @AnnounceRare/Libraries/Ace3/AceAddon-3.0/AceAddon-3.0.lua:206
    defaultModuleLibraries = <table> {
    }
    TimeLeft = <function> defined @AllPlayed/libs/AceTimer-3.0/AceTimer-3.0.lua:170
    total = <table> {
    }
    ScheduleRepeatingTimer = <function> defined @AllPlayed/libs/AceTimer-3.0/AceTimer-3.0.lua:127
    CancelAllTimers = <function> defined @AllPlayed/libs/AceTimer-3.0/AceTimer-3.0.lua:158
    EventHandlerOnlySort = <function> defined @AllPlayed/AllPlayed.lua:1254
    GetName = <function> defined @AnnounceRare/Libraries/Ace3/AceAddon-3.0/AceAddon-3.0.lua:275
    db = <table> {
    }
    baseName = "AllPlayed"
    name = "AllPlayed"
    SetSecondsPlayed = <function> defined @AllPlayed/AllPlayed.lua:1384
    EventHandler = <function> defined @AllPlayed/AllPlayed.lua:1273
    orderedModules = <table> {
    }
    SetTTOpacity = <function> defined @Ad

     

     2. 

    1x AceEvent30Frame:RegisterEvent(): AceEvent30Frame:RegisterEvent(): Attempt to register unknown event "MINIMAP_ZONE_CHANGED"
    [string "=[C]"]: in function `RegisterEvent'
    [string "@TomTom/libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:33: in function `OnUsed'
    [string "@AllPlayed/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:169: in function `RegisterEvent'
    [string "@AllPlayed/AllPlayed.lua"]:386: in function <AllPlayed/AllPlayed.lua:366>
    [string "=[C]"]: ?
    [string "@AnnounceRare/Libraries/Ace3/AceAddon-3.0-12/AceAddon-3.0.lua"]:66: in function <...nceRare/Libraries/Ace3/AceAddon-3.0/AceAddon-3.0.lua:61>
    [string "@AnnounceRare/Libraries/Ace3/AceAddon-3.0-12/AceAddon-3.0.lua"]:523: in function `EnableAddon'
    [string "@AnnounceRare/Libraries/Ace3/AceAddon-3.0-12/AceAddon-3.0.lua"]:626: in function <...nceRare/Libraries/Ace3/AceAddon-3.0/AceAddon-3.0.lua:611>
    [string "=[C]"]: in function `LoadAddOn'
    [string "@FrameXML/UIParent.lua"]:545: in function `UIParentLoadAddOn'
    [string "@FrameXML/UIParent.lua"]:754: in function `MajorFactions_LoadUI'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:100: in function `SetUpMajorFactionList'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:93: in function `RefreshMajorFactionList'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:88: in function `RefreshOverlay'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:80: in function <...sionLandingPage/Blizzard_DragonflightLandingPage.lua:76>
    [string "=[C]"]: ?
    [string "=[C]"]: ?
    [string "=[C]"]: in function `CreateFrame'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:49: in function `CreateOverlay'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:63: in function `RefreshExpansionOverlay'
    [string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:35: in function <...pansionLandingPage/Blizzard_ExpansionLandingPage.lua:33>

    Locals:
    (*temporary) = AceEvent30Frame {
    0 = <userdata>
    }
    (*temporary) = "MINIMAP_ZONE_CHANGED"

     

     

    3. 

    1x AllPlayed/AllPlayed.lua:360: attempt to index field 'MAX_PLAYER_LEVEL_TABLE' (a nil value)
    [string "@AllPlayed/AllPlayed.lua"]:360: in function <AllPlayed/AllPlayed.lua:302>
    [string "=(tail call)"]: ?
    [string "=[C]"]: ?
    [string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
    [string "=(tail call)"]: ?
    [string "@AllPlayed/libs/AceAddon-3.0-12/AceAddon-3.0.lua"]:529: in function `InitializeAddon'
    [string "@AllPlayed/libs/AceAddon-3.0-12/AceAddon-3.0.lua"]:644: in function <AllPlayed/libs/AceAddon-3.0/AceAddon-3.0.lua:636>

    Locals:
    self = <table> {
    SetDefaultModuleLibraries = <function> defined @AllPlayed/libs/AceAddon-3.0/AceAddon-3.0.lua:398
    SetDebugging = <function> defined @AllPlayed/AllPlayed.lua:490
    EnableModule = <function> defined @AllPlayed/libs/AceAddon-3.0/AceAddon-3.0.lua:363
    modules = <table> {
    }
    CancelTimer = <function> defined @AllPlayed/libs/AceTimer-3.0/AceTimer-3.0.lua:145
    IterateEmbeds = <function> defined @AllPlayed/libs/AceAddon-3.0/AceAddon-3.0.lua:473
    SecureHookScript = <function> defined @AllPlayed/libs/AceHook-3.0/AceHook-3.0.lua:410
    RawHookScript = <function> defined @AllPlayed/libs/AceHook-3.0/AceHook-3.0.lua:395
    DetectFactionChange = <function> defined @AllPlayed/AllPlayed.lua:1293
    SetDefaultModulePrototype = <function> defined @AllPlayed/libs/AceAddon-3.0/AceAddon-3.0.lua:440
    debugging = false
    OnTimePlayedMsg = <function> defined @AllPlayed/AllPlayed.lua:1242
    defaultModuleState = true
    IsEnabled = <function> defined @AllPlayed/libs/AceAddon-3.0/AceAddon-3.0.lua:482
    ScheduleTimer = <function> defined @AllPlayed/libs/AceTimer-3.0/AceTimer-3.0.lua:92
    DisableModule = <function> defined @AllPlayed/libs/AceAddon-3.0/AceAddon-3.0.lua:381
    OnDataUpdate = <function> defined @AllPlayed/AllPlayed.lua:509
    RegisterMessage = <function> defined @AllPlayed/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:117
    UnregisterMessage = <function> defined @AllPlayed/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:180
    total_realm = <table> {
    }
    hooks = <table> {
    }
    total_faction = <table> {
    }
    MyUpdate = <function> defined @AllPlayed/AllPlayed.lua:497
    Trace = <function> defined @AllPlayed/AllPlayed.lua:119
    SetEnabledState = <function> defined @AllPlayed/libs/AceAddon-3.0/AceAddon-3.0.lua:455
    Hook = <function> defined @AllPlayed/libs/AceHook-3.0/AceHook-3.0.lua:274
    enabledState = true
    EventHandlerHonorGain = <function> defined @AllPlayed/AllPlayed.lua:1282
    RegisterEvent = <function> defined @AllPlayed/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:117
    Logout = <function> defined @AllPlayed/AllPlayed.lua:1579
    IterateModules = <function> defined @AllPlayed/libs/AceAddon-3.0/AceAddon-3.0.lua:468
    RawHook = <function> defined @AllPlayed/libs/AceHook-3.0/AceHook-3.0.lua:313
    SaveVarHonor = <function> defined @AllPlayed/AllPlayed.lua:1374
    OnInitialize = <function> defined @AllPlayed/AllPlayed.lua:302
    NewModule = <function> defined @AllPlayed/libs/AceAddon-3.0/AceAddon-3.0.lua:266
    sort_tables_done = false
    GetModule = <function> defined @AllPlayed/libs/AceAddon-3.0/AceAddon-3.0.lua:241
    defaultModuleLibraries = <table> {
    }
    TimeLeft = <function> defined @AllPlayed/libs/AceTimer-3.0/AceTimer-3.0.lua:170
    total = <table> {
    }
    ScheduleRepeatingTimer = <function> defined @AllPlayed/libs/AceTimer-3.0/AceTimer-3.0.lua:127
    CancelAllTimers = <function> defined @AllPlayed/libs/AceTimer-3.0/AceTimer-3.0.lua:158
    EventHandlerOnlySort = <function> defined @AllPlayed/AllPlayed.lua:1254
    GetName = <function> defined @AllPlayed/libs/AceAddon-3.0/AceAddon-3.0.lua:310
    db = <table> {
    }
    baseName = "AllPlayed"
    name = "AllPlayed"
    SetSecondsPlayed = <function> defined @AllPlayed/AllPlayed.lua:1384
    EventHandler = <function> defined @AllPlayed/AllPlayed.lua:1273
    orderedModules = <table> {
    }
    SetTTOpacity = <function> defined @AllPlayed/AllPlayed.lua:750
    Disable = <function> defined @AllPlayed/libs/AceAddon-3.0/AceAddon-3.0.lua:345
    GetOption = <function> defined @AllPlayed/AllPl

     

  • serious2 posted a comment Aug 28, 2024

    The errors you've encountered seem unusual. Do you use the latest version?

    Try this one https://www.wowinterface.com/downloads/info26825.html


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