Dismiss Notice
This Section is READ ONLY - All Posts Are Archived

In-game Map Issues

Discussion in 'User Interface (Including Launcher)' started by Undone, Jul 12, 2018.

Thread Status:
Not open for further replies.
  1. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    As of version 805 I have made a number of client-side improvements to the map system which will allow me to much more easily fix broken map orientations etc. This means that some maps that were previously fine may be broken, and some that were previously broken may be fine. I am currently focused on your avatar's position on the map and arrow's direction. Other bugs in regards to POTs, POIs, etc are of much lower priority until things can get straightened out.

    I am currently on the lookout for these types of bugs:
    1. Avatar location mismatch
    2. Avatar direction incorrect (arrow points the wrong way)
    3. Outdated map due to a recently uncloned scene
    If you encounter any of these bugs please list the scene name in this thread and what you noticed was wrong and I will do my best to fix it in a timely manner.

    Please check this google spreadsheet for your map before reporting!
     
    Last edited: Jul 26, 2018
  2. Alley Oop

    Alley Oop Bug Hunter Bug Moderator

    Messages:
    15,679
    Likes Received:
    19,463
    Trophy Points:
    153
  3. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    killed from the DB
     
  4. Alley Oop

    Alley Oop Bug Hunter Bug Moderator

    Messages:
    15,679
    Likes Received:
    19,463
    Trophy Points:
    153
    still on the website?
     
  5. Anpu

    Anpu Avatar

    Messages:
    7,944
    Likes Received:
    9,015
    Trophy Points:
    153
    Location:
    Hemut
    07/12/2018 20:49
    SotA.Win.64.805.Date.07.10.18
    Area: Novia_R6_City_StormsReach
    Area Display Name: Storms Reach
    Loc: (144.2, 36.1, 267.6)
    Debug: Tm92aWFfUjZfQ2l0eV9TdG9ybXNSZWFjaHx8KDE0NC4xNTEsIDM2LjA5MywgMjY3LjYyNCl8KDAsIC0wLjc5OSwgMCwgMC42MDEpfDI1NC4wMzU4fDE3LjMzNjczfDkuNDA5MjMz

    Storms Reach, the Arrow direction is wrong and the Avatar location is wrong.
     
  6. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    Yes, I'm currently focused on game functionality and presentation before I move on to that.
     
    FrostII and Jaesun like this.
  7. Anpu

    Anpu Avatar

    Messages:
    7,944
    Likes Received:
    9,015
    Trophy Points:
    153
    Location:
    Hemut
    07/12/2018 21:09
    SotA.Win.64.805.Date.07.10.18
    Area: Novia_R6_Forest01_SanctusSpine
    Area Display Name: Sanctus Spine
    Loc: (-99.9, 2.6, 7.1)
    Debug: Tm92aWFfUjZfRm9yZXN0MDFfU2FuY3R1c1NwaW5lfHwoLTk5LjkyMSwgMi41NjYsIDcuMDk5KXwoMCwgLTAuMjgzLCAwLCAtMC45NTkpfDI2LjI1OTc5fDE2LjI1OTc1fDkuNDA5MjMz

    I think the Arrow direction is wrong, and the Avatar location is wrong.

    07/12/2018 21:25
    SotA.Win.64.805.Date.07.10.18
    Area: Novia_R6_Volcanic01_01
    Area Display Name: Sunless Barrens
    Loc: (41.6, 54.5, -231.2)
    Debug: Tm92aWFfUjZfVm9sY2FuaWMwMV8wMXx8KDQxLjU3OCwgNTQuNDUxLCAtMjMxLjIyOSl8KDAsIDAuMjY4LCAwLCAtMC45NjQpfDMyOS4xMzQ2fDE4LjA1NjA4fDkuNDA5MjMz

    Arrow direction is wrong, and the Avatar location is wrong.

    07/12/2018 21:31
    SotA.Win.64.805.Date.07.10.18
    Area: Novia_R6_Hills01_Road
    Area Display Name: South Broken Road
    Loc: (187.0, 68.0, 149.5)
    Debug: Tm92aWFfUjZfSGlsbHMwMV9Sb2FkfHwoMTg2Ljk2OSwgNjguMDA1LCAxNDkuNTIxKXwoMCwgMC45MDYsIDAsIC0wLjQyMil8MjMwLjEzN3wxNC4xMzY0Mnw5LjQwOTIzMw==

    Arrow direction is wrong, and the Avatar location is wrong. Also completely wrong map(?), pretty sure the correct one exists?

    07/12/2018 22:06
    SotA.Win.64.805.Date.07.10.18
    Area: VertasPass
    Area Display Name: Vertas Pass
    Loc: (-102.2, 0.5, 91.6)
    Debug: VmVydGFzUGFzc3x8KC0xMDIuMjQ4LCAwLjUyNywgOTEuNTk1KXwoMCwgLTAuNzEzLCAwLCAtMC43MDIpfDkxLjQ1NjA5fDE5LjU3MDc5fDkuNDA5MjMz

    Arrow direction is wrong, and the Avatar location is wrong.

    07/12/2018 22:43
    SotA.Win.64.805.Date.07.10.18
    Area: Novia_R7_Swamp01_01
    Area Display Name: South Longfall Wetland
    Loc: (188.4, 18.7, 53.3)
    Debug: Tm92aWFfUjdfU3dhbXAwMV8wMXx8KDE4OC40MzcsIDE4LjY5NiwgNTMuMjYpfCgwLCAtMC43NDYsIDAsIDAuNjY2KXwyNjMuNzM5NXwyMy4xMjk3NXw5LjQwOTIzMw==

    This is an uncloned scene. Wrong map.
     
    Last edited: Jul 13, 2018
    Aeryk likes this.
  8. Steevodeevo

    Steevodeevo Avatar

    Messages:
    1,431
    Likes Received:
    2,806
    Trophy Points:
    113
    @Undone, would it be possible please for a simple list of what's already been reported already here and elsewhere (and noted and actioned by yourself) so we don;t either repeat reports or have to trawl through what I'm sure will end up a very long thread.
     
    FrostII and Daxxe Diggler like this.
  9. Steevodeevo

    Steevodeevo Avatar

    Messages:
    1,431
    Likes Received:
    2,806
    Trophy Points:
    113
    @Undone

    Forest Siege pointer is out (looks like) 90 degrees.

    07/13/2018 15:50
    Title:
    Reproduction Rate:
    Blocker?
    Details:
    Steps to Reproduce:
    User Specs:
    OS: Windows 10 (10.0.0) 64bit
    CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz (8) System RAM: 16337
    GPU: NVIDIA GeForce GTX 760 (192-bit) GPU RAM: 1495
    SotA.Win.64.805.Date.07.10.18
    Area: SiegeEncounter_Forest01_Road/Ardoris
    Area Display Name: Forest Siege
    Loc: (-50.5, 30.9, -75.5)
    Debug: U2llZ2VFbmNvdW50ZXJfRm9yZXN0MDFfUm9hZHxBcmRvcmlzfCgtNTAuNTE4LCAzMC45MDgsIC03NS40NzcpfCgwLCAtMC4xNzMsIDAsIDAuOTg1KXwtMTEuMDQzNTV8MjIuMjUxOTZ8NS4xOTA4NjM=
     
  10. Alley Oop

    Alley Oop Bug Hunter Bug Moderator

    Messages:
    15,679
    Likes Received:
    19,463
    Trophy Points:
    153
    ah, i hadn't realized they were that desynched. i won't be of any use to you here, then.
     
  11. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    Here's a list.
     
    Last edited: Jul 13, 2018
  12. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    They're not necessarily "desynced" - it's just I can tell the client not to display certain maps.
     
  13. Alley Oop

    Alley Oop Bug Hunter Bug Moderator

    Messages:
    15,679
    Likes Received:
    19,463
    Trophy Points:
    153
    yes, but i can't tell from looking at the website which those are.
     
  14. Steevodeevo

    Steevodeevo Avatar

    Messages:
    1,431
    Likes Received:
    2,806
    Trophy Points:
    113
    To be honest apart from reporting Sunless Barrens is 'way out', I cant work out what's going on there. Like most of the ones i have reported recently, they have always worked for me before and are now broken.

    [​IMG]

    I appreciate that to fix a somewhat 'Heath Robinson' effort with the maps, it has to be replaced by a consistent and logical approach, and this will result, in the short term, in more broken maps.
    I just hope there are enough man/woman hours in the day to get on top of this issue quickly, as a very high proportion of maps seem to be borked right now.

    07/13/2018 17:12
    Title:
    Reproduction Rate:
    Blocker?
    Details:
    Steps to Reproduce:
    User Specs:
    OS: Windows 10 (10.0.0) 64bit
    CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz (8) System RAM: 16337
    GPU: NVIDIA GeForce GTX 760 (192-bit) GPU RAM: 1495
    SotA.Win.64.805.Date.07.10.18
    Area: Novia_R6_Volcanic01_01
    Area Display Name: Sunless Barrens
    Loc: (197.5, 27.0, 105.3)
    Debug: Tm92aWFfUjZfVm9sY2FuaWMwMV8wMXx8KDE5Ny41MDUsIDI2Ljk5NSwgMTA1LjI2NCl8KDAsIC0wLjE5MSwgMCwgMC45ODIpfDMzOC4xMjg0fDE5LjkwMDExfDEyLjA1
     
    Last edited: Jul 13, 2018
  15. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    Here's a little bit of context of why some of these are off and how I am fixing them:

    In game your avatar moves around in Cartesian coordinates (x, y, z). The map website however is designed to show latitude and longitude which is a geographic coordinate system. In order to display geo coordinates on a two dimensional plane such as website (or flat map) they must be projected into pixels using some mathematical formulation. Our mapping software uses a variant of the Spherical Mercator projection (Web Mercator) which pretty much all mapping apps use. To make things even more complicated scenes in shroud can be arbitrarily rotated to match the location in the world; even though north is typically positive-z in Unity we sometimes want north to be a different direction and have to override the compass.

    Basically we have to take the avatar's x,z coordinates in game --> convert to latitude longitude accounting for scene rotation --> project onto a plane --> scale to match the map for a given pixel length representation. We currently have three different configurations for how the coordinates are transformed in the game which can impact how your avatar is shown on the map:
    Code:
    private void GetProjectedPosition(Vector3 pos, out float newx, out float newy)
    {
        float xscale = 0f;
        float yscale = 0f;
        float x = pos.x;
        float y = pos.z;
        float z = pos.y;
        newx = 0f;
        newy = 0f;
    
        if (m_currentMap == null) return;
    
        TranslationParameters translationParams = m_currentMap.GetTranslationParameters(x, y, z);
    
        switch (m_rotationMode)
        {
            case CoordinateTransformMode.Normal:
                xscale = translationParams.ScalingFactorX * x;
                yscale = translationParams.ScalingFactorY * y;                   
                break;
            
            case CoordinateTransformMode.Flipped:
                xscale = translationParams.ScalingFactorY * y;
                yscale = translationParams.ScalingFactorX * x;
                break;
            
            case CoordinateTransformMode.OffAxis:
                float alpha = m_sceneRotationOffset * kPiOver180;
                xscale = translationParams.ScalingFactorX * (x * Mathf.Cos(alpha) - y * Mathf.Sin(alpha));
                yscale = translationParams.ScalingFactorY * (x * Mathf.Sin(alpha) + y * Mathf.Cos(alpha));
                break;
        }
        
        newx = translationParams.TranslateFactorX + xscale;
        newy = translationParams.TranslateFactorY + yscale;
    }
    The recent patch allowed me to alter `m_rotationMode` in the database rather than having the client try and guess the correct method. For many of these map issues it's just a matter of me going to that map and trying different rotation modes until one works - at which point I can tweak the scale and translation offsets until things more or less line up. It's not perfect, but until we come up with a better system it will have to do.
     
  16. Undone

    Undone Trap Master Moderator SOTA Developer

    Messages:
    346
    Likes Received:
    848
    Trophy Points:
    43
    Unfortunately due to how many of the previous maps were created their translation, scale, and rotation parameters are not consistent. Because of this there is no systematic way to address issues with previous content and they must be dealt with on an individual basis. New content going forward however, is created with consistent parameters and will result in far fewer issues. The majority of maps fall into the CoordinateTransformMode.Normal category and should be mostly fine; the Flipped and OffAxis maps are the ones we have to catch and correct.
     
  17. Anpu

    Anpu Avatar

    Messages:
    7,944
    Likes Received:
    9,015
    Trophy Points:
    153
    Location:
    Hemut
    SotA.Win.64.805.Date.07.10.18
    Area: Novia_R7_Swamp01_02
    Area Display Name: East Longfall Wetland
    Loc: (-185.4, 56.0, -85.8)
    Debug: Tm92aWFfUjdfU3dhbXAwMV8wMnx8KC0xODUuNDMzLCA1Ni4wNDQsIC04NS43OCl8KDAsIDAuMzc1LCAwLCAwLjkyNyl8NDIuOTQ5MDZ8MTguNDU3NDR8OS40MDkyMzM=

    Uncloned Scene. Wrong Map.


    SotA.Win.64.805.Date.07.10.18
    Area: Novia_R9_Forest01_Road
    Area Display Name: Hallowed Plains
    Loc: (-190.3, 20.8, -127.8)
    Debug: Tm92aWFfUjlfRm9yZXN0MDFfUm9hZHx8KC0xOTAuMjUxLCAyMC43NzYsIC0xMjcuNzg5KXwoMCwgLTAuNzU5LCAwLCAwLjY1MSl8LTk4LjY5MzUzfDIwLjU0MzA4fDkuNDA5MjMz

    Uncloned Scene. Wrong Map.


    SotA.Win.64.805.Date.07.10.18
    Area: Novia_R9_Hills01_01
    Area Display Name: Upper Fortus
    Loc: (186.0, 81.1, -112.8)
    Debug: Tm92aWFfUjlfSGlsbHMwMV8wMXx8KDE4NS45ODQsIDgxLjA4NywgLTExMi43OSl8KDAsIDAuMzY4LCAwLCAtMC45Myl8Njc2Ljg3N3wyMi4wNnw5LjQwOTIzMw==

    Uncloned Scene. Arrow points wrong way. Avatar location off.
     
    Undone likes this.
  18. Anpu

    Anpu Avatar

    Messages:
    7,944
    Likes Received:
    9,015
    Trophy Points:
    153
    Location:
    Hemut
    SotA.Win.64.805.Date.07.10.18
    Area: BlackbladePass_SouthEntrance
    Area Display Name: Southeast Blackblade Mountains
    Loc: (64.7, 71.3, -143.4)
    Debug: QmxhY2tibGFkZVBhc3NfU291dGhFbnRyYW5jZXx8KDY0LjcyMSwgNzEuMjU0LCAtMTQzLjM5Nyl8KDAsIDAuOTk2LCAwLCAwLjA4OSl8NTIyLjQ1ODR8MTMuMjE5Njl8OS40MDkyMzM=

    Uncloned Scene. Arrow points wrong way. Avatar location off.

    SotA.Win.64.805.Date.07.10.18
    Area: Novia_R4_Forest01_01
    Area Display Name: Savrenoc Timberland
    Loc: (172.8, 23.6, -10.0)
    Debug: Tm92aWFfUjRfRm9yZXN0MDFfMDF8fCgxNzIuODEyLCAyMy42NDIsIC0xMC4wMjkpfCgwLCAtMC44OTMsIDAsIDAuNDQ5KXwyMzMuNTc3NXwxOC4yNzA0NHw5LjQwOTIzMw==

    Uncloned Scene. Arrow points wrong way. Avatar location off. Not sure if this is the correct map or not(?)


    SotA.Win.64.805.Date.07.10.18
    Area: Novia_R4_Desert01_EastreachGap
    Area Display Name: Eastreach Gap
    Loc: (103.0, 134.3, -130.3)
    Debug: Tm92aWFfUjRfRGVzZXJ0MDFfRWFzdHJlYWNoR2FwfHwoMTAzLjAwNywgMTM0LjMxNCwgLTEzMC4zMzQpfCgwLCAtMC45MywgMCwgLTAuMzY3KXwxNzEuNjA5NnwxNS44NDIxN3w5LjQwOTIzMw==

    Uncloned Scene. Arrow points wrong way. Avatar location off. I *think* this is the correct map(?)


    SotA.Win.64.805.Date.07.10.18
    Area: Novia_R4_POI_SequanaColossus
    Area Display Name: Sequanna Colossus
    Loc: (-185.2, 74.0, 280.4)
    Debug: Tm92aWFfUjRfUE9JX1NlcXVhbmFDb2xvc3N1c3x8KC0xODUuMTkzLCA3My45NzQsIDI4MC40MzkpfCgwLCAtMC45ODIsIDAsIC0wLjE5MSl8MTU4LjE1MDd8MjYuNDYwNTd8OS40MDkyMzM=

    Uncloned Scene. Avatar location off.


    SotA.Win.64.805.Date.07.10.18
    Area: Novia_R8_Hills01_02_North_Varisalla_Foothills
    Area Display Name: North Varisalla Foothills
    Loc: (-171.1, 60.5, -31.2)
    Debug: Tm92aWFfUjhfSGlsbHMwMV8wMl9Ob3J0aF9WYXJpc2FsbGFfRm9vdGhpbGxzfHwoLTE3MS4wODksIDYwLjQ1NiwgLTMxLjE5Myl8KDAsIDAuNzI5LCAwLCAtMC42ODUpfDI2Ni42MjcxfDE1LjExNTF8OS40MDkyMzM=

    Uncloned Scene. Arrow points wrong way. Avatar location off.
     
  19. Mischievous Dragon

    Mischievous Dragon Riparian Reaper

    Messages:
    553
    Likes Received:
    762
    Trophy Points:
    75
    Location:
    Finland
    1)

    07/14/2018 1:25 PM
    User Specs: SotA.Win.64.805.Date.07.10.18
    Area: Novia_R4_City_Desolis
    Area Display Name: Desolis
    Loc: (-351.3, 107.4, -15.8)
    Debug: Tm92aWFfUjRfQ2l0eV9EZXNvbGlzfHwoLTM1MS4zMywgMTA3LjQyLCAtMTUuNzc1KXwoMCwgMC44MTcsIDAsIC0wLjU3Nyl8NjA5LjgxMDh8MjQuNzk0Nzh8MTMuNTA1OQ==

    Avatar location incorrect.

    2)

    07/14/2018 2:08 PM
    User Specs:
    SotA.Win.64.805.Date.07.10.18
    Area: Novia_R1_Swamp02_Road
    Area Display Name: East Perennial Trail
    Loc: (81.0, 18.2, 68.5)
    Debug: Tm92aWFfUjFfU3dhbXAwMl9Sb2FkfHwoODEuMDA1LCAxOC4yMjMsIDY4LjQ2KXwoMCwgMC43MTcsIDAsIDAuNjk3KXw0MTMuMjU3MXwxNS41MTY0N3wxMy43NDU4Mg==

    Avatar location incorrect.

    3)

    07/14/2018 2:15 PM
    User Specs: SotA.Win.64.805.Date.07.10.18
    Area: Novia_R1_Swamp02_01
    Area Display Name: West Veiled Swamp
    Loc: (14.6, 23.9, 54.7)
    Debug: Tm92aWFfUjFfU3dhbXAwMl8wMXx8KDE0LjYyNywgMjMuOTMsIDU0LjY2NCl8KDAsIC0xLCAwLCAwLjAwOCl8MTgyLjUwMDN8MTQuNzEyOTN8MTMuNzQ1ODI=

    Arrow direction incorrect.
     
    Last edited: Jul 14, 2018
    Jaesun likes this.
  20. Anpu

    Anpu Avatar

    Messages:
    7,944
    Likes Received:
    9,015
    Trophy Points:
    153
    Location:
    Hemut
    SotA.Win.64.805.Date.07.10.18
    Area: SiegeEncounter_Hills01_Road/Novia_R6_City_Resolute
    Area Display Name: Hills Siege
    Loc: (-80.6, 82.2, 29.5)
    Debug: U2llZ2VFbmNvdW50ZXJfSGlsbHMwMV9Sb2FkfE5vdmlhX1I2X0NpdHlfUmVzb2x1dGV8KC04MC42MzEsIDgyLjE4MiwgMjkuNDc5KXwoMCwgMC45OTksIDAsIDAuMDQyKXwxNzUuMjE1OXwyNi4xMzYzM3w5LjQwOTIzMw==

    Arrow pointing in wrong direction.
     
    Mischievous Dragon likes this.
Thread Status:
Not open for further replies.