getting map corresponding to an ip?

getting map corresponding to an ip?

in API Development

Posted by: Menadena.7482

Menadena.7482

I am putting together itunes playlists for each region (pink floyd for orr, ramstein for ascalon, etc). While obviously I could go out of the game and switch it manually of course my first thought was to wonder if I could do it programmatically. Is there a call that will give me the area for a given ip (ie, the one I am on which I can get by looking at my network connections). Even better, are there fixed ip ranges for different maps or the same area?

getting map corresponding to an ip?

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

Next

The instance field in the mumble link data might contain a unique id for the instance; I honestly can’t remember anymore. Failing all else, the serverAddress field contains the IP.

There aren’t technically fixed IP ranges for different maps, but the AFAIK the load balancer probably prefers to create new instances of a map on a server that already has other instances of the map loaded. That’s more-or-less a blind guess though, I haven’t really looked into how it works.

getting map corresponding to an ip?

in API Development

Posted by: Menadena.7482

Menadena.7482

Thanks, I will need to do some reading up on that method. I had completely spaced out that a server may have more than one instance running on it.

getting map corresponding to an ip?

in API Development

Posted by: Archomeda.6472

Archomeda.6472

Oh Lawton, this is not really about the same, but it is regarding the Mumble context. Have you figured out what mapType is and what different values there are? You’ve mentioned a while ago on GitHub you would take a look if you could find the list of possible values.

getting map corresponding to an ip?

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Whoops, I’m a total bumblebrain. Here’s my best guess.

getting map corresponding to an ip?

in API Development

Posted by: Archomeda.6472

Archomeda.6472

Awesome thanks!

I was working on a list myself some time ago, which seems to be similar to yours. Although I wonder where my 16 comes from. It’s been a while since I’ve last checked, so it might have changed this year. I might make a round again sometime to see what I can find ingame and get back to you on GitHub.

getting map corresponding to an ip?

in API Development

Posted by: GscGunner.2419

GscGunner.2419

Number 13: Fortune’s Vale Can we start a hype train? (jokes)

Apologies, I just had to make a reply