Showing Posts For Elfo Bianco.3786:

Achievement points totally wrong

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

I hate to bring this up again, but it is still missing
Would be great if this issue could be wrapped up before PoF since it has been ~5 months already

Really I hate to wait months and months… anyway now that we know what is missing we can fix the issue locally, at least I can in my App.

Contents that needs blacklisting

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Google Authenticator Code expired/wrong code

in Bugs: Game, Forum, Website

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

I have the same problem too. Now I have noticed that Codes work only if I write them in the last quarter of their existence.
As mentioned above, there is something wrong with the synchronization on ArenaNet side.

I have this problem since the new login screen came out, so are weeks and nothing has changed or is wrong on my smartphone.

Home Instance Cats Value

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

On wiki we can read that 31 cats exist, but from API there are 32 cats, especially the following cat is something not documented:

{
“id”: 30,
“hint”: “bundle”
}

Any tips about this cat?

API json properties

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

You can implement only the properties you need.

Suggestion for pvp seasons and badges

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

To me only season 4 has a “rating” value.

Is there a Gw1 API ?

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

That I know there isn’t an official API for Guild Wars 1, but I’m pretty sure that there isn’t even an unofficial one.

PvP - Wrong Game Result

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Does the API data differ from what’s displayed in the small match history bit in-game PvP panel?

I didn’t think about that, but you are right, the in-game data is bugged.

Attachments:

Suggestion for pvp seasons and badges

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Huh, the decay value should be in there; I’ll try to get that fixed. Tracking issue.

I still don’t understand. Shouldn’t “rating” and “decay” exist only for seasons 5+? My example was about season 4.

PvP - Wrong Game Result

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

I confirm that there are wrong values. I play 1-2 pvp games each day and the last good date is 2017-05-15T15:36:14.437Z.
From 2017-05-16T19:47:20.336Z values are wrong, maybe there is something wrong with the last update.

p.s. Ok I have done a new match:
{
“id”: “6769DF19-AED6-473F-85BA-4BDC2E028902”,
“map_id”: 1011,
“started”: “2017-05-22T13:11:31.809Z”,
“ended”: “2017-05-22T13:19:47.809Z”,
“result”: “Bye”,
“team”: “Red”,
“profession”: “Thief”,
“rating_type”: “Unranked”,
“rating_change”: 9,
“scores”: {
“red”: 70,
“blue”: 545
}
}
My team was exactly red, but “scores” is wrong, because in this case “red” should be 545 and “blue” 70.

(edited by Elfo Bianco.3786)

Suggestion for pvp seasons and badges

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

I have just noticed that from my standing for season 4 API:2/pvp/standings returns a “rating” value but from the description of the API I read:
// * “rating” and “decay” should be set for pvp season 5 and later.
// they contain your current skill rating and rating decay,
// respectively.

This is my standing for season 4:
{
“current”: {
“total_points”: 61,
“division”: 3,
“tier”: 0,
“points”: 1,
“repeats”: 0,
“rating”: 1307
},
“best”: {
“total_points”: 61,
“division”: 3,
“tier”: 0,
“points”: 1,
“repeats”: 0
},
“season_id”: “2B2E80D3-0A74-424F-B0EA-E221500B323C”
},

Was it something required for the next season? I’d like to know how to use this value.

Suggestion for pvp seasons and badges

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

I don’t have enough coffee in me yet to think, but this seems reasonable. I’ve opened a tracking issue for it.

Thank you

Home Instance Cats Value

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hi all!

With the Hungry Cat scavenger hunt growing at every update, it will be harder and harder to remember which ones we feed.

As we still have no achievement related, should that be possible to add cats to the API to track the missing ones better?

Thank you!

It exists: API:2/account/home/cats

Suggestion for pvp seasons and badges

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hello, from API:2/pvp/seasons we can get information about divisions, especially icons and name, but those info are good for seasons 1-4.
For seasons 5+ the divisions are simply a reward system that don’t say your league rank in that season. From API:2/pvp/standings I get my current rating for each season and nothing more.

