Showing Posts For Elfo Bianco.3786:

Achievements don't match the in game value

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hello now I’m at API:2/achievements. I’m making a list of all achievements taking them from API:2/achievements/groups then from API:2/achievements/categories, for a total of 1914 achievements and 18.564 AP. I hope that these calculated values are the right ones.
So to calculate the unlocked amount of AP, I use API:2/account/achievements and I compare it with API:2/achievements; so at the end I get 15.338 AP plus 15.000 from daily&monthly = 30.338 AP.
In reality in game I have 30.340 AP, so there are 2 AP missing somewhere XD
I’m quite sure that “General” or “Historical” group have something missing/wrong. For the other groups I have calculated the amount of AP manually and the results are the same taken from my app, but for the two groups above I’m becoming mad.
I have updated the app to get the achievements from API:2/account/achievements that are not in any API:2/achievements/categories and the result is the following list of ids=428,1917,780,883,890,1210,1348,1347,1343,1684,3046,130,104,647,915
Seems that almost all of them are old/daily achievements (it’s what I think) but ids=1684,3046 don’t exist, so I don’t even know if they are something important or not.

p.s.: I’m using data directly from API and not old stored data on pc, so comparisons with other sites/app could return to different results, but I have already checked some and are even wrong in other ways.

(edited by Elfo Bianco.3786)

New Application: GW2 Sidekick !

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Sorry to be a worrier, but is this safe ? I just don’t want to put my info in this app and lose everything

Guild Wars 2 API are read only, so an app can only shows something about what you have unlocked or not on your game account, what you have in the bank/inventory etc, but that app can’t edit anything on your game account, so you can’t lose money, items etc…
Just remember that all the apps that use API require an API key with any permission, but at least “account” permission, anyway nobody should ask you about your game account/password. So never write them even if asked somewhere, and never use the same email for apps and game.

p.s. The only thing you can be worried about is that some apps could store data retrieved from API. It is always safe, but maybe someone doesn’t even like to give personal account data for statistics only.

(edited by Elfo Bianco.3786)

bad skin's id

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hrm, would it be useful to do the filtering on the API side? e.g., expose an endpoint that returns skins (perhaps by armor weight/weapon type?) that have the ShowInWardrobe flag set?

In my opinion that would be great!!
In reality now we are talking about skins, but other APIs could be optimized, for example recipes have the search endpoint, but when you want to show a full list of them you need to load more than 10,000 recipes then check if they have the desired discipline and maybe other filters; actually I show the list of recipes with the rarity color and level of the output item, info that are not stored directly in the API:2/recipes so I need to load other thousands of items from API:2/items. Just to let you know to show all the recipes, as I have said above, I need about 40-55 seconds, to load only the recipes LearnedFromItem I need about 20-30 seconds.

bad skin's id

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Probably gonna wontfix across the board. The way the wardrobe interface on the client filters skins is (1) enumerate all skins, note the ones that have ShowInWardrobe, (2) for any skins that have HideIfLocked, remove them from the list if the user hasn’t unlocked them, then (3) render out any remaining skins. Having extra bits and bobbles in the API shouldn’t affect anything, I think :<

I know about that, but I thought I could reduce some computations filtering the skin list. For example armor: I should check if a skin is ShowInWardrobe, if it is Armor, if it is ArmorType and if it is ArmorClass… are thousands of check, everytimes I change the filter, while in reality I need less than 200 skins to show.
For example achievements have categories, groups and finally the relative ids associated to each category/group.
For skins I have to check the whole list everytimes.

bad skin's id

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Well maybe there are other bad ids

Skin ids = 5948, 6519 are the same, but the first one has “flags”:[“HideIfLocked”] and the second one has “flags”:[“ShowInWardrobe”,“HideIfLocked”].
I think that the second one should be enough XD

p.s.: All the “Mistward” armor pieces are double. I haven’t used revenant very much but it is strange that there are 2 identical skins per piece.

(edited by Elfo Bianco.3786)

