Thread Tools Display Modes
06/17/24, 12:43 PM   #1
yetAnotherAccount64
Join Date: Jun 2024
Posts: 1
Error in LibMapData

since in this addon comments is disabled, i must report it as separate topic

When visiting Eyevea, I get the Error:
user:/AddOns/libs/LibMapData/LibMapData.lua:129: attempt to index a nil value
stack traceback:
user:/AddOns/libs/LibMapData/LibMapData.lua:129: in function 'lib:IsOverlandMap'
user:/AddOns/Destinations/Destinations.lua:2348: in function 'ChampionpinTypeCallback'
/EsoUI/Ingame/Map/MapPin_Manager.lua:297: in function 'ZO_WorldMapPins_Manager:RefreshCustomPins'
/EsoUI/Ingame/Map/WorldMap.lua:2415: in function 'ZO_WorldMap_UpdateMap'
/EsoUI/Ingame/Map/WorldMap.lua:5160: in function 'ZO_WorldMapManager:SetToMode'
/EsoUI/Ingame/Map/WorldMap.lua:5091: in function 'ZO_WorldMapManager:PopSpecialMode'
/EsoUI/Ingame/Map/WorldMap.lua:2536: in function 'OnFastTravelEnd'


I fixed it by adding to LibMapData_Data.lua:
Lua Code:
  1. lib.eyeveaData = {
  2.   ["subZones"] = { },
  3.   ["dungeons"] = { },
  4.   ["events"] = { },
  5. }
Lua Code:
  1. [52] = {
  2.     ["mapTexture"] = "guildmaps/eyevea_base_0.dds",
  3.     ["mapIndex"] = 52,
  4.     ["mapId"] = 108,
  5.     ["zoneIndex"] = 2,
  6.     ["zoneName"] = "Eyevea",
  7.     ["zoneId"] = 267,
  8.     ["mapsData"] = lib.eyeveaData,
  9.   },

whereas I found out info except mapTexture by
Lua Code:
  1. /script d(GetCurrentMapId())
  2. /script d(GetZoneId())
  3. /script d(GetCurrentMapIndex())
  4. /script d(GetCurrentMapZoneIndex())

I copied the mapTexture from higher up in that file, but it might now be something like
"Art/maps/eyevea/eyeveaoverland_base_0.dds" ? I don't know where to get that info.

You might want to update the addon, as lots of others depend on it, even Eyevea basically being abandoned again after so many centuries of search for it.
  Reply With Quote
06/19/24, 10:35 PM   #2
Monalyssa
Join Date: Jun 2024
Posts: 2
Thank you SO MUCH, YetAnotherAccount64, for fixing this.
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Error in LibMapData


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off