Side.3489:

In a given WvW match, how do we know which borderlands map id is the home map of a given server ?

i.e. :

  • 94 is GreenHome
  • 95 is RedHome
  • 96 is BlueHime

And second question is that association fixed (i.e 94 will ALWAYS be GreenHome)

Archomeda.6472:

You need to query it against the WvW API endpoint here: https://api.guildwars2.com/v1/wvw/matches.json, and check the world ids for every match. v2 isn’t active yet sadly.

Regarding the map ids staying the same, it depends. These are map ids we’re talking about. As long as the Alpine Borderlands are active, you can assume they are staying the same. But the Desert Borderlands have different ids since they are completely different maps. For example, from my WvW stress test time, I could figure out with the Mumble API that the Red Desert Borderlands is 1069, and the Green Desert Borderlands is 1087. No clue about the Blue one, since that one was inactive.

There is another way that’s a bit more fixed, but this only applies if you’re using the Mumble API. This API contains a mapType value that is different depending on where you are: EB = 9, Blue BL = 10, Green BL = 11, Red BL = 12, Obsidian Sanctum = 14, EotM = 15. And these values were the same in the Desert Borderlands. See https://github.com/arenanet/api-cdi/blob/master/mumble.md.

smiley.1438:

The color association is always the same. However, this is just an empirical assumption which has not yet been proven wrong by the devs.

See also: https://github.com/arenanet/api-cdi/pull/8#issuecomment-103010478 (and following comments)

Lawton Campbell.8517:

For example, from my WvW stress test time, I could figure out with the Mumble API that the Red Desert Borderlands is 1069, and the Green Desert Borderlands is 1087. No clue about the Blue one, since that one was inactive.

Be advised that the WvW stress test is a different branch and ids are not always the same between branches.

The color association is always the same. However, this is just an empirical assumption which has not yet been proven wrong by the devs.

The map_id => BL color is indeed mostly immutable

Side.3489:

My question was always for the map_id

Now i know it is immutable, I’ll get them from the mumble API, since I played with it