Showing Posts For Anhim.3156:

Any API update for WvW Skirmishing?

in API Development

Posted by: Anhim.3156

Anhim.3156

Since the wiki pulls the info from one of the 3 sources above, can confirm wiki will be no earlier than #4 on that list.

Any API update for WvW Skirmishing?

in API Development

Posted by: Anhim.3156

Anhim.3156

It is new (from last week), and the wiki definitely shows it. Check again: https://wiki.guildwars2.com/wiki/API:2/wvw/matches

Damage Coefficients at v2/skills

in API Development

Posted by: Anhim.3156

Anhim.3156

Although there are quite a few skills with bugged skill coefficients, this one does not seem to be the case. You may want to review how you calculate your damage coef.

Both Towelcat and Nefastu on the wiki calculate the coefficient for skills frequently, maybe making use of Nefastu’s template: https://wiki.guildwars2.com/wiki/User:Nefastu/Coeff might help.

Sorry, Currently Moved to New Category

in API Development

Posted by: Anhim.3156

Anhim.3156

I would recommend bringing this up in another sub-forum, maybe https://forum-en.gw2archive.eu/forum/game/gw2. This portion of the forum is focused on the development/ideas of the API, which is a tool to gather information about the game/players while outside of the game.

interface size to small

in API Development

Posted by: Anhim.3156

Anhim.3156

For other answers you might want to head over to the proper subforum; this one is dedicated to the API for the game, not graphical designs or direct in-game systems.

Skrittsburg mMap discrepency

in API Development

Posted by: Anhim.3156

Anhim.3156

Heya,

So I was looking at Skrittsburg with the API tiles versus what I see in-game on my map and noticed a fairly big difference.

