Log in to ZYGOR
Log in with social media
OR
Log in with Zygor account

Announcement

Collapse
No announcement yet.

[bug] index local "mapData" nil value

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [bug] index local "mapData" nil value

    I just updated to 5.0.11011, and both this version and the previous version have endless bugs when you enter the Garrison mine/excavation. My mine was level 2 with ZGV 2.0.10995 and now my mine is level 3, same error. I play on Alliance.
    Code:
    168x ...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe-1.0.lua:980: ...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:177: attempt to index local 'mapData' (a nil value)
    [C]: ?
    ...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe-1.0.lua:980: in function `CalculateMinimapIconPositions'
    ...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe-1.0.lua:1157: in function `OnShow'
    ...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe-1.0.lua:1369: in function <...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1368>
    [C]: in function `Show'
    ...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe-1.0.lua:1179: in function `AllWorldMapsHidden'
    ElvUI\libs\Astrolabe\AstrolabeMapMonitor.lua:168: in function `Update'
    ElvUI\libs\Astrolabe\AstrolabeMapMonitor.lua:99: in function <ElvUI\libs\Astrolabe\AstrolabeMapMonitor.lua:97>
    [C]: ?
    [C]: in function `Hide'
    WoWDBProfiler\Main.lua:817: in function <WoWDBProfiler\Main.lua:785>
    WoWDBProfiler\Main.lua:824: in function `?'
    ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:147: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
    [string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
    [C]: ?
    [string "safecall Dispatcher[1]"]:13: in function `?'
    ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function `Fire'
    Ace3\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>
    
    Locals:
    self = <table> {
     IconsOnEdge_GroupChangeCallbacks = <table> {
     }
     CalculateMinimapIconPositions = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:972
     AllWorldMapsHidden = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1176
     RemoveIconFromMinimap = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:723
     GetDistanceToIcon = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:998
     PlaceIconOnMinimap = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:651
     OnUpdate = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1129
     ComputeDistance = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:193
     IconsOnEdge = <table> {
     }
     OnShow = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1141
     GetUnitPosition = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:363
     GetDirectionToIcon = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1009
     IconsOnEdgeChanged = false
     PlaceIconOnWorldMap = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1048
     GetNumFloors = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:523
     GetMapInfo = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:529
     MicroDungeonSize = <table> {
     }
     MapIDsByName = <table> {
     }
     ManualHarvest = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:2352
     UpdateMinimapIconPositions = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:876
     GetCurrentPlayerPosition = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:492
     CD = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:193
     MinimapIconCount = 1
     TWMP = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:269
     ForceNextUpdate = false
     TRANSFORMS = <table> {
     }
     WorldMapVisible = false
     CalculateMicroDungeon = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:2167
     WorldMapSize = <table> {
     }
     minimapOutside = true
     ContinentListx = <table> {
     }
     ContinentList = <table> {
     }
     HarvestedMapData = <table> {
     }
     MinimapUpdateMultiplier = 10
     OnHide = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1169
     MinimapIcons = <table> {
     }
     processingFrame = <unnamed> {
     }
     OnEvent = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1083
     GetMapID = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:512
     TranslateWorldMapPosition = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:269
     DumpNewIconsCache = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1032
     Register_OnEdgeChanged_Callback = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1021
     GetVersion = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:55
     IsIconOnEdge = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1005
     LastPlayerPosition = <table> {
     }
     RemoveAllMinimapIcons = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:743
    }
    reset = true
    fullUpdateCrashed = true
    fullUpdateThread = <function> defined =[C]:-1
    CalculateMinimapIconPositions = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:898
    resetFullUpdate = false
    fullUpdateInProgress = true
    resetIncrementalUpdate = true
    A volunteer Curse Moderator. I write some AddOns too.

    https://www.youtube.com/user/myrroddin

    #2
    Try it with all other addons disabled please. I've been in and out of my level 2 mine at the garrison continually and the only problem I've had is that it wants me to use the garrison hearthstone to get back there fast to send me on my way. I have yet to receive any LUA errors with going in and out of the mine.
    Become a Fan of Zygor Guides on Facebook:
    http://www.facebook.com/pages/Zygor-...04933799556988

    Follow Zygor Guides on Twitter:
    http://twitter.com/zygorguides

    Comment


      #3
      Code:
      31x ...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe-1.0.lua:338: attempt to index local 'mapData' (a nil value)
      ...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe-1.0.lua:338: in function `TranslateWorldMapPosition'
      ...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe-1.0.lua:1065: in function `PlaceIconOnWorldMap'
      ZygorGuidesViewer\Pointer.lua:831: in function `UpdateWorldMapIcon'
      ZygorGuidesViewer\Pointer.lua:1542: in function <ZygorGuidesViewer\Pointer.lua:1494>
      [C]: ?
      [C]: in function `SetMapToCurrentZone'
      FrameXML\WorldMapFrame.lua:320: in function <FrameXML\WorldMapFrame.lua:300>
      [C]: ?
      [C]: in function `Show'
      WoWDBProfiler\Main.lua:801: in function <WoWDBProfiler\Main.lua:785>
      WoWDBProfiler\Main.lua:824: in function `?'
      ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:147: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
      [string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
      [C]: ?
      [string "safecall Dispatcher[1]"]:13: in function `?'
      ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function `Fire'
      Ace3\AceEvent-3.0\AceEvent-3.0-3.lua:120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>
      
      Locals:
      self = <table> {
       IconsOnEdge_GroupChangeCallbacks = <table> {
       }
       CalculateMinimapIconPositions = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:972
       AllWorldMapsHidden = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1176
       RemoveIconFromMinimap = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:723
       GetDistanceToIcon = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:998
       PlaceIconOnMinimap = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:651
       OnUpdate = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1129
       ComputeDistance = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:193
       IconsOnEdge = <table> {
       }
       OnShow = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1141
       GetUnitPosition = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:363
       GetDirectionToIcon = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1009
       IconsOnEdgeChanged = false
       PlaceIconOnWorldMap = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1048
       GetNumFloors = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:523
       GetMapInfo = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:529
       MicroDungeonSize = <table> {
       }
       MapIDsByName = <table> {
       }
       ManualHarvest = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:2352
       UpdateMinimapIconPositions = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:876
       GetCurrentPlayerPosition = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:492
       CD = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:193
       MinimapIconCount = 1
       TWMP = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:269
       ForceNextUpdate = false
       TRANSFORMS = <table> {
       }
       WorldMapVisible = true
       CalculateMicroDungeon = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:2167
       WorldMapSize = <table> {
       }
       minimapOutside = true
       ContinentListx = <table> {
       }
       ContinentList = <table> {
       }
       HarvestedMapData = <table> {
       }
       MinimapUpdateMultiplier = 10
       OnHide = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1169
       MinimapIcons = <table> {
       }
       processingFrame = <unnamed> {
       }
       OnEvent = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1083
       GetMapID = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:512
       TranslateWorldMapPosition = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:269
       DumpNewIconsCache = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1032
       Register_OnEdgeChanged_Callback = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1021
       GetVersion = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:55
       IsIconOnEdge = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1005
       LastPlayerPosition = <table> {
       }
       RemoveAllMinimapIcons = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:743
      }
      worldMapFrame = ZygorGuidesViewerPointerOverlay {
       0 = <userdata>
      }
      icon = ZGVMarker1World {
       0 = <userdata>
       zoom = <unnamed> {
       }
       spinner = ZGVMarker1WorldSpinner {
       }
       waypoint = <table> {
       }
       zoomy = <unnamed> {
       }
       unzoom = <unnamed> {
       }
       icon = <unnamed> {
       }
       Loop = <unnamed> {
       }
      }
      mapID = 971
      mapFloor = 0
      xPos = 0.315
      yPos = 0.31
      M = 971
      F = 25
      zone_aliases = <table> {
       700 = 700
       737 = 751
       606 = 606
       720 = 720
       793 = 697
       697 = 697
       751 = 751
      }
      GetCurrentMapAreaID = <function> defined @Add
      A volunteer Curse Moderator. I write some AddOns too.

      https://www.youtube.com/user/myrroddin

      Comment


        #4
        Code:
        669x ...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe-1.0.lua:177: attempt to index local 'mapData' (a nil value)
        ...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe-1.0.lua:177: in function <...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:173>
        ...ddOns\ZygorGuidesViewer\Libs\Astrolabe\Astrolabe-1.0.lua:295: in function `TranslateWorldMapPosition'
        ZygorGuidesViewer\Pointer.lua:3583: in function <ZygorGuidesViewer\Pointer.lua:3572>
        ZygorGuidesViewer\Pointer.lua:3631: in function `AnimateAnts'
        ZygorGuidesViewer\Pointer.lua:3220: in function <ZygorGuidesViewer\Pointer.lua:3210>
        
        Locals:
        self = <table> {
         IconsOnEdge_GroupChangeCallbacks = <table> {
         }
         CalculateMinimapIconPositions = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:972
         AllWorldMapsHidden = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1176
         RemoveIconFromMinimap = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:723
         GetDistanceToIcon = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:998
         PlaceIconOnMinimap = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:651
         OnUpdate = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1129
         ComputeDistance = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:193
         IconsOnEdge = <table> {
         }
         OnShow = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1141
         GetUnitPosition = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:363
         GetDirectionToIcon = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1009
         IconsOnEdgeChanged = false
         PlaceIconOnWorldMap = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1048
         GetNumFloors = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:523
         GetMapInfo = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:529
         MicroDungeonSize = <table> {
         }
         MapIDsByName = <table> {
         }
         ManualHarvest = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:2352
         UpdateMinimapIconPositions = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:876
         GetCurrentPlayerPosition = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:492
         CD = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:193
         MinimapIconCount = 6
         TWMP = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:269
         ForceNextUpdate = false
         TRANSFORMS = <table> {
         }
         WorldMapVisible = false
         CalculateMicroDungeon = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:2167
         WorldMapSize = <table> {
         }
         minimapOutside = true
         ContinentListx = <table> {
         }
         ContinentList = <table> {
         }
         HarvestedMapData = <table> {
         }
         MinimapUpdateMultiplier = 10
         OnHide = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1169
         MinimapIcons = <table> {
         }
         processingFrame = <unnamed> {
         }
         OnEvent = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1083
         GetMapID = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:512
         TranslateWorldMapPosition = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:269
         DumpNewIconsCache = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1032
         Register_OnEdgeChanged_Callback = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1021
         GetVersion = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:55
         IsIconOnEdge = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:1005
         LastPlayerPosition = <table> {
         }
         RemoveAllMinimapIcons = <function> defined @ZygorGuidesViewer\Libs\Astrolabe\Astrolabe.lua:743
        }
        M = 971
        F = 25
        xPos = 0.68861758708954
        yPos = 0.6335414648056
        nM = 962
        nF = 0
        mapData = nil
        map = <table> {
         0 = <table> {
         }
         floorMax = 24
         xOffset = -545.833984
         floorMin = 0
         width = 683.333984
         24 = <table> {
         }
         systemParent = 962
         height = 456.25
         system = 962
         23 = <table> {
         }
         yOffset = -2091.666992
        }
        nMap = <table> {
         xOffset = -12242.34375
         system = 962
         floorMax = 0
         systemParent = 962
         height = 15157.1875
         floorMin = 0
         yOffset = -11193
         width = 22735.78223
        }
        WorldMapSize = <table> {
         4 = <table>
        A volunteer Curse Moderator. I write some AddOns too.

        https://www.youtube.com/user/myrroddin

        Comment


          #5
          Originally posted by Zygor Support View Post
          Try it with all other addons disabled please. I've been in and out of my level 2 mine at the garrison continually and the only problem I've had is that it wants me to use the garrison hearthstone to get back there fast to send me on my way. I have yet to receive any LUA errors with going in and out of the mine.
          Will do. Disabling all other AddOns except ZGV and BugSack/BugGrabber. I will also delete my saved variables JIC.
          A volunteer Curse Moderator. I write some AddOns too.

          https://www.youtube.com/user/myrroddin

          Comment


            #6
            Good news, I fixed it. It was a corrupt saved variables file. The error did not occur when it was just ZGV and BugGrabber, and now it isn't occurring with everything enabled. Deleting the SVs was the cure.
            A volunteer Curse Moderator. I write some AddOns too.

            https://www.youtube.com/user/myrroddin

            Comment


              #7
              Good to hear.
              Become a Fan of Zygor Guides on Facebook:
              http://www.facebook.com/pages/Zygor-...04933799556988

              Follow Zygor Guides on Twitter:
              http://twitter.com/zygorguides

              Comment

              Working...
              X