ClaraFee.2579 Posted August 14, 2018 Share Posted August 14, 2018 Hi friends! I recently played on a WvW Teamspeak that has an auto-verify feature that works with the GW2 API. This was Fort Aspenwood specifically, but I know Blackgate has something similar too.I want to add this to the Teamspeak server that I run. Do any of you have any links to this resource and/or instructions on how to do it? Thanks for your time. Link to comment Share on other sites More sharing options...
Dash.3179 Posted August 15, 2018 Share Posted August 15, 2018 my guess would be they're using the mumble shared memory file to verify the players server and map:https://wiki.guildwars2.com/wiki/API:MumbleLinkNo Idea how to integrate that with something like teamspeak though; I've been using it with Qt C++ through a program I've made myself... that said if someone else has done it the tools must exist somewhere Link to comment Share on other sites More sharing options...
Valshia.7652 Posted August 15, 2018 Share Posted August 15, 2018 Basically what you need to do is ask the player for an API key and use it to access their account endpoint: https://wiki.guildwars2.com/wiki/API:2/account "world" gives you the id number of their server. You can see the ids for each server listed here: https://wiki.guildwars2.com/wiki/API:2/worlds Link to comment Share on other sites More sharing options...
ClaraFee.2579 Posted August 15, 2018 Author Share Posted August 15, 2018 Yeah, this is done with the API. Here's the instructions on Fort Aspenwood:http://www.fort-aspenwood.com/index.php?/topic/7420-teamspeak-autoverification/I can't tell if this the proprietary work of a single developer, or if they've installed some sort of Teamspeak addon. Anyone have any insight? Link to comment Share on other sites More sharing options...
I Am Dansker.7105 Posted August 18, 2018 Share Posted August 18, 2018 Probably proprietary, but not sure. Multiple verification systems exists, but i have not tried any of them, so can't tell you how well they work.A google search for "gw2 teamspeak verify bot github" revealed multiple projects you could try and use.If you have any experience with developing software here is the gist of how you will do it for teamspeakAs others have mentioned, you need to get an API key from the user you want to verifyOnce you have it, you can make a GET request at https://api.guildwars2.com/v2/account?access_token= which will provide you with various information about the player, including world ID (e.g. 2007 which is Far Shiverpeaks). To match a world id to a world, take a look at https://api.guildwars2.com/v2/worlds?ids=allOnce you know the user needs to have access on your teamspeak server, you need to put the user in the correct servergroupThis can be done via the teamspeak serverquiry api. I have used https://github.com/TheHolyWaffle/TeamSpeak-3-Java-API for the Far Shiverpeaks ts bot, however you are free to use what ever wrapper you want for the language you use (assuming there is one available, just google for it).Specifically for this wrapper, a servergroup can be given using api.addClientToServerGroup(serverGroupId, tsDatabaseId); where api is an instance of TS3Api. There is an example on the github page on how to obtain an instance of it. Link to comment Share on other sites More sharing options...
Chaba.5410 Posted August 29, 2018 Share Posted August 29, 2018 Ever consider asking the Fort Aspenwood TS administrators about it?This was written originally by an old Tarnished Coast TS admin iirc, from where we got it and then later passed it along to Sea of Sorrows TS admins.https://github.com/metalfiiish/ts-gw2-verifyBot Link to comment Share on other sites More sharing options...
Akotun.1057 Posted September 19, 2018 Share Posted September 19, 2018 http://theunbuffed.de/wcf/images/guildwars2/logo.gif Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.