HudMap

118 - Doesn't work in dungeon Firelands.

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.

User When Change
zonhan Jul 08, 2011 at 16:31 UTC Create

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

  • 2 comments
  • Avatar of zonhan zonhan Jul 14, 2011 at 16:29 UTC - 0 likes

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

  • Avatar of szynaka szynaka Jul 13, 2011 at 21:44 UTC - 0 likes

    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
    
  • 2 comments

Facts

Reported
Jul 08, 2011
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees