Doesn't work in dungeon Firelands. #118


  • New
  • Defect
Open
Assigned to ardentvark
  • zonhan created this issue Jul 8, 2011

    At outdoors of dungeon firelands, there's something error:
    ----
    HudMap\HudMap-v1.4b-2-gf9e584b.lua:2106: attempt to perform arithmetic on field "?" (a nil value)
    HudMap\HudMap-v1.4b-2-gf9e584b.lua:2106: in function <HudMap\HudMap.lua:2101>
    (tail call): ?
    HudMap\HudMap-v1.4b-2-gf9e584b.lua:1609: in function "Update"
    HudMap\HudMap-v1.4b-2-gf9e584b.lua:1667: in function "UpdateAll"
    HudMap\HudMap-v1.4b-2-gf9e584b.lua:2163: in function "Update"
    HudMap\HudMap-v1.4b-2-gf9e584b.lua:865: in function <HudMap\HudMap.lua:819>

    Locals:
    (*temporary) = 7.8060002326965
    (*temporary) = <func> =[C]:-1
    ----

    But indoors(in front of Ragnaros), this addon is working fine.

  • zonhan added the tags New Defect Jul 8, 2011
  • _ForgeUser990971 posted a comment Jul 13, 2011

    Patch to handle maps that Astrolabe doesn't know about. Patch also submitted to Astrolabe to fix Firelands Floor 1 missing

    --- C:/Program Files (x86)/World of Warcraft.dev/interface/addons/HudMap.2/HudMap.lua	Wed Jul 13 17:23:04 2011
    +++ C:/Program Files (x86)/World of Warcraft.dev/interface/addons/HudMap/HudMap.lua	Wed Jul 13 17:33:59 2011
    @@ -2123,8 +2123,10 @@
       if not m then return end
     	
       local _, _, w, h = Astrolabe:GetMapInfo(m, l or 0)
    -  zoneScale[1] = w
    -  zoneScale[2] = h
    +  if(w and h) then
    +	zoneScale[1] = w
    +	zoneScale[2] = h
    +  end
       
     	self.currentZone = l > 0 and (m .. l) or l
     end
    
  • zonhan posted a comment Jul 14, 2011

    @szynaka: Go Thank you, the problem has been solved. :)


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