View Single Post
09/08/15, 04:53 AM   #8
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by Ayantir View Post
got same error, checked, all my active addons use r10 of libmappins.
ps: in the error, it's CustomCompassPins the guilty. Does this one is IC ready?
CustomCompassPins fires callback "OnWorldMapChanged" and error occurs in callback handler. Is it really CustomCompassPins fault?

Error occurs in this function:

Lua Code:
  1. function ZO_WorldMapFilterPanel_Shared:GetPinFilter(mapPinGroup)
  2.     if self.modeVars then
  3.         return self.modeVars.filters[self.mapFilterType][mapPinGroup]
  4.     end
  5.     return nil
  6. end

Because self.modeVars.filters[self.mapFilterType] is nil.
(In this case self = WORLD_MAP_FILTERS.imperialPvPPanel and self.modeVars = self.savedVars[mapMode])

I wonder if it is because ZO_WorldMap_GetMode() returns invalid value (mapMode is invalid or nil). But I can't be sure unless I do some tests.
  Reply With Quote