(if it is possible) I’m asking for an additional object in API:2/pvp/seasons that gives info about all ranks for each season. Something like:

“league_ranks”:
[
{
“name”:“Gold”, //or “Diamond” or “Amber” or “Platinum” …
“badge_icon”:“(url to the icon)”,
“tiers”: [1351,1451,1551] //for seasons 1-4 this is an array with length=1 to compare to “total_points” instead of “rating” from API:2/pvp/standings
},

]

In a different way, you could add an object “league_ranks”: [(rank ids)] with only ids that we get from a new API (something like API:2/pvp/badges), to reduce data repetition with similar seasons. This way will cost at least 1 more request, but maybe it is the best option

Now a suggetion for the existing API:2/pvp/standings, the object “best” (that returns info only about division) should be optional. In a better way “best” should be null if “current” is exactly the best. To me it would happen even for seasons 1-4 and with the actual rules for seasons 5+ “best” division is “current” division.
Without making these changes server-side and leaving this work to the app that uses API:2/pvp/standings would become interesting the best rating in “best” object that is actually missing for seasons 5+.
For a better solution, all the changes together

API achievement points differ to ingame value

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

An older account (created in April 2013) has in-game 8019 permanent-AP, but when I count the permanent AP from the API data the sum is 8039 AP, the difference is exactly 20 AP.

Well actually there are missing achievement points from API, so it is very weird that you get more AP from API compared to the game

Primordial Orchid home node

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Primordial Orchid is not yet in API:2/account/home/nodes

Account Achievements for Daily

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

No daily achievements from API:2/account/achievements

API characters error 400

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Huh, might have been related to the hotfix. Is this still not working for you? If it’s not, can you PM me your API key?

Sorry, now it works.. I forgot to reply

Achievement points totally wrong

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

There are 574 achievement points from SAB achievements currently missing from the API. This will be fixed eventually.

Yes you are right!
But if I calculate 31.474 – 30.897 the result is 577, so there are other 3ap missing somewhere
Months ago there weren’t missing achievement points to me.

ps. anyway I haven’t maxed the “Course Load” achievement yet, so I miss more than 3ap…

(edited by Elfo Bianco.3786)

Achievement points totally wrong

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Are some months that I don’t see achievement points from my app or another and what I see now is that there isn’t only the famous 1 missing point but almost 600!!
In game I have 31.474 AP while from API I have only 30.897.
Actually I don’t know what is wrong from API but that is a big gap.
Seems that a lot of achievements are missing, because the maximum amount of AP I get is 34.264 while the top player in leaderboard has 34.736

API characters error 400

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

The following paths do not work and return an error 400:
/v2/characters/:id/backstory [a]
/v2/characters/:id/core [a]
/v2/characters/:id/crafting [a]
/v2/characters/:id/equipment [a]
/v2/characters/:id/heropoints [a]
/v2/characters/:id/inventory [a]
/v2/characters/:id/recipes [a]
/v2/characters/:id/skills [a]
/v2/characters/:id/specializations [a]
/v2/characters/:id/training [a]

while the next one is the only one working:
/v2/characters/:id/sab [a]

id=0 from equipment_pvp

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

“equipment_pvp”: {
“amulet”: 0,
“rune”: 0,
“sigils”: [
null,
null,
null,
null
]
}

Working with the json above got from API:2/characters:id my App crashes because amulet and rune return a valid id=0 instead of null, but no id=0 exists in any API.
I know I can test a new condition with id!=0, but all empty items/slots should return a null value.

getting combat logs

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Oh i completely misunderstood, i thought the chatlog api existed… but that was the user’s suggestion.

Is exactly what I said
When you need to check API existence you can read the list here https://api.guildwars2.com/v2 , it gives you the list of the current existing API

