WoW-Pro Guides

WoW-Pro Guides

3M Downloads

AddOn Error with TomTom

tash opened this issue ยท 2 comments

commented

Due to changing zones by mount while fiddling around with the guide list, the following error occured on client restart:
Date: 2010-11-11 17:09:49
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\TomTom\TomTom_Waypoints.lua line 62:
table index is nil
Debug:
(tail call): ?
TomTom\TomTom_Waypoints.lua:62:
TomTom\TomTom_Waypoints.lua:57
TomTom\TomTom_Waypoints.lua:245: ClearWaypoint()
TomTom\TomTom.lua:707: RemoveWaypoint()
WoWPro\WoWPro_Mapping.lua:418: RemoveMapPoint()
WoWPro\WoWPro_Mapping.lua:270: MapPoint()
WoWPro\WoWPro.lua:132:
WoWPro\WoWPro.lua:111
(tail call): ?
[C]: ?
The uid in cache appears to be nil, so it wrecks the whole addon with the following call in WoW_ProMapping:
TomTom:RemoveWaypoint(cache[i].uid)
a check on nil did the trick for me so far:
if not cache[i].uid == nil then
TomTom:RemoveWaypoint(cache[i].uid)
end
I still get a "Zone not found. Using current zone".

Edit: Ok, I found the reason. Blizz changed the zone name for Howling Fjord in the german client: "Der heulende Fjord" -> "Der Heulende Fjord", so it's actually a Lib-Babble-Zone-3.0 issue afiak

commented

I grabbed the most recent version of Lib Babble Zones. Let me know if it's still a problem!

commented

Whew, okay. I'll manually edit that for now and watch to see if Lib Babble Zones gets an update. Thanks very much for the detailed feedback, very helpful! :)