Sunday 4 June 2017

API madness! WvW, Dungeon and Raid status tracking!

Hi!

Here's a nice big update for you guys just before next week's WvW changes hit. With the API key input added in the last build for the TS3 fixes, there was nothing in the way anymore for me to start poking in the GW2 API.

Important note: all of the new features below will require for you to enter a GW2 API key into TacO.

I present to you the fruits of this labor, in the order I got finished with them:

Dungeon Progression Tracker
This new window will let you track which dungeon paths you have finished today already. The paths colored green are the ones you have finished. The yellow border around the rectangles shows which paths have been completed for the Dungeon Frequenter achievement. This feature requires that your API key has the "progression" feature enabled. Should any new dungeons be added to GW2, this window will automatically update (as soon as they add the dungeon to the API). The display checks the GW2 API every 2.5 minutes. You might need to wait as long as 5 minutes for the status to update, since the GW2 API is heavily cached.
The Dungeon Tracker window is not open by default, you'll need to open it from the TacO menu and move it to the desired position by enabling window edit mode in the TacO menu as well.

Raid Progression Tracker
This window is very similar to the dungeon one - it tracks which raid encounters you have finished over the week. This could come in handy for people with several accounts :) Works the same as the dungeon tracker, requires the "progression" feature in your API key. This window will also update automatically as soon as a new raid is added to the API. You might need to wait for up to 5 minutes for the status to update since the GW2 API is heavily cached.
The Raid Tracker window is not open by default, you'll need to open it from the TacO menu and move it to the desired position by enabling window edit mode in the TacO menu as well.

WvW Markers and Status

There have been several overlays with similar features out there already, and the appearance of a new one just last week (the flatteringly named GW2 Burrito) made me re-think implementing this feature into TacO as well. After some news hit about WvW upgrades I set aside this weekend to add support for the game mode to the overlay.
WvW markers show up without an API key, but they won't have any color information. To identify the world you're playing on, you need to enter an API key with the "account" feature enabled.
Marker location and status information both come from the official API, so in theory if ArenaNet moves things around or adds a new map or anything similar happens, the overlay should automatically stay up to date.
The markers will display the name of the objective (you can toggle this off in the TacO menu), the current owner of the objective (as the color of the icon) and if the objective has been flipped in the last 5 minutes, it'll show a timer when it can next be captured. The markers also become more transparent the more center on the screen they are so they don't add too much additional clutter to WvW. The display checks the API every 5 seconds if you're on a WvW map.
You can toggle the individual WvW marker categories the same as before from the TacO menu.
Sadly Edge of the Mists doesn't have an API endpoint to gather information from, but the white markers will still show up to help you keep oriented.
One note: the position of Langor Gulch is invalid in the official API (it's copypasted from Bravost Escarpment), so I did a bit of a manual workaround, which is why the marker might be in a bit of an odd position (the objective was captured on my world and I couldn't get near to do a precision job). This will also fix itself automatically once the API sends different information, I contacted ArenaNet about the bug.

TacO startup

I also did some work on the performance of the overlay. Startup should now be a lot faster, especially if you have a lot of marker packs in your installation.

You can download the new build here.

Change log:
  • Replaced the xml parser with a faster one
  • Further optimized the loading of POI data
  • Added GW2 API key input
  • Added API key based Dungeon Progress tracking
  • Added API key based Dungeon Frequenter achievement tracking
  • Added API key based weekly Raid completion tracking
  • Added API based WvW markers and objective status displays (API key required for world identification)
  • Added minSize and maxSize parameters to markers. These can be set in pixels.

23 comments:

  1. How should I make suggestions? I really like the dungeon tracker by API, but a daily reset doesn't help me track dungeon frequenter achieve. It updates every 8th unique dungeon that is completed. Can the dungeon tracker get a toggle to track daily or frequenter achieve?

    ReplyDelete
    Replies
    1. The yellow border around the dungeon paths already shows the frequenter progress.

      Delete
  2. The number of API calls is way too high, it exceeds the number of calls the API can handle. It is therefore not possible to use other services ex:Gw2efficiency.
    while taco is running.

    i would sudgest lowering the API calls to 1 every 800-1000ms

    ReplyDelete
    Replies
    1. Taco only calls the wvw api every 5 seconds, and only when in a wvw map.

      Delete
  3. Hi, I am trying to get this to work for me :(

    I can see the world boss tracker but for the life of me I cannot get the overlay to appear even though it is enabled. Please help!

    ReplyDelete
  4. If the world boss tracker is visible, the overlay is working.
    Which feature are trying to use? For the raid/dungeon tracking you'll need to open their respective windows in the TacO menu. For both of those and WvW as well you'll need to enter a valid API key for your account through the TacO menu as well.

    ReplyDelete
  5. Hello TacO kep saying that API key is invalid/bug even though I had already created a new one on GW2 website.

    ReplyDelete
    Replies
    1. This is the first anyone had issues with the API keys, it's a new system and might have problems. If you'd be willing to help in debugging it please contact me at boyc [at] scene [dot] hu

      Delete
  6. I can see not in full screen though. How can I fix this kind of problem?

    ReplyDelete
    Replies
    1. TacO only works in windowed or windowed fullscreen modes. Normal fullscreen mode requires injection into the directx dlls which is usually tolerated by ArenaNet but until I see word from them that it's explicitly allowed, I'll keep the overlay on the cautious side.

      Delete
  7. Hello, whenever I try to add my API key, it says GWW2 API error - Your API key is bad or the API is bugged. Something I noticed is that when I try to type it in instead of copy paste, my character still moves and all the hotkeys I have set up in GW2 still activate.

    ReplyDelete
    Replies
    1. I haven't heard of this one yet but my guess is that the text input method is failing. You can edit the config file to add your API key as well and try that way.

      Delete
  8. Hi,
    Thanks for this nice tool!
    Just to mention that I have the same issue than Regu N. I checked the config file and the API key is properly pasted there but I still get the error

    ReplyDelete
  9. I entered my API key and I can see the objective names and icons but I don't see the timers neither, also objectives flipped takes so long to be updated, like 2-3mins to see they are flipped already.

    Any suggestions?

    ReplyDelete
  10. InterestingTaco3 July 2018 at 08:58

    Would you be able to manually change the WvW RI timer from 210s to 300s, the latter being the real RI time you have to wait now before capturing an objective. Thanks.

    ReplyDelete
  11. I have a red message saying I need to create an api key and I don't know how i got it there and the message won't go away. Help

    ReplyDelete
    Replies
    1. Go to window edit mode and close the window.

      Delete
    2. If you close it, how can you get it back?

      Delete
  12. If you close it how do you get it back?

    ReplyDelete
    Replies
    1. Close what?
      TacO? - simply run it again
      A window in TacO? - from the TacO menu.

      Delete
  13. Can you provide WvW integration for the Blish Hud?

    ReplyDelete