Dingle.2743:

Hi all,

I’m not a particularly great coder and couldn’t make this happen, but I just wanted to bring it up to see if it seems feasible.

As described here, the mumble link API contains the following information, which may be able to uniquely identify a map instance:

// uniquely identifies a map instance for mumble
struct MumbleContext {
byte serverAddress28; // contains sockaddr_in or sockaddr_in6
unsigned mapId;
unsigned mapType;
unsigned shardId;
unsigned instance;
unsigned buildId;
};

Topic of discussion: Would it be possible to have a program extract this information to be used for the purposes of things like node tracking?

I’m thinking:

1) App gets mumble link data to identify map instance
2) Communicates with some central server, loads node info, map, etc
3) User can tab to the app when they’re at the location of a node, and upload information about that node (could be as simple as selecting the node type from a list, with the app reading the location of the character to place it)
4) Other users in that map instance running the app can then see that node on the map displayed within the app

Obviously this would need systems for determining if a map instance has been reset; the build value could be used to purge data every time a new build has been released, but aside from that I don’t know if an instance’s nodes would be randomised if it’s got the same identifying values as one that previously existed and was destroyed due to not having any players in it – that could be a problem if it’s the case.

However, would it have any potential as a system for node tracking? Does the events api provide enough information (i.e. which map instances are running specific events) that you could use it for event tracking?

Aerodin.2795:

Great idea, but unfortunately I’m not sure this is possible right now due to the Megaserver setup. As far as I know, there’s no way of knowing which megaserver “instance” a player is on, and I would expect that things like node locations would be different for different “instances” of a map. If the API is ever updated to communicate that information, this would work just fine.

smiley.1438:

We have already an app like this: https://forum-en.guildwars2.com/forum/community/api/Gw2-Location-Tracker/first#post2379754

Since the code is all open source it’s completely up to you how you use the data. The only problem might be the new Megaserver setup – i haven’t tested the app with that, so i don’t know how reliable the shard_id is.