• 0

    posted a message on Error

    Hello everyone, i hope you can help me.
    I'm having trouble with the error a while ago and I do not know what causes it...
    Can anyone give me a solution? Please.

     

    5x RareSpawnOverlay\RSO-MapManager.lua:250: attempt to call global 'GetCurrentMapContinent' (a nil value)
    RareSpawnOverlay\RSO-MapManager.lua:250: in function `IsUpdated'
    RareSpawnOverlay\RSO-MapManager.lua:59: in function `ShowOverlay'
    RareSpawnOverlay\RSO-MapManager.lua:32: in function `WorldMapFrame_Show_Hook'
    RareSpawnOverlay\RareSpawnOverlay-7.0.00000.lua:95: in function <RareSpawnOverlay\RareSpawnOverlay.lua:95>
    [C]: in function `Show'
    FrameXML\UIParent.lua:2611: in function `SetUIPanel'
    FrameXML\UIParent.lua:2456: in function `ShowUIPanel'
    FrameXML\UIParent.lua:2317: in function <FrameXML\UIParent.lua:2313>
    [C]: in function `SetAttribute'
    FrameXML\UIParent.lua:3138: in function `ShowUIPanel'
    FrameXML\QuestLogOwnerMixin.lua:103: in function `SetDisplayState'
    FrameXML\QuestLogOwnerMixin.lua:51: in function `HandleUserActionToggleQuestLog'
    ...rfaceBlizzard_WorldMap\Blizzard_WorldMap.lua:399: in function `ToggleQuestLog'
    [string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

    Locals:
    self = <table> {
    WorldMapAvailable = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:21
    CreateWorldMapOverlayFrame = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:120
    CreateCheckButton = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:163
    SetUpdated = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:234
    BattlefieldMapAvailable = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:25
    BattlefieldMinimapOverlayFrames = <table> {
    }
    MapLegendCheckButtons = <table> {
    }
    MapFrames = <table> {
    }
    IsUpdated = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:249
    ClearUpdated = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:241
    UpdateWorldMap = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:110
    SetupFrames = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:16
    UpdateBattlefieldMapFrame = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:153
    UpdateWorldMapFrame = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:134
    CreateBattlefieldMapOverlayFrame = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:139
    ShowOverlay = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:57
    UpdateMapLegendCheckButton = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:214
    HandleCheckButtonClick = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:206
    CreateMapLegendCheckButton = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:158
    WorldMapFrame_Show_Hook = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:29
    ClearFrames = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:41
    WorldMapFrame_Hide_Hook = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:36
    HideOverlay = <function> defined @RareSpawnOverlay\RSO-MapManager.lua:105
    }
    (*temporary) = nil
    (*temporary) = "attempt to call global 'GetCurrentMapContinent' (a nil value)"

     

    -

     

     

    3x RareSpawnOverlay\RareSpawnOverlay-7.0.00000.lua:108: Attempt to register unknown event "WORLD_MAP_UPDATE"
    [C]: in function `RegisterEvent'
    RareSpawnOverlay\RareSpawnOverlay-7.0.00000.lua:108: in main chunk

    Locals:
    (*temporary) = <unnamed> {
    0 = <userdata>
    }
    (*temporary) = "WORLD_MAP_UPDATE"

     

    -

    and whit NpcScan: 

     

    3x _NPCScan.Overlay\Overlay.lua:701: attempt to call field 'SetMapByID' (a nil value)
    _NPCScan.Overlay\Overlay.lua:701: in function `?'
    ...ack\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua:119: in function <...ack\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
    [C]: ?
    ...ack\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua:29: in function <...ack\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
    ...ack\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua:64: in function `Fire'
    ...ceDominos\libs\AceEvent-3.0\AceEvent-3.0-4.lua:120: in function <...ceDominos\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

     

    -

     

    I hope it's not complicated!Thanks. :D
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.