getting combat logs

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Someone is able to read combat chat log with Computer Vision techniques, or maybe reading the game memory (this is prohibited by the Terms of Service of Guild Wars 2), but you can’t get that data from API.
What you are talking about in your last post is a suggestion of a hypothetical API that returns info about your chats, but it doesn’t exist!! You can’t get any of those properties!!
Anyway you can’t get outgoing damage from other people even in the game itself. Simply what someone do in their apps is to share info between players, so you can know the DPS of a party member etc…

getting combat logs

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

You can’t.
Read here https://forum-en.gw2archive.eu/forum/community/api/Chat-log/first#post6291874
Anyway you can calculate the DPS or other using the info you get from API:2/skills, API:2/traits and wiki. What you calculate is not exactly as an in-game combat log, but it gives good info to work on.

HEADS UP: API (were) temporarily disabled

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Thanks to this situation I can test some codes and exceptions

Move Daily Fractals to v2/achievements/daily

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

This has been requested a few times; honestly I should just make it happen. Here’s a tracking issue.

Please tell when you update API achievements, because I have to rework my App

API achievement points differ to ingame value

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

The account above has only 10 achievements finished/started, so maybe, because he has not so much data, it could be easier to find the bug (in the gw2 data or in my calculation) with this than with other accounts.

Check your account, especially your money and achievement id=10 “Gold Hoarder”. I can’t test it by myself, but maybe that achievement generate an exception in API, because from your picture you have 72copper in your wallet right now, but that doesn’t mean that you havent reached a bigger value and I think that everyone has earned at least 1gold that counts as 10ap for the achievement.
The current value of achievement id=10 should be the gold value in your wallet if it hasn’t already been completed, because the achievement itself requires that you have a total of 200g in your wallet.
I make an example: if I earn 3g and I spend 2.5g after, my wallet is equal to 50s; that means I have got the first step of the achievement id=10, but for the second one I’m back to only 50s. So when you calculate the ap from achievement id=10 you think that you are still at step 0 while you aren’t.
Actually the reason above is the only one that make sense to me right know and it’s exactly 10ap that you are missing.

p.s.: Lawton could confirm if I’m wrong about it too

(edited by Elfo Bianco.3786)

Proposal: New optional parameter ?langs=

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Your proposal is good as it has been described, but I don’t understand why to work with more than one language simultaneously.

Where can i find the id-item mapping?

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Actually you can’t search item by name from API directly, but you can get all data from API:2/items and work with it locally.
I don’t know what do you have to do with it but the whole API:2/items data is over 30MB so maybe you can make a list of items with only name and id and then you get all the missing data when needed.

Achievements don't match the in game value

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Achievement id =1257 is still missing as I have read from other posts on the forum.

That’s a bugged achievement — need to look into whether it is actually counted towards total AP. Empirically I’ve heard that it doesn’t. Debating on whether to whitelist it on /v2/achievements or to blacklist it from /v2/account/achievements.

Some months ago I checked all AP of Malediktus.3740 and I noticed that only achievement id=1257 is missing and from what Malediktus.3740 himself said between API data and game value there is only 1 AP less.

So, in my opinion, there are three ways:
1* the achievement 1257 counts as 1AP
2* there is another missing achievement that counts as 1AP (I don’t think so)
3* in game value is wrong (Can it be possible!?!)

Achievements don't match the in game value

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

After more than 2 months bugs are still here -_-

Title ids=214,216 are missing and I’m not sure that there aren’t other missing titles in API:2/Title so when you can please check them all.

Achievements id=2562 returns “bits”:[{"type":“Text”,“text”:“Ally: Canach”},{"type":“Text”,“text”:“Ally: Caithe”},{"type":“Text”,“text”:“Ally: Braham”}] , but now I have noticed that these bits are of another achievement, so for the id=2562 “bits” should be null.
Achievement id =1257 is still missing as I have read from other posts on the forum.

(edited by Elfo Bianco.3786)

Bundle of winterberries bugged

in Bugs: Game, Forum, Website

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Thank you, I have got my karma back

