Jump to content
Domination: Earth

Problem with base sorting order


Recommended Posts

The base list screen always seemed to be ordered by the current distance from player.

After arrival in China I've began experiencing some problems with the order.

At first, I've noticed US bases being displayed higher than EU, though the latter are closer (real distance, great arc). Also, the Hongkong base, being closest to the first built Chinese base, displayed behind few US bases.

Other Chinese bases seemed to display properly until now that I'm traveling westward. They to have been interleaved by US bases.

Is it some distortion due to connection problems, access to map API etc., problem with CN GPS coordinates perhaps, or some real bug?

Screenshot_20190605-222958_Domination Earth.jpg

  • Like 1
Link to comment
Share on other sites

The bases are sorted by distance against your last known position (lat/lng), which may be affected by VPNs & wi-fi networks when the GPS signal is not available.

I am assuming that something is interfering with your current position in China and your "blue dot" doesn't actually represent your current location, hence the sorting problems!

Alternatively, if you are using a VPN your position may appear in a different country entirely. However, if this is the case you may run into difficulties with our anti-cheat quite soon, so I would advise against continuing to use the VPN!

Link to comment
Share on other sites

My position is reported quite properly. I did once or twice see it jump back to Warsaw for whatever reason, but this had nothing to do with VPN servers location (Canada and Netherlands).

I've never seen my location to jump into any place related to my VPN connection. Even as far as my knowledge goes, this should never interfere. The only real symptom of using VPN is that is somehow enables Google-supported quicker GPS sync, which also makes position more erratic - but in a way that is exactly like it always worked back home, without VPN. As soon as I disable VPN the GPS position becomes much more stable, to an extent I've never seen before.

Anyways, there is simply no imaginable failed location that would give such results. Look for how the US and CN bases are interleaved. It's physically impossible.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Came back home and checked again to exclude any doubts of suggested VPN related GPS issues.

My US bases are now mostly placed before my China bases, with maybe two China bases interleaving in the rear of US stack.

This proves without doubt that the problem indeed exists, as even the furthest Chinese base (Hongkong, 8265 km) is nearer to my location (Warsaw) than the nearest US base (Page, AZ, 9078 km) - and these values are from the game (though also confirmed via Google).

5d09f5c5a98e8_Screenshot_20190619-104132_DominationEarth.thumb.jpg.5a93a058caf1152c9ae0a9509cc21984.jpg

5d09f5c941388_Screenshot_20190619-104054_DominationEarth.thumb.jpg.7ca2ab692e874bfbcd47b06e68b91d5b.jpg

And this should also be quite obvious when looking at the global map. The latitudes are similar, thus the great circle distances are generally relatable to the horizontal distance on the map:

5d09f6145b722_Screenshot_20190619-104153_DominationEarth.thumb.jpg.664e1cdb5be4c94689631ce9ba58a378.jpg

Even if you were to use some simplified geometry/math here (like a pitagorean out of latitude and longitude degree deltas), this should still not yeld such erroneous results.

Screens from the game. Chinese bases are pretty well distinguishable:

5d09f7b2832a9_Screenshot_20190619-104759_DominationEarth.thumb.jpg.0f22ebeb90e21517d1113c4ec4932b25.jpg5d09f7af32b5f_Screenshot_20190619-104815_DominationEarth.thumb.jpg.94de3013f435a79f248b2bf7ccba5e2d.jpg5d09f7b08b8d7_Screenshot_20190619-104833_DominationEarth.thumb.jpg.5b8b5e8b7b20be6d1426bdb6f853227c.jpg5d09f7ac9abe9_Screenshot_20190619-104854_DominationEarth.thumb.jpg.1bb14828d3e56864c7afcbd6d95349f6.jpg5d09f7ad88fd7_Screenshot_20190619-104910_DominationEarth.thumb.jpg.55b4b0d3eb3a4f86e9e6f111c58530e6.jpg5d09f7b37f486_Screenshot_20190619-104925_DominationEarth.thumb.jpg.5109a4a506b1576951fb08657dd8f225.jpg5d09f7b18ab29_Screenshot_20190619-104937_DominationEarth.thumb.jpg.aa3bdcbfb3dfe3e2bfafad32db1f0d2a.jpg5d09f7ae5b048_Screenshot_20190619-104949_DominationEarth.thumb.jpg.eae8f07f13678b751221eb9703ff81b8.jpg5d09f7afc22dc_Screenshot_20190619-105006_DominationEarth.thumb.jpg.127021cdae82150c95b3c690ae24a0a5.jpg

If this doesn't convince you, try to impersonate me on some test game environment with the location set anywhere in Warsaw.

And, I'd like to repeat, it looked much more insane when in China, as some US bases actually interleaved the Chinese when listed from Chinese coordinates.

Link to comment
Share on other sites

  • 3 weeks later...

@Mr. D I have further found an even more solid proof that the problem is real - as well as the possible solution.

At some point, somewhere in the code that calculates the arc distances for bases, the value of the longitude (and perhaps also latitude) becomes unsigned, ie. the information on whether the coordinate is in the western (W) or eastern (E) hemisphere is being lost. Thus, all coordinates are being applied on a single hemisphere and it distorts the order of bases.

I've confirmed this by collecting the map of all my bases, and then overlaying the western hemisphere on eastern hemisphere - mirrored over prime (0°) meridian.

The image below shows the result. The red bases are the "mirrored" ones.

It now clearly answers the problem of US bases being displayed higher on list than Chinese ones, with few Chinese bases ending up in between US bases.

It also explains something I've noticed earlier, but didn't put much investigation into it - that the base in Sevilla (A) is being displayed higher in list than the base in Castillon/Valencia (B).

Q.E.D.

de-map-problem.thumb.png.99c2ea65bb355356bab82ec20c35672c.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...