bad skin's id

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Skin id = 3265 returns:
{"type":“Weapon”,“flags”:[],“restrictions”:[],“rarity”:“Basic”,id,“icon”:“https://render.guildwars2.com/file/4AECE5EA59CA057F4C53E1EDFE95E0E3E61DE37F/60980.png”,“name”:"",“details”:{"type":“Staff”,“damage_type”:"Physical"}}
a skin without name and with a strange icon, maybe it is something it shouldn’t exist.

Skin id = 5628 returns:
{"name":“Ardent Glorious Raiment”,“type”:“Armor”,“flags”:[],“restrictions”:[],“rarity”:“Basic”,id,“details”:{"type":“Coat”,“weight_class”:"Light"}}
a skin without icon.

Seems there aren’t other bad ids right now.

No gems from API:2/account/wallet

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Currently I don’t have 0 gems (for a week or more) but API:2/account/wallet doesn’t return any gem value, so seems that api doesn’t update the gem’s value of the wallet.

API:2/items Infix_upgrade_subobject

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

I asked almost the same here (may be not so clear)
https://forum-en.gw2archive.eu/forum/community/api/State-of-buff-in-items-stats-now/

Still no answer. I don’t know what to do :/

Hi ezd, as I wrote above seems that the buff subobject is used by sigils only, so for all the other items I actually use only the attributes subobject, or you can check if attributes is empty/null and then check if buff is not, but buff is always the only thing that gives info for sigils.
Anyway lot of buff subobjects are even wrong as well as a repetition of attributes subobject. Indeed the example you wrote in your post has the right attributes subobject but not the right buff subobject. Now ascended (infused) items have infusion slots and not a “+5 Agony Resistance” attribute.

Account bank and empty tabs

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hi, why doesn’t API:2/account/bank return empty tabs at the end of tab’s list?
Accidentally I have noticed that a new bank tab, that is empty at the bottom of bank in game, doesn’t appear from API:2/account/bank as a series of 30 null items.
Actually I’m counting the number of bank tabs available with “arrayBank.length/30”, but if not all items (null or not) are in the array I get a wrong value.

p.s.: API:2/characters returns inventory’s slots even if they are empty (= null) in any places

p.s.2: in another way can you create another API that returns how many character slots, bank tabs, storage expanders, additional crafting licenses, shared inventory slots have been bought and can still be bought?

(edited by Elfo Bianco.3786)

Item and achievement API not updating

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

White Mantle Outfit item is missing

API:2/colors returns wrong item id

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hello, I’m working with API:2/colors and when I want to get the item that unlocks a color the system returns an error about item not found.
I have tested the https://api.guildwars2.com/v2/colors/10 that is on wiki as example and the item id is different: on wiki is 20370 (the right one) while from api is 65149 (absolutly wrong).
Seems that almost all the colors now have a wrong item id!

API:2/items Infix_upgrade_subobject

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Maybe the buff subobject is used by Sigils only.
As written on https://wiki.guildwars2.com/wiki/API:2/items the buff subobject should be optional, so I think that it must be removed where not needed and we can check what to read from API:2/items for enanched descriptions; only attributes array, or buff subobject, or both but different each other.

API:2/items Infix_upgrade_subobject

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hello, I’m updating the tooltips for items in my App and I have noticed that the infix_upgrade object still has the buff subobject.
Is buff subobject still used for some items or not?
I have checked some ascended trinkets that have already the right stats in attributes subobject, plus a buff subobject with additional stats that shouldn’t exist, sometimes with “+5 agony resistance” too.
I know that about ascended items buff subobject was used with an older version of API:2/items, but if it is no more used it should be totally removed for every items.
I don’t even understand what the skill_id key means in buff subobject.

JS json.parse "null" values

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

I’m assuming it must have been something wrong with the visual studio debug. Your code should (and does) work.

Here’s a JS fiddle: https://jsfiddle.net/eq8wb3t0/2/

Yes it was visual studio. It was hard to imagine that visual studio debug could be bugged

Thank you for your help guys

JS json.parse "null" values

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

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?

No it was an object. Now (after a PC crash) all works with “if (jParsed[i] != null)”, maybe something went wrong with visual studio debug -_-

JS json.parse "null" values

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

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

}

I have tested it too, but it returns True even for “null” objects. Really I don’t understand why.

Actually I have done a new JS code block:
for (var i = 0; i < jParsed.length; i++) {
var temp = JSON.stringify(jParsed[i]);
if (jParsed[i] != “null”) {
//listIds.push(jBank[it].id);
}
}

The last solution works but I hope that could be an easier/faster way to check an object directly without stringify it again..

JS json.parse "null" values

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hello guys,
I have already used the GW2 api with C#.NET with good results, but now I’m trying to use them client side with Javascript. I get json data and I parse it with the following line code var jParsed = JSON.parse(jData);
With a full json list of objects everything goes good, but when there are null objects/values with .NET I can make a For loop to check if an object is null or not, while in Javascript even “null” objects seem to be “not null”.
I’m testing JS with API:2/account/bank so there are some bank’s slots that could be null (empty slot in game).

json data block example (API:2/account/bank):
[{"id":67777,“count”: 151,“binding”:"Account"},
{"id":44640,“count”: 52,“binding”:"Account"},
{"id":44640,“count” :250,“binding”:"Account"},
{"id":45001,“count”: 23,“binding”:"Account"},
null,
{"id":68109,“count”: 107,“binding”:"Account"},
{"id":43766,“count”: 250,“binding”:"Account"}]

Now I need to read json data of the items in the bank, and before it I check if a bank’s slot is empty or not. In Javascript I check if an object is null or not.

javascript check code:
for (var i = 0; i < jParsed.length; i++) {
if (jParsed[i] !== null) {
//listIds.push(jBank[it].id);
}
}

The code above seems to work but the “if” condition returns True even for the fifth object that should be null. I have noticed it because from the console of Chrome I get “Uncaught TypeError: Cannot read property ‘id’ of null”.

Does someone have any tips to skip null objects?
I’m using javascript for the first time and I didn’t understand why I couldn’t check with simply “if (jParsed[i] != null)” instead of “if (jParsed[i] !== null)”, but anyway I hope in some help

json with a multi-type property

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hi, I’m trying to get Specializations, Traits and Skills from API, but Traits and Skills return a strange issue.
Both Traits and Skills API have the two following objects: “facts” and “traited_facts”. In those objects there is a property called “value” that can be an int or a bool.
My App in C# returns an error because I have an object that considers “value” as int while it is a bool, deserializing. Maybe you don’t know how to do it in C#, but can you tell me, even in Java, how can you deserialize json with a multi-type property?

API achievements Error

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

I’m updating API achievements data with the new added achievements, but the app returns an Error (500) downloading the last page (12) from https://api.guildwars2.com/v2/achievements?page=12&page_size=200

Reading the link on web it returns the following error:
<Error code=“48” module=“3” line=“412” text=“callback (): TypeError: Cannot read property ‘file_id’ of undefined
TypeError: Cannot read property ‘file_id’ of undefined
at scrubAchievement (c:\arenanet\llivewebapi.337\web\js2api\code\v2\controllers\achievements.js:68:19)
at c:\arenanet\llivewebapi.337\web\js2api\code\v2\controllers\achievements.js:153:29
at JS.sts.(anonymous function).object.merge.complete (c:\arenanet\llivewebapi.337\web\jssrv2\code\request.js:139:20)”/>

Request: WvW rank and WvW abilities

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Thank you.
Sorry I have checked only on wiki but not the API itself.

Request: WvW rank and WvW abilities

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hi, my main request is to have wvw_rank value in https://api.guildwars2.com/v2/account (something like “fractal_level” value).

Also would be appreciated to have the following API:
- WvW Rank: that return WvW Rank name from the WvW Rank value
- WvW Abilities: that return the list of all WvW abilities (something like existing Skills/Traits API) and so would be great to have a list of unlocked WvW abilities in every character.

(edited by Elfo Bianco.3786)

Event/Daily API not updated w. Apr-19th data?

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

@Elfo Bianco: What I did, in my particular case, was to split up the dailies into non-HoT and HoT, by just checking the ID. I assigned everything before 2100 to pre-HoT-dailies and everything at and after 2100 to HoT dailies. Not optimal, but it works for now, until detailed ID information has been collected.

Mmh, I think I will wait that a new flag will be exposed

Event/Daily API not updated w. Apr-19th data?

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hello, how have you solved the “double” id ?
If I own HoT, shall I remore “double” id everytimes ? So “double” id isonly for not HoT owners ?

Even
https://api.guildwars2.com/v2/achievements/categories/88
https://api.guildwars2.com/v2/achievements/categories/97
return wrong or missing ids, especially for Fractals Daily Achievements.

(edited by Elfo Bianco.3786)

Wrong icon for some items

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

I have seen that some gathering tools in API:2/items don’t have the right icon, but simply the common one of each tool.
Just as example:

{"id":20324,“chat_link”:“[&AgFkTwAA]”,“name”:“Black Lion Harvesting Sickle”,“icon”:“https://render.guildwars2.com/file/EFBB674F9965A2304CBAC39376230396D73EBCFD/534199.png”,“description”:“Extremely efficient at gathering resources and uncovering rare components.”,“type”:“Gathering”,“rarity”:“Rare”,default_skin,“flags”:[“AccountBound”,“NoSell”,“AccountBindOnUse”],“game_types”:[“Activity”,“Wvw”,“Dungeon”,“Pve”],“restrictions”:[],“details”:{"type":"Foraging"}}

{"id":23029,“chat_link”:“[&AgH1WQAA]”,“name”:“Copper Harvesting Sickle”,“icon”:“https://render.guildwars2.com/file/EFBB674F9965A2304CBAC39376230396D73EBCFD/534199.png”,“description”:“Used to gather Blueberries, Button Mushrooms, Onions, Carrots, Herb Seedlings, Potatoes, and Lettuce.”,“type”:“Gathering”,“rarity”:“Basic”,vendor_value,default_skin,“flags”:[“AccountBound”,“NoSalvage”,“NoSell”,“AccountBindOnUse”],“game_types”:[“Activity”,“Wvw”,“Dungeon”,“Pve”],“restrictions”:[],“details”:{"type":"Foraging"}}

{"id":68377,“chat_link”:“[&AgEZCwEA]”,“name”:“Frostbitten Orichalcum Harvesting Sickle”,“icon”:“https://render.guildwars2.com/file/EFBB674F9965A2304CBAC39376230396D73EBCFD/534199.png”,“description”:“Used to harvest all plants.<br>Provides a chance for snowflakes when gathering.”,“type”:“Gathering”,“rarity”:“Masterwork”,level,vendor_value,default_skin,“flags”:[“AccountBound”,“NoMysticForge”,“NoSalvage”,“NoSell”,“AccountBindOnUse”],“game_types”:[“Activity”,“Wvw”,“Dungeon”,“Pve”],“restrictions”:[],“details”:{"type":"Foraging"}}

This issue exists for all kind of gathering tools: Sickle, Axe, Pick.

Request for Glider skin endpoint

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

I would add a request for Outfits, Finishers and Mail Carriers too.

Skin without name

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Thank you for the info

Skin without name

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Skin id 2445 doesn’t have a name value.

{"type":“Weapon”,“flags”:[],“restrictions”:[],“rarity”:“Basic”,“id”: 2445,“icon”:“https://render.guildwars2.com/file/E09F21691C30A1A95BC1A74F19BCACC14D015657/62056.png”,“details”:{"type":“Rifle”,“damage_type”:"Physical"}}

Items - Agony Infusions and missing materials

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

After more than 2 months the description of (Infused) trinkets is still saying “+5 Agony Resistance”.

API:2/maps - multiple and missing ids

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hello, I’m creating an App that let me download the maps of the game from the Tile Service, so I’m using the API:2/maps to speed up the process to retrieve the necessary informations, but when I check the list of available maps I see that there are multiple ids for the same map (same map = same informations), rarely they differ only for one information.
For Guild Halls maps there are 10 ids, 6 of them are identical to each other for the Lost Precipice/Gilded Hollow map, 4 of them are identical to each other for the Claiming the Lost Precipice/Claiming the Gilded Hollow map. In addition, all 10 ids of Gilded Hollow maps are missing.

Actually I haven’t checked if there are other missing maps, but why are some maps missing and above all why are there multiple ids of the same map??

Shooting Gallery Adventure

in Guild Wars 2: Heart of Thorns

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

If it’s any help, here’s my gold vid:

My Shooting Gallery Gold Vid

Basically, you need to get the first 20 targets (which always spawn in the same place) as fast as absolutely possible.

You’ll notice I hit the 20th target with ~1:13 remaining. That will give you more time to hit the next 20 targets which spawn randomly. By this I mean if you hit the 20th target at like 1:00 left, then it’s probably a safe bet you won’t get gold that run – and you can just reset at that point.

Now it did take me many attempts to get this – so much so that I will probably not do any more challenges until ANet possibly tweaks the gold limits on other hard ones like Falling Masks.

Oh one more thing. Whenever you get to the 40th target, I highly recommend using skill #2 (like I do in my vid) instead of skill #1 as I missed gold the prior night by literally a 1/2 second by missing target 40 with my first skill #1 shot (I hit it the second time, but the timer had just expired argh!)

I have seen your video, nice one man!!
I can see that for me this adventure is bugged, it should be:
1-20 sequential targets
21-30 random targets
30+ multiple targets

I have reached 34-35, but “the bug” is that at 30 multiple targets don’t appear to me, it happens at 32-33 losing lot of chances to hit the gold reward.

Items - Agony Infusions and missing materials

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

You can see that infusion_slots are right but even with “Agony” infusion slots the description says “+5 Agony Resistance”.

Yep, that’s the text string for the built-in upgrade. It’s not displayed in-game (don’t remember if it ever was for ascended trinkets) but it’s out of date. I’ll let the guys who manage content know.

Thank you!

Items - Agony Infusions and missing materials

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hello, checking the agony infusions I have noticed that all Ascended Rings (Infused) have a bad description with a “+5 Agony Resistance” while it shouldn’t exist because it is replaced by agony infusion slot. Simply these are the old descriptions before agony infusions were introduced to the game.

The descriptions are right — you’re looking at the old rings. The new ones have a completely different id.

I’m pretty sure that something is wrong. I have checked manually the data of my account/bank with the one saved locally in a file and are the same, so I think that the ids are correct and new. But the description of all infused rings come with a “+5 Agony Resistance” even for the new Attuned rings.

I write an example for the Attuned Healing Signet (Infused) [id=72932]:

{"name":“Attuned Healing Signet (Infused)”,“description”:“This item crackles with the infused energy of the Fractals of the Mists and is attuned to have a bonus agony infusion slot.”,“type”:“Trinket”,“level”: 80,“rarity”:“Ascended”,“vendor_value”: 495,“game_types”:[“Activity”,“Wvw”,“Dungeon”,“Pve”],“flags”:[“HideSuffix”,“AccountBound”,“NoSalvage”,“NotUpgradeable”,“Unique”,“AccountBindOnUse”],“restrictions”:[],“id”: 72932,“chat_link”:“[&AgHkHAEA]”,“icon”:“https://render.guildwars2.com/file/1528A3CFFC4BE66AC9D00FA10FEBA77D722F210C/543917.png”,“details”:{"type":“Ring”,“infusion_slots”:[{"flags":[“Offense”]},{"flags":[“Agony”]},{"flags":[“Agony”]}],“infix_upgrade”:{"buff":{"skill_id":17073,“description”:“+ 32 Healing Power\n+ 18 Toughness\n+18 Power\n+5 Agony Resistance”},“attributes”:[{"attribute":“Healing”,“modifier”: 94},{"attribute":“Power”,“modifier”: 67},{"attribute":“Toughness”,“modifier”: 67}]},“secondary_suffix_item_id”:""}}

You can see that infusion_slots are right but even with “Agony” infusion slots the description says “+5 Agony Resistance”.

Items - Agony Infusions and missing materials

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hello, checking the agony infusions I have noticed that all Ascended Rings (Infused) have a bad description with a “+5 Agony Resistance” while it shouldn’t exist because it is replaced by agony infusion slot. Simply these are the old descriptions before agony infusions were introduced to the game.

New endpoints: minis and account/minis

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Note that there’s also collections for those, so if a collections endpoint was just about ready to go …

I don’t know if ArenaNet considers the minipets as the official wiki page do expecially for the “group”, “set”, “family”, call it as you want. Anyway most of them are not part of a collection; I think you are talking about the achievement collections.

New endpoints: minis and account/minis

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Thank you for these useful endpoints, but I have already a question.
Why there isn’t a property like “mini_set” or “mini_group” that let us know in which set/group a given mini belongs to, expecially for the 3 known mini sets, but also for the halloween minis, the wintersday minis, etc…?

New Scribe discipline in API:2/Characters

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Thank you again Lawton

New Scribe discipline in API:2/Characters

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hello, I’m still updating my App and now I’m adding the Scribe crafting discipline, but I don’t understand why it is called “Fabricator” in API:2/Characters:

“crafting”:[{"discipline":“Fabricator”,“rating”: 8,“active”: true}]

It’s like tha topic about Agony Infusions; in this case why should I compare “Fabricator” with “Scribe” and not simply have the same name to compare like for other crafting disciplines?

(edited by Elfo Bianco.3786)

Items - Agony Infusions and missing materials

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Thank you Lawton

Items - Agony Infusions and missing materials

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hey, yesterday I have updated my App so it can display the correct description for Ascended Attuned Rings, but today it is no more able to display the Agony Infusions. The reason why is that agony infusions in Api:2/Items now have “infusion_upgrade_flags”:[] (a null value) that reading the wiki page should be good, but yesterday I could compare the items and infusions by same flags (Utility, Offensive, Defensive, Agony).
I don’t know if it an issue or not but I think that compare an “Agony” slot on a item with an “Agony” infusion is better than compare “Agony” with Null.

I have noticed that 3 materials that exist in Bank are missing in Api:2/Items. Their id are: 75857, 71049, 75015

Character Equipment

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Unfortunately, to my knowledge, does not exist.
As you, I’d like to know the stats on items where the player chooses the stats.

Random button

in Guild Wars 2 Discussion

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

I have never noticed it, I’ll check it better next PvP. Anyway I’m sure that randomizer should work only for unlocked items.

Random button

in Guild Wars 2 Discussion

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

For each character in Equipment > Finishers menu there is the “random finisher button”.

Why for Mail Carriers, Minipets and even Outfits, that button doesn’t exist?

I have lot of them and I’d like that sometimes they change randomly without going to manually edit it everything.

Because random finisher button is randomized between all the finishers, which means the ones you have and ones you don’t have.

really?

first time i heard that

are you sure?

No is not true XD

(edited by Elfo Bianco.3786)

Random button

in Guild Wars 2 Discussion

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Because random finisher button is randomized between all the finishers, which means the ones you have and ones you don’t have.

Imagine that with minipets, which you have to buy off tp for gold, random button would discurage collecting pets and spending gold/gems.

For mail carriers same as pets, but what’s the point in random button if you can allready select which one to use in just two clicks every time you plan on using it.

Is not true, randomized works only for unlocked items!!

Random button

in Guild Wars 2 Discussion

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

For each character in Equipment > Finishers menu there is the “random finisher button”.

Why for Mail Carriers, Minipets and even Outfits, that button doesn’t exist?

I have lot of them and I’d like that sometimes they change randomly without going to manually edit it everything.

Did the characters "created" date change?

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

No it’s not irrelevant. Most of us are using the creation as unique identifier for each character, because the name is not immutable.

You are right I didn’t think about that.

Did the characters "created" date change?

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

The creation’s date don’t change.
In your case we are talking about 1 second. Your next character’s birthday will be 1 second before.
Really even if it is an issue, it is irrilevant.

How do I add GwApiNET to Visual Studio?

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Hi! I don’t use GwApiNET, because I want add API in my App by myself. Anyway if you want to read API data in Visual Studio (C#), you could do it manually creating a function that read data based of the kind of API you are using.
Or, in a better way, there is Jason.NET at http://www.newtonsoft.com/json that let you serialize or deserialize the API based on the object you create.

For example an object like that:

{
string id;
string name;
IList<string> permissions;
}

let you read easily the API:2/tokeninfo.

Total gold earned?

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

About the gold you can use:
API:2/account/wallet
API:2/commerce/transactions
It is not accurate, but if you know the amout of gold at the start of the day and the amount at the end of the day, plus your transactions on TP, you can sketchily retrieve how much have you earned and spent that day.
Anyway I think that knowing only if you have a profit or a loss in a day it is enough.

API for posting and canceling trades?

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

I quote the users above that hope this will neve happen.

New endpoint: /v2/wvw/objectives

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Thank you Lawton for you job!!
Now I’m not using this API, but I have a question for the future.
I have read “/v2/wvw/objectives” and there are big value for coordinates. If I’d like to use them with a scale of 1:1, the coordinates retrieved by API are to compare with a maximum zoom in of the map?