Bundle of winterberries bugged

in Bugs: Game, Forum, Website

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

I have lost more than 600~700k of karma trying to buy 250 bundles of winterberries. I have got only 5 winterberries, but I have spent all the karma for an entire stack…

v2/account/masteries returns wrong values

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

It is a known issue: https://forum-en.gw2archive.eu/forum/community/api/v2-account-masteries-erroneous
Related to https://forum-en.gw2archive.eu/forum/community/api/Future-of-the-API nobody knows how will go the life of API and when all the issues will be fixed

What's Missing from Material Storage?

in Guild Wars 2 Discussion

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Blade Shards
Writs of Experience
Mystic Forge Stones
Blood Rubies
Pietrified Woods
Chak Eggs
Reclaimed Metal Plates
Wintersday Gifts
Trick-or-Treat Bags
Amalgamated Gemstones
Tenebrous Crystals
Shimmering Crystals
Vision Crystals
Lesser Vision Crystals
4 Doubloons
Unidentified Dyes
Philosopher’s Stones
Mystic Crystals
Piles of Silky Sands
Fractal Research Pages
Tattered Bat Wings
+1 Agony Infusions
+5 Agony Infusions
+7 Agony Infusions
+9 Agony Infusions
Boxes o’ Fun
Gifts of Exploration
Baubles
Bauble Bubbles
King Toad Z-1s, Z-2s, Z-3s
Storm Wizard Z-1s, Z-2s, Z-3s
Essence of Luck

(edited by Elfo Bianco.3786)

recipes API [request]

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

I know that not all info are stored in API:2/recipes, I also explained something here https://forum-en.gw2archive.eu/forum/community/api/bad-skin-s-id. So, for example, adding the name of a recipe doens’t avoid you from loading item from API:2/items if you want to show the rarity color too, but that increase the amount of data from API:2/recipes (ok a bit ;D) and you get it again from API:2/items.

As you have said you can add "Recipe: " to the output item name, but your example is not a recipe learned from item, so the name of auto learned recipes is exactly the output item name. What can I say now is that actually for recipes learned from item the recipe item id is missing in API:2/recipes; for auto learned recipes the recipe item does not exist.
In my opinion you don’t have to add "Recipe: " and the output item name is enough.

Anyway you don’t have to make a loop for each id, that is ok sometimes with only few ids, but for a lot of them you have to use “v2/recipes?ids=string of ids” where “string of ids” is a comma separated string of maximum 200 ids. It is very important that your string does not go over 200 ids because it will return an error.
What you have to do is a loop that create a new string of maximum 200 ids, then get those maximum 200 recipes from API:2/recipes. (It is like ?page=number of page?size=200 where 200 is maximum size of items you can get from api in a single request). After that you get all output_item_id from your list and do a similar loop with API:2/items.
Even if API:2/recipes could be optimized adding all the necessary infos directly there, using “?ids=” you get all data needed in few seconds.
I think that if you fix your loop at point 2. you’ll get a substantial boost.

recipes API [request]

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Is it possible to have the Recipes actual name returned?

You get the name with API:2/items and “output_item_id”.
In your case:
https://api.guildwars2.com/v2/items/46742 that returns “Lump of Mithrillium”.

Achievements don't match the in game value

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Looks like this topic was forgotten

I hope in the fixes needed, soon or late :\

API:2/backstory/answers no icon!?

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hello, from API:2/backstory/questions and API:2/backstory/answers I can get good info about the story/life of a character but API:2/backstory/answers doesn’t return any icon of the chosen answer.
In game during the character creation I choose the answers by that missing icons and after I can see them in the first tab of character’s personal story.
Icons / images are always better than only texts.

No gems from API:2/account/wallet

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

This should be correct now, but some users are still seeing old values. Will investigate further when we get a chance.

Thank you, now I get the right value of the gems from API.

No update received with 64 bit game client

in Bugs: Game, Forum, Website

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

