TomTom

4 - Astrolabe error inside Stonecore

I'm getting the following error when I entered the Stonecore..
Maybe you need to update Astrolabe to the latest version.

Date: 2010-12-16 11:36:40
ID: 3
Error occured in: Global
Count: 1
Message: Bad argument #4 to 'Astrolabe...\AddOns\TomTom\libs\Astrolabe\Astrolabe.lua:877' (number expected, got nil)
Debug:
   (tail call): ?
   [C]: ?
   [C]: error()
   TomTom\libs\Astrolabe\Astrolabe.lua:139
      TomTom\libs\Astrolabe\Astrolabe.lua:130
   TomTom\libs\Astrolabe\Astrolabe.lua:883
      TomTom\libs\Astrolabe\Astrolabe.lua:877
   (tail call): ?
   TomTom\TomTom_Waypoints.lua:441
      TomTom\TomTom_Waypoints.lua:433
   [C]: ?
   [C]: SetMapToCurrentZone()
   ..\FrameXML\WatchFrame.lua:246
      ..\FrameXML\WatchFrame.lua:239

User When Change
Cladhaire Mar 06, 2011 at 22:10 UTC Changed status from Waiting to Fixed
Cladhaire Jan 24, 2011 at 16:05 UTC Changed status from New to Waiting
glithramir Dec 16, 2010 at 10:42 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 3 comments
  • Avatar of Cladhaire Cladhaire Jan 24, 2011 at 16:05 UTC - 0 likes

    You should no longer experience this issue beyond v40000-1.2.0-beta. Please confirm.

  • Avatar of gcurseforge gcurseforge Dec 25, 2010 at 14:37 UTC - 0 likes

    Its not a problem with astrolabe, its just checking its parameters and bitching because it got passed nil instead of a valid number for param #4 (mapID)

    At least for me its from this call in tomtom_waypoints.lua this function below starts on line 433 and its triggered every time I enter the map with 'M' and at other times The check made is this :- PlaceIconOnWorldMap(TomTomMapOverlay, self, data.c, data.z, data.x, data.y) function Astrolabe:PlaceIconOnWorldMap( worldMapFrame , icon, mapID, mapFloor, xPos, yPos ) The check is argcheck(mapID, 4, "number");

    So in the following function :- which means data.c is a nil value

    433: function World_OnEvent(self, event, ...) if event == "WORLD_MAP_UPDATE" then if not self.point.uid then return end

    local data = self.point if data.worldmap and data.show_world and not disabled then local x,y = compat:PlaceIconOnWorldMap(TomTomMapOverlay, self, data.c, data.z, data.x, data.y) local pdata = TomTom:GetData(data.uid) or {}

    if (x and y and (0 < x and x <= 1) and (0 < y and y <= 1)) then self:Show() else self:Hide() end else self:Hide() end end end

    I changed line 440: too: if data.worldmap and data.show_world and not disabled and data.c then

    Thats swept the problem under the flying carpet

    Cheers mark

  • Avatar of Cladhaire Cladhaire Dec 16, 2010 at 14:13 UTC - 0 likes

    Astrolabe is the latest version. I will not be able to do anything about this until after the new year at the very earliest.

  • 3 comments

Facts

Last updated
Mar 06, 2011
Reported
Dec 16, 2010
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees