Hydra9268 / ZGESO

A public domain ESO Leveling Guide originally produced by Zygor Guides
19 stars 11 forks source link

Inability to establish markers on the Shimmerene Waterworks map #1

Closed Hydra9268 closed 6 years ago

Hydra9268 commented 6 years ago

In a nutshell, this is the map data for Shimmerene Waterworks.

["shimmerenewaterworks01_base"] =    { name = "Shimmerene Waterworks",     id = 397, xoffset = 0.15685471843788, yoffset = 0.72048605808177, xscale = 0.0024150456740794, },

The data comes from /script d(LibStub("LibGPS2"):GetCurrentMapMeasurements())

xoffset = 0.15685471843788
yoffset = 0.72048605808177
xscale = 0.0024150456740794

The DDS file name came from the DAT files.

At least on the surface, everything is correct. However, the marker does not appear.

goto shimmerenewaterworks01_base 50,50

I suspect there is another issue in play, but I don't precisely know what it is and I'm putting a call out to the ESO Addon, LUA, and Zygor Guide community to assist.


Auxiliary information:

From Fyrakin's MiniMap, in MiniMap.lua at the end of OnInit(). Pieced this together from various functions within the Add-On.

local x, y, heading = GetMapPlayerPosition("player")
d(string.format(GetString(SI_MM_STRING_COORDINATES).." x=%g, y=%g @ %s",("%05.04f"):format(zo_round(x*1000000)/10000),("%05.04f"):format(zo_round(y*1000000)/10000), Fyr_MM_Zone:GetText()))
d("GetMapPlayerPosition(player):"..GetMapPlayerPosition("player"))
d("Map: "..FyrMM.currentMap.filename..", Stored size: "..string.format("%g",("%05.04f"):format(zo_round(FyrMM.currentMap.TrueMapSize*100)/100)))
d(zo_round(FyrMM.currentMap.TrueMapSize*100)/100)
d("Suggested size: "..string.format("%g",("%05.04f"):format(zo_round(FyrMM.currentMap.TrueMapSize*100*(9/(FyrMM.MovementSpeedMax*100)))/100)))

LIBGPS2 commands

/script d(LibStub("LibGPS2"):GetCurrentMapMeasurements())
/script d(LibStub("LibGPS2"):LocalToGlobal(GetMapPlayerPosition("player")))
/script d(LibStub("LibGPS2"):GetCurrentMapMeasurements())

ESOUI commands

/run d(GetMapFloorInfo())
/run d(GetMapPlayerPosition())
Hydra9268 commented 6 years ago

Issue identified and resolved.

For an in depth review.