This is not the right place to ask that.
I don’t think you can play with an older version of the game, but you have to unlock the “Current Events” achievements in game, doing something in particular, before you can see them in your hero panel.
Now I don’t remember if you need Heart of Thorns to be able to do them.

Achievements don't match the in game value

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Ok Malediktus.3740 I have checked your achievements and the id=1257 is an achievement that is missing in API:2/achievements.

p.s. for Lawton: there are some fixes needed written in more replies

Achievements don't match the in game value

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Lawton in addition to the last 3 bugs written in a reply above, I have found that in category id=33 “Flame and Frost”, in Historical group, there is the strange achievement “Minor in Achievement” id=561, while in category id=22 “Super Adventure Box: World 1” there is another achievement “Minor in Achievement” but with id=863.
So the second achievement is surely right, but the first one with id=561 maybe shouldn’t even exist.

Another thing that I don’t know if is right or not is that some achievements with lot of bits as text (like some explorer achievements) have some bits as text but empty text value for a total amount of objectives that is more than in game value.

(edited by Elfo Bianco.3786)

Achievements don't match the in game value

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

I dont think so. I have 33.390 both in gw2efficiency and if I do the manual work of adding up all my achievements manually. Ingame I do have 33.391, so there must be a super hidden achievement somewhere.

I suspect it might be from an hidden infinite achievement that existed at release. It required you to transmute items and it was infinite. Before Anet removed it I had about 3k ap from it. Maybe it was resetted to 1 Ap instead of 0?

Can you link an api key with progression, for few hours, so I can check if there are some achievements in you account that are missing in API:2/achievements?
Anyway all removed achievements should count as 0.

v2/account/masteries erroneous

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

either the max level minus 1 of the track instead of the actual level for the account

That is right, because the first level is 0, so if a mastery has 5 levels you make a FOR cicle like this:
for (x=0; x < mastery.levels.length; x++)
In the example it would be for (x=0; x < 5; x++) , so x goes from 0 to 4 that are exactly five levels (0,1,2,3,4).

Achievements don't match the in game value

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Here we go again!
Lawton I think I have found the last bugs from API:2/achievements.

Achievement id=2030 “For the Children!” has the title id=214 as reward that is missing in API:2/titles.

Achievement id=2049 “Grawnk Munch” has the title id=216 as reward that is missing in API:2/titles.

Achievement id=2562 “Line of Fire” has “bits”:[{"type":“Text”,“text”:“Ally: Canach”},{"type":“Text”,“text”:“Ally: Caithe”},{"type":“Text”,“text”:“Ally: Braham”}] in API:2/achievements, but from API:2/account/achievements I get {"id":2562,current,max,done. With all the other achievements that have “bits” object, API:2/account/achievements returns a “bits” object with unlocked things if done=false, while it returns an empty object “bits”=[] if done=true.
Well achievement id=2562 in API:2/account/achievements misses that object “bits”=[]. Actually I don’t know if there are other achievements with more bits that requires only one to complete, anyway this achievement seems to be a special case.
I could avoid this “bug” checking everytimes if “bits” object is null or not, but I know that everytimes there are bits in API:2/achievements there must exist the same object in API:2/account/achievements.

Achievements don't match the in game value

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

A lot of people seem to have 1 AP more than the API can verify. But so far noone found out the solution.

Now from API I have the same AP as in game value.
One of the missing achievements, that I have written in a post above, add 1 AP to the total. It’s the 4th birthday achievement if I’m right.
Now if you still have 1 AP less from API, maybe it could be the achievement id 2963 “Dungeon Frequenter” that has a point_cap of -1; so what I do for repeatable achievements is to check if the value is > 0 else I put it = 0.

Achievements don't match the in game value

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Well there are the following ids = 79342,79320,79322,79319 that are missing as API:2/Items for the achievement id 3089

Achievements don't match the in game value

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Thank you for the fast fix. Now maybe I have something wrong to fix in the app