Log in to ZYGOR
Log in with social media
OR
Log in with Zygor account

Announcement

Collapse
No announcement yet.

Summerset Question.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    We haven't sent out an update for the ESO guides in a while (April 4th) so that would be why things have not been over-written yet. The box on the client should be for controlling updating the license file which is a leftover from when the ESO guides were part of the subscription. To the best of my knowledge with the box orange or black it will still update the addon files and the box really only controlled the guides.

    I'll talk to one of our devs about the map question.
    Become a Fan of Zygor Guides on Facebook:
    http://www.facebook.com/pages/Zygor-...04933799556988

    Follow Zygor Guides on Twitter:
    http://twitter.com/zygorguides

    Comment


      #17
      Thanks. For the Monastery, here's what I have

      Code:
      ["monasterysereneharmony_base"] = 	{ name = "Monastery of Serene Harmony", id = 396, xoffset = 0.16078806889053, yoffset = 0.71933247407576, xscale = 0.00090745477168426, yscale = 0.00090718733319135, },
      I got those coordinates using these script commands (plus a great many more that I don't recall at the moment).
      Code:
      /script d(LibStub("LibGPS2"):GetCurrentMapMeasurements())
      /script d(LibStub("LibGPS2"):LocalToGlobal(GetMapPlayerPosition("player")))
      Used those script commands for these Summerset locations, and they work.

      Code:
      ["summerset_base"] = 			{ name = "Summerset", 			id = 388, xoffset = -0.0035352285793352, yoffset = 0.60646441074991, scale = 0.26354155912548, yscale = 0.26354164039408, map = 32, },
      ["shimmerene_base"] = 			{ name = "Shimmerene", 			id = 394, xoffset = 0.13651019277278, yoffset = 0.70346567832109, xscale = 0.03906602479392, yscale = 0.039067244684405, },
      ["alinor_base"] = 			{ name = "Alinor", 			id = 389, xoffset = 0.06035675104039, yoffset = 0.75090383391464, xscale = 0.027322944989731, yscale = 0.027322585673017, },
      ["sunhold_base"] = 			{ name = "Sunhold", 			id = 395, xoffset = 0.089077860247676, yoffset = 0.78044268173993, xscale = 0.015432254571717, yscale = 0.015431841398846, },
      ---

      Update: The devs goofed on lillandrill_base_0.dds. The city is named Lillandril. A lot of people are going get confused by why their map coordinates isn't working. Anyhow, fixed that map's coordinates.
      Last edited by alterego9268; May 27, 2018, 06:19 PM.

      Comment


        #18
        Oh my goodness! I figured it out.

        The base name refers to the name of the map's DDS file, and I had it wrong (e.g. "monasterysereneharmony_base.") The correct name is "monasteryoshfloor01_base." The only way I was able to figure this out was by extracting everything from the ESO dat files (and I mean EVERYTHING). I did it primarily because ESOUI hasn't updated with Summerset's data yet. Anyhow, having these assets available and their correct file names helped me find the correct assets for the loading screen DDS art, and now it will help me find the proper names for the maps.

        Arrow and marker coordinates working in the Monastery.



        This realization alone made working with the guide that much more manageable for me.
        Last edited by alterego9268; May 27, 2018, 06:35 PM.

        Comment


          #19
          Well, this is a brain drain: Shimmerene Waterworks.

          This is the DDS map filename I'm working with, which is correct:

          Code:
          shimmerenewaterworks01_base
          And these are the coordinates, which are correct according to
          /script d(LibStub("LibGPS2"):GetCurrentMapMeasurements())

          Code:
          xoffset = 0.1568547195759
          yoffset = 0.72048604881722
          xscale = 0.0024150322855907
          For whatever reason map markers don't appear on this map. The arrow simply spins around. Any of this look wrong? Am I missing anything?

          Comment


            #20
            It may sound simple but did you open and close the map to make sure the addon could see what map you were standing on?
            Become a Fan of Zygor Guides on Facebook:
            http://www.facebook.com/pages/Zygor-...04933799556988

            Follow Zygor Guides on Twitter:
            http://twitter.com/zygorguides

            Comment


              #21
              Yes, I did that. I even left the Waterworks and came back for good measure.

              I ran this ESO API command to return the map's floor information
              Code:
              /run d(GetMapFloorInfo())
              [I]Returns: number currentFloor, number numFloors[/I]
              Returned values: 2, 0

              So it's telling me the current floor I'm on is 2, and the total number of floors is 0. ???

              These are the only available DDS map files for Shimmerene Waterworks:
              shimmerenewaterworks01_base_0.dds
              shimmerenewaterworks02_base_0.dds

              On a whim, I swapped shimmerenewaterworks01_base with shimmerenewaterworks02_base in the map data.

              Code:
              ["shimmerenewaterworks02_base"] =    { name = "Shimmerene Waterworks",     id = 397, xoffset = 0.15685471843788, yoffset = 0.72048605808177, xscale = 0.0024150456740794, },
              That did not work either. I know I'm missing something, I just don't know what.

              Comment


                #22
                Anyone? I really want to do this for the community on my time. I am legitimately stuck on the Shimmerene Waterworks map. As you can see below, I've tried many commands.

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

                Code:
                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:

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


                ESOUI commands

                Code:
                /run d(GetMapFloorInfo())
                /run d(GetMapPlayerPosition())
                All gave me a lot of information. None that would help me figure out why X and Y coordinates do not work for:

                Code:
                ["shimmerenewaterworks01_base"] =	{ name = "Shimmerene Waterworks", 	id = 397, xoffset = 0.15685471843788, yoffset = 0.72048605808177, xscale = 0.0024150456740794, },
                Last edited by alterego9268; May 30, 2018, 10:41 PM.

                Comment


                  #23
                  I've asked a dev to pop in and look at the forum here.
                  Become a Fan of Zygor Guides on Facebook:
                  http://www.facebook.com/pages/Zygor-...04933799556988

                  Follow Zygor Guides on Twitter:
                  http://twitter.com/zygorguides

                  Comment


                    #24
                    Thanks!

                    I've pushed all latest changes to https://github.com/Hydra9268/ZGESO

                    Comment


                      #25
                      Originally posted by alterego9268 View Post
                      Thanks!

                      I've pushed all latest changes to https://github.com/Hydra9268/ZGESO
                      You sir are a legend please keep up the good work!

                      Comment


                        #26
                        Besides the gracious support from the Devs (should they choose to assist; thanks!) is there anyone else with LUA scripting experience who would like to assist? The inability to establish a marker on the Shimmerene Waterworks map is the most perplexing puzzle I've seen.

                        I've posted this as the first legitimate blocker
                        https://github.com/Hydra9268/ZGESO/issues

                        Update: Issue was identified and resolved
                        Last edited by alterego9268; June 1, 2018, 07:02 AM.

                        Comment


                          #27
                          Hehe, I was going to suggest checking with other addon authors over at esoui but it looks like you already posted there.
                          Become a Fan of Zygor Guides on Facebook:
                          http://www.facebook.com/pages/Zygor-...04933799556988

                          Follow Zygor Guides on Twitter:
                          http://twitter.com/zygorguides

                          Comment


                            #28
                            Since I don't even have ESO installed right now, I'll go out on some limbs.
                            What would /zgsurvey output? The same values as you'd obtained using LIBGPS2, or different?
                            Does the map work as a submap on another? Do any of your data-digging functions report something significantly different from other similar maps?

                            Comment


                              #29
                              Originally posted by Zygor Dev 1 View Post
                              What would /zgsurvey output? The same values as you'd obtained using LIBGPS2, or different?
                              It didn't. For whatever reasons, the code doesn't fire. But I didn't let that stop me. I copied...

                              Code:
                              DEVd(("|c88ff88Surveyed |cffffff%s|r! Offsets: %.6f %.6f, scale: %.6f"):format(tex,Z.xoffset,Z.yoffset,Z.scale))
                              to

                              Code:
                              d(("|c88ff88Surveyed |cffffff%s|r! Offsets: %.6f %.6f, scale: %.6f"):format(tex,Z.xoffset,Z.yoffset,Z.scale))
                              And got back

                              Code:
                              Surveyed ShimmereneWaterworks01_base! Offsets: 0.158669 0.720854, scale: -0.000000
                              I updated with those values.

                              Code:
                              ["ShimmereneWaterworks01_base"] = { name = "Shimmerene Waterworks", id = 397, xoffset = 0.158669, yoffset = 0.720854, xscale = -0.000000, },
                              Nothing. Pretty sure the scale is wrong. No maps have a -0.0 scale. They're all positive floats.

                              The primary variable Z is an array of various coordinate data. A d(Z) returns the following:

                              Code:
                              .(string): name = Shimmerene Waterworks
                              .(number): id = 397
                              .(number): scouttime = 1527850366
                              .(number): xoffset = 0.15866880118847
                              .(number): yoffset = 0.72085559368134
                              .(number): px1 = 0.15866880118847
                              .(number): py1 = 0.72085559368134
                              .(number): lx1 = 0.75115972757339
                              .(number): ly1 = 0.15308150649071
                              .(number): xscale = -0
                              .(number): scale = -0
                              Again, the scale shows a negative zero. Hmmm.

                              /script d(LibStub("LibGPS2"):GetCurrentMapMeasurements())
                              Code:
                              .(number): offsetX = 0.15685471873136
                              .(number): offsetY = 0.72048606511502
                              .(number): scaleX = 0.0024150422214115
                              .(number): scaleY = 0.0024139334318597
                              The xoffset and yoffsets do change between both. However, LIPGPS2 reports the xscale and yscale values. I assume we can ditch the yscale as meaningless. I updated the map data with LIBGPS2's xscale value, and nothing worked.

                              Code:
                              ["ShimmereneWaterworks01_base"] =    { name = "Shimmerene Waterworks",     id = 397, xoffset = 0.158669, yoffset = 0.720854, xscale = 0.0024150422214115, },
                              It took me ten minutes to realize the reason WHY the map isn't working. For some oddball reason the map DDS filename is thoroughly case sensitive. In other words,

                              Works
                              goto ShimmereneWaterworks01_base 50,50

                              Doesn't work (even if code is ["shimmerenewaterworks01_base"] and [[shimmerenewaterworks01_base]])
                              goto shimmerenewaterworks01_base 50,50

                              TL;DR - I got it! Thanks. The zgsurvey is busted, but I was able to use part of the code to get back usable data!





                              I'm creating a new public function in Pointer that will be a mixture between the zgsurvey for map name, xoffset, and yoffset, and LIBGPS2 for the xscale. That should provide working coordinates every time.

                              As a follow-up, do you know why on this particular map case sensitivity matters? Did you ever encounter case sensitivity with any other ESO maps?
                              Last edited by alterego9268; June 1, 2018, 07:03 AM.

                              Comment


                                #30



                                It's not perfect (and has bugs on zone maps), but it should help with city and dungeon maps.

                                Comment

                                Working...
                                X