If you take a look at any API map (for ease here’s the wiki link: https://wiki.guildwars2.com/wiki/Brisban_Wildlands#Interactive_map) you can notice that Skrittsburg remains a completely opaque rock.

However if you go in-game and walk to the throne room (or around it) the map reveals the internal area (few roads, open area, etc).

Would it be possible for this to be shown as well for the API or is there some oddball reason it isn’t there?

PVP Ranked and Unranked Servers

in API Development

Posted by: Anhim.3156

Anhim.3156

You are in the wrong sub-forum for this kind of question

Where can i find the id-item mapping?

in API Development

Posted by: Anhim.3156

Anhim.3156

If you are ok using a 3rd party API, you could also check the GW2 shinies API: https://www.gw2shinies.com/doc-api, notably the idbyname entry.

/v2/characters:id/heropoints

in API Development

Posted by: Anhim.3156

Anhim.3156

Many thanks for the explanations!

/v2/characters:id/heropoints

in API Development

Posted by: Anhim.3156

Anhim.3156

Ok, so as it stands you would need to scan the entire /v2/continents to find which hero point (still labelled skill_challenge btw) you obtained. That seems…. inefficient. I think I would vote for a master repository of them myself.

In a similar fashion (but slightly off-topic) where does one resolve the /v2/characters:id/training endpoint? I can’t seem to find anywhere for those skill trees.

/v2/characters:id/heropoints

in API Development

Posted by: Anhim.3156

Anhim.3156

So it seems that this endpoint returns an array of strings. My guess is each strings represents a specific hero point. I can’t seem to be able to find where one would resolve these strings though. There doesn’t seem to be an obvious /v2/heropoints endpoint, so am I missing something?

Account-Wide Unlocked Recipes

in API Development

Posted by: Anhim.3156

Anhim.3156

I just made an update on the talk page for the API on the wiki with all the currently missing entries here: https://wiki.guildwars2.com/wiki/API_talk:2#Stuff_we_haven.27t_documented_yet. I (and probably others) will work on getting things documented.

Missing skill entries

in API Development

Posted by: Anhim.3156

Anhim.3156

Adding another one, skill id 14490, Seismic Leap

Missing skill entries

in API Development

Posted by: Anhim.3156

Anhim.3156

It seems like there are entries missing for Continuum Shift [id = 30747] , and Continuum Split [id = 29830] in /v2/skills. This might just be an oversight and need manual whitelisting?

Skill: 10586; "Locked"

in API Development

Posted by: Anhim.3156

Anhim.3156

So I’ve been developing a website to track skill changes, and this one is… amusing. I’m not sure if it’s suppose to happen.

On October 8th 2016, the skill changed from:


 "type": "Profession",
    "weapon_type": "None",
    "professions": [
        "Warrior",
        "Necromancer"
    ],
    "slot": "Profession_2",
to:

 "type": "Bundle",
    "weapon_type": "None",
    "professions": [
        "Warrior",
        "Necromancer"
    ],
    "slot": "Weapon_4",

Then on the 9th, it changed from:


"type": "Bundle",
    "weapon_type": "None",
    "professions": [
        "Warrior",
        "Necromancer"
    ],
    "slot": "Weapon_4",

to:


"type": "Profession",
    "weapon_type": "None",
    "professions": [
        "Warrior",
        "Necromancer"
    ],
    "slot": "Profession_2",

And today on the 10th, it made the same change as it did on the 8th… I’ve only been tracking this for 3 days, but this seems really… odd.

GvG Queue or Bigger guild Hall Arena

in API Development

Posted by: Anhim.3156

Anhim.3156

You are in the wrong sub-forum

heart of maguuma forager in guild hall

in Bugs: Game, Forum, Website

Posted by: Anhim.3156

Anhim.3156

It’s actually not working in VB as well.

Search function in forum is broken

in Bugs: Game, Forum, Website

Posted by: Anhim.3156

Anhim.3156

For the lazy: It pretty much has been broken for ages; use google.

Ether Towers

in Bugs: Game, Forum, Website

Posted by: Anhim.3156

Anhim.3156

Heya,

So fighting the Ether towers (in Ember Bay) I’ve noticed that even if you use your special action key to “return” the conditions the tower applies to you, your character remains affected by Slow.

Additionally, the hitboxes for these towers are really really strange. If you take a staff elementalist in air and autoattack, you will see that the projectile goes past the tower and will sometimes still count as out of range. This effect can similarly be seen with a Guardian in downstate, where the auto-attack shoots to nowhere near the tower itself.

Trading Post Calculator, Code

in API Development

Posted by: Anhim.3156

Anhim.3156

If your asking this, you’ll want to look into basic html and js courses/classes online first to understand how things work. You’ll also need to familiarize yourself with the REST API method/system/thingy before moving on. Once that’s done, check https://wiki.guildwars2.com/wiki/API:Main to see what the api returns based on what queries.

Gem Store Possible API

in API Development

Posted by: Anhim.3156

Anhim.3156

Heya,

I was wondering if it was possible to create a status API for the gemstore. At the moment it is very tedious to figure out which items are present and which ones have been removed to historical.

Ideally I would love to see a file/endpoint/thingy which lists when a certain item was added and removed. However I would love to see a simple API endpoint with item name, price, and availability status. I’m sure more things can be added to it; but even just this would be amazing to have.

I know I’m coming at this from a wiki standpoint, where keeping those pages up to date at the moment is very very tedious since each item needs to be checked one by one; but I’m certain others would find use for it.

Darq

Item and achievement API not updating

in API Development

Posted by: Anhim.3156

Anhim.3156

Oh you mean the bloodstone harvest achievement; apologies.

Item and achievement API not updating

in API Development

Posted by: Anhim.3156

Anhim.3156

It has now been updated \o/

JS json.parse "null" values

in API Development

Posted by: Anhim.3156

Anhim.3156

The only thing that comes to mind then is that your initial “null” is not the null object. Is it perhaps already a string, or some other form?

JS json.parse "null" values

in API Development

Posted by: Anhim.3156

Anhim.3156

I don’t know if this is “proper” or “pretty”, but couldn’t you just use
if(jParsed[i]){

}

I can't see the 'stalking anomaly'?

in Bugs: Game, Forum, Website

Posted by: Anhim.3156

Anhim.3156

They don’t stick around for long, and don’t always appear in the center of your screen. Most likely; you aren’t paying close enough attention to your environment in-game.

whitelist with new achievements

in API Development

Posted by: Anhim.3156

Anhim.3156

So with the two new achievements Bloodstone Sightings and Bloodstone Harvest a few new items/trophies were added but are not present on the API (yet?). I believe the only item actually present is Levvi’s Device .

Caudecus weapons

in API Development

Posted by: Anhim.3156

Anhim.3156

Yeah they were added this Tuesday. Up until then they were not present in the API.

Guild Wars 2 Game Client has stopped working

in Bugs: Game, Forum, Website

Posted by: Anhim.3156

Anhim.3156

You might want to try the bug section of the forum rather than the API section.

Ranger/Druid Avatar form bug

in Bugs: Game, Forum, Website

Posted by: Anhim.3156

Anhim.3156

I’ve been toying with this a bit with guildies; and it most definitely seems like clicking CA is a main (but perhaps not only) cause for this bug. With about 20 tries (x3 people) we had no issues when hitting the bound keyboard key, but had a slightly over 50% bug rate when clicking the icon (consequently, casting Lunar impact directly after clicking seems to be an almost guaranteed kick out of form).

Caudecus weapons

in API Development

Posted by: Anhim.3156

Anhim.3156

I’m not sure if this is a normal delay or not, but is seems that both Lord Caudecus’s Pistol Skin and Lord Caudecus’s Sword Skin are both not present yet on the API. They have been in-game for a bit so I’d think the delay for them to appear should have passed by now. Manual Whitelisting needed?

Localized text for characters?

in API Development

Posted by: Anhim.3156

Anhim.3156

If you take a look at https://api.guildwars2.com/v2, you can see a list of all the endpoints. Beside each endpoint you might find [l]; which the information at the bottom describes as : “l : locale aware (via ?lang=<langId>)”.

/v2/characters, unfortunately does not support language attributes.

guild api issues

in API Development

Posted by: Anhim.3156

Anhim.3156

Thank you for the details.

guild api issues

in API Development

Posted by: Anhim.3156

Anhim.3156

Oh… well then what I am missing is definitely the id. What I had done was https://api.guildwars2.com/v2/guild/<APIkey>/log.

So where does one get the guild id?

guild api issues

in API Development

Posted by: Anhim.3156

Anhim.3156

Ok, so I know this will be something I am doing wrong but for the life of me I can’t figure out what…

I’ve got an account with 5 guilds; 2 of which I am leader of. I went to that account’s api section on the website and got an API key for account&guild. Now if I try https://api.guildwars2.com/v2/guild/<insertIdHere>/log , or any other /v2/guild endpoints; I always get the error “endpoint requires authentication”. I’ve checked my mails in case it was that but couldn’t find anything… so how exactly do I go about ‘authenticating’ an API key that I generated?

Many thanks for any clarification,

Darqam

Suggestion: Guild Aetherium/Favor

in API Development

Posted by: Anhim.3156

Anhim.3156

The reason it isn’t on the wiki (I think) is because it still hasn’t been deployed, and thus isn’t active yet. There are however sub parts of it documented on the wiki.

Suggestion: Portuguese (BR) version

in API Development

Posted by: Anhim.3156

Anhim.3156

Given that this forum is for the API of the game, and not the game design itself; I think you might be in the wrong forum section

How can I cross reference two API's? PHP

in API Development

Posted by: Anhim.3156

Anhim.3156

You can find all the materials in /v2/items, such as elder wood log and any other items, For example the first few entries would be 18 Slot Thick Leather Pack, carrots, potatoes.

Is this not what you would be looking for? You would get the item id from the treasury API, then launch a new query with this item id into the /v2/items.

Edit:

So if I take your code:



                           $treasury = file_get_contents('https://api.guildwars2.com/v2/guild/B95A3B40-A764-4648-8EE6-39549E922A99/treasury?access_token=358AC6CB-0596-D64F-88D5-5CFA9AA27AAA273F3C6A-BC9E-47EE-AA28-63565C3EFEEE');
                            $treasury = json_decode($treasury);
                            
                            foreach($treasury as $key =&gt; $treasury) {
                                $item_id = $treasury[$key]["id"];
                                $myItemUrl = file_get_contents(‘https://api.guildwars2.com/v2/items/$item_id’);
                                $myItemUrl = json_decode($myItemUrl);
                                $itemName = $myItemUrl[“name”];
                                echo '&lt;tr&gt;';
                                echo '&lt;td&gt;'.$itemName.'&lt;/td&gt;';
                                echo '&lt;td&gt;'.$treasury -&gt; count.'&lt;/td&gt;';
                                echo '&lt;td&gt;';
                                    foreach($treasury -&gt; needed_by as $key =&gt; $treasury) {
                                        echo $treasury -&gt; upgrade_id.' ('.$treasury -&gt; count.')&lt;br /&gt;';
                                    }
                                echo '&lt;/td&gt;';
                                
                            }
                            echo '&lt;/table&gt;';

My changes probably have some buggy behavior since it’s just a quick sketch, and this will be very slow since you are calling the API so many times. I’d recommend getting an array with all the IDs and then simply making one call to the API with all the item IDs.

(edited by Anhim.3156)

How can I cross reference two API's? PHP

in API Development

Posted by: Anhim.3156

Anhim.3156

All of the items are stored in ‘https://api.guildwars2.com/v2/items’. You can check here

So if I were you I would do something to the effect of.

$myItemUrl = file_get_contents(‘https://api.guildwars2.com/v2/items/12345’);//12345 is the id of the item you want to look at
$myItemUrl = json_decode($myItemUrl);

$itemName = $myItemUrl[“name”];

This way will get you the items one at a time (so multiple calls needed). Or you could use multiple Ids at once with “$myItemUrl = file_get_contents(‘https://api.guildwars2.com/v2/items/?ids=1,2,3’)” In which case you get an array returned, so need to adjust the code accordingly.

p.s: sorry for poor formatting, never been good with forum methods.

(edited by Anhim.3156)

Xera Downstate Bug

in Bugs: Game, Forum, Website

Posted by: Anhim.3156

Anhim.3156

My group has been experience the same thing consistently on each Xera attempt. Our consensus is that the cause is probably the bloodstones.

We think that if you go down in the bloodstone aura you can’t be rubbed back to life ‘normally’. Perhaps this is for lore reasons (bloodstone trapping spirits and what not) or this is a bug linked directly to those.

Either way, maybe this will help with a bit more insight.

Skins for back pieces

in API Development

Posted by: Anhim.3156

Anhim.3156

Heya,

So this issue might very well stem from my lack of understanding, so take this ‘problem’ with a grain of salt.

I was looking at the Assaulter’s Xera’s Backpiece and noticed that there was a skin id (6809). Everything is ok here, backpiece have skins, makes sense. However when I head over to /v2/skins and check the skin entry I get the skin of “Keep Construct Mask”, which… doesn’t make sense.

So is there a mix-up somewhere in these IDs, or is there something that I am missing?

- Darqam

Cannot access Wiki page?

in Bugs: Game, Forum, Website

Posted by: Anhim.3156

Anhim.3156

If you look at the main page: http://wiki.guildwars2.com/ It says it’s down for maintenance.

It would be nice though to get that alert on all subpages as well though instead of the random 404.

Is it possible to get mystic forge recipes?

in API Development

Posted by: Anhim.3156

Anhim.3156

I don’t know how up-to-date this answer is, but there was a post here 4 months ago about a user-created json mystic forge recipe list.

As far as I know there is no access through the official API, but that user file provides a nice alternative.

edit: link to the host’s domain where it’s stored/explained: http://gw2profits.com/json

Need some help

in API Development

Posted by: Anhim.3156

Anhim.3156

I think you might be posting in the wrong sub-forum. This section is mainly (exclusively?) used to discuss the official GW2 API, not general programming.

As for an answer to the question, you are in a (dark) grey zone, since doing this would allow you to profit while AFK. Something which is, as far as I know, highly controversial at the moment.

Itzel Spirit Poison

in Bugs: Game, Forum, Website

Posted by: Anhim.3156

Anhim.3156

I had the issue two weeks in a row, submitted a ticket and after they confirmed my KC kill they gave me the item. Not a bug fix, but at least a way to get your item.

stat_choices in items

in API Development

Posted by: Anhim.3156

Anhim.3156

Although not directly related to the issue at hand. There is almost 4/5 of the stats in /v2/itemstats that have blank names, and some stats have multiple IDs (such as giver’s that has almost 10 different IDs). Not sure if this needs to be cared about but thought I’d point it out.

Invisible wall around SotF portal in SP

in Bugs: Game, Forum, Website

Posted by: Anhim.3156

Anhim.3156

Yesterday we cleared Matthias (after SP was re-enabled), and tried to glide to the portal inside SP to SotF. We could take the ley-line just fine, however there was an invisible wall all around the small ‘island’ where the portal was; making it impossible to reach.

Not game breaking as one can always leave and re-access through VB or the aerodrome; but kind of annoying.

stat_choices in items

in API Development

Posted by: Anhim.3156

Anhim.3156

So first off, I have to say I LOVE that this is a thing.

However… it seems there are issues with it. If we look at Malicious Xera Backpiece, we see one of the stats is ‘1114’, however if one tries to look up 1114 in /v2/itemstats, one gets nothing .

I’m not too sure where the issue comes from, but it seems a few of the stats are missing. For this item, only 6 of the 9 are ‘real’.

Carrion (1038), Celestial (588), Rabid (585), Sinister (1064), Trailblazer’s (1115), Viper’s(1130)
seem to link just fine, but I end up missing: Dire (754 or 756), Settler’s (693 or 700), Shaman’s (153).

Thus, for some reason we are given IDs 1114, 690, and 1097 which go ‘nowhere’.

Hopefully this helps in figuring out what’s happening; thanks for all the work!

-Darqam

Guild Investigation: Guild Race Rewards

in Bugs: Game, Forum, Website

Posted by: Anhim.3156

Anhim.3156

Fault of providing a lack of information I’ll mention what happened to me a little while ago.

I was running the ghost wolf rush on it’s last active day (so a bit over a week ago I think). I noticed that if I get downed by a mob (a bat in my case) and not traps; I returned to character form, but never left Rush mode. This put me in an interesting scenario where as an asura I still got hit by traps and rockfalls, while having access to all my skills.

Now as great as this seems, I didn’t have my wolf skills anymore, so no seeing the traps. Additionally all the Waypoints remained contested until I walked through a zone portal (relog did not fix). If I crossed the finish line I would not get credit.

Were you playing on an Engineer at the time? This seems to happen often to Engineers in my guild.

I was indeed playing as an Engineer. It’s the first time I ran a rush with engi (as I just happened to be there). Good to know though, I’ll avoid running with engi (and rev as per previous comment).

Guild Investigation: Guild Race Rewards

in Bugs: Game, Forum, Website

Posted by: Anhim.3156

Anhim.3156

Fault of providing a lack of information I’ll mention what happened to me a little while ago.

I was running the ghost wolf rush on it’s last active day (so a bit over a week ago I think). I noticed that if I get downed by a mob (a bat in my case) and not traps; I returned to character form, but never left Rush mode. This put me in an interesting scenario where as an asura I still got hit by traps and rockfalls, while having access to all my skills.

Now as great as this seems, I didn’t have my wolf skills anymore, so no seeing the traps. Additionally all the Waypoints remained contested until I walked through a zone portal (relog did not fix). If I crossed the finish line I would not get credit.

At the time I was repping [ROW] Reckoning of Will. I had previously gotten credit for this rush on previous weeks. I was also in a party with 3 other members who were able to complete the rush just fine.

Subsequent attempts at the rush were permanently bugged and I could not get rewards even after ‘properly’ completing the rush.