Showing Posts For jefe.2705:

Implementing API in my app (android)

in API Development

Posted by: jefe.2705

jefe.2705

The API (currently) doesn’t show TP prices so you’d have to use a third party API like gw2spidy

As for using the API with Eclipse, just get a JSON parser (don’t know of any for Java as I’ve never worked with it). The API is extremely easy to work with.

Event Details API location coordinates

in API Development

Posted by: jefe.2705

jefe.2705

Event info :
“location”: “type” : “poly”, " center " : [ xxx , xxx , xxx ] …

Map info :
“map_rect”: [ [ xxx, xxx ], [ xxx, xxx ] ] …
“continent_rect”:[ [ xxx,xxx ],[ xxx , xxx ] ] …

Map Event location :

event_center_x = location.center [ 0 ] ;
event_center_y = location.center [ 1 ] ;

percentageX = (event_center_x – map_rect [ 0 ] [ 0 ] ) / (map_rect [ 1 ] [ 0 ] – map_rect [ 0 ] [ 0 ] );
percentageY = 1-(event_center_y – map_rect [ 0 ] [ 1 ] ) / (map_rect [ 1 ] [ 1 ] – map_rect [ 0 ] [ 1 ] );

continentX = (continent_rect [ 0 ] [ 0 ] + (continent_rect [ 1 ] [ 0 ] – continent_rect [ 0 ] [ 0 ] ) * percentageX);
continentY = (continent_rect [ 0 ] [ 1 ] + (continent_rect [ 1 ] [ 1 ] – continent_rect [ 0 ] [ 1 ] ) * percentageY);

// the coords for the event
event_coords = FromPixelToCoords([continentX, continentY], map.GetMaxZoom()); // map.GetMaxZoom() is set to 7 for Gw2 Map

Thank you, this was exactly what I was looking for

Event Details API location coordinates

in API Development

Posted by: jefe.2705

jefe.2705

Thanks for the equation, can you provide an example of it being used as I’m having a hard time assigning variables to known numbers?

Event Details API location coordinates

in API Development

Posted by: jefe.2705

jefe.2705

Looking through the Event Details API the coordinate system used is different then the one used by the Map API coordinates. Is there a conversion equation/system to convert the coordinates given in the Event Details API to the one used by the Map API coordinates?

Example:
[-9463.6,
-40310.2,
-785.799]

to something like

[20002.2,
16128.5]

(a random event coord and a random POI coord used as examples)

Thanks for any help

Bane the Insane Skill Challenge Bugged

in Bugs: Game, Forum, Website

Posted by: jefe.2705

jefe.2705

I’ve tried this skill point three times over the past two days with my new Char Guardian (Twice alone and once with a small group, not partied). I still haven’t gotten credit for the skill point and it’s the last thing I need to get 100% credit for Wayfarer Foothills.

List of apps/websites using the API

in API Development

Posted by: jefe.2705

jefe.2705

I’ve started to work on a site that utilizes the API. So far it has Events (filterable by world, map and status) and WvW scores. More to come, but it’s a start…

http://www.jefe323.com/gw2

Tickets for Review (3 days and older) [merged]

in Account & Technical Support

Posted by: jefe.2705

jefe.2705

I just got my account back and I would like to comment on a few things.

First, I find it quite odd that my account “Didn’t pass risk review” 2 months after the original key purchase. This is something that should happen fairly quickly after a purchase instead of seemingly coming out of nowhere.

Second, the support process is very, very slow. I was left 16 days without a response from any representative. Every one of my requests during that period were ignored, even a request that the ticket be escalated to a supervisor. I didn’t get a response until I contacted the BBB and filed a complaint. At the very least I would have like a response every couple days saying that my ticket was still being reviewed. There are a lot of good resources here on the forum to help (like this thread) but the big problem is that I (and other banned users) can’t utilize it. I had to rely on one of my friends to post my issue here.

Lastly, I don’t see the reasoning behind issuing me a refund and requiring that I buy a new key instead of just releasing my previous key. You send me $59.99 and then I send you $59.99 back, it just seems like a waste of time when you can just cut out the exchange of money and release my original key.

Sorry if this seems kind of ranty, I’ve just been building this up over the past couple weeks…