Jump to content
  • Sign Up

GODh.3892

Members
  • Posts

    43
  • Joined

  • Last visited

Posts posted by GODh.3892

  1. Hmm, error was not showing... trying again:

     

    Error code="48" module="3" line="505" text="callback (): TypeError: Cannot read property '0' of undefined

    TypeError: Cannot read property '0' of undefined

    at scrubEquipment (C:\ArenaNet\lLiveWebApi.337\Web\Js2API\Code\v2\Controllers\account\characters.js:294:32)

    at async.waterfall (C:\ArenaNet\lLiveWebApi.337\Web\Js2API\Code\v2\Controllers\account\characters.js:595:50)

    at fn (C:\ArenaNet\lLiveWebApi.337\Web\Js2API\node_modules\async\lib\async.js:746:34)

    at C:\ArenaNet\lLiveWebApi.337\Web\Js2API\node_modules\async\lib\async.js:1213:16

    at C:\ArenaNet\lLiveWebApi.337\Web\Js2API\node_modules\async\lib\async.js:166:37

    at C:\ArenaNet\lLiveWebApi.337\Web\Js2API\node_modules\async\lib\async.js:706:43

    at C:\ArenaNet\lLiveWebApi.337\Web\Js2API\node_modules\async\lib\async.js:167:37

    at C:\ArenaNet\lLiveWebApi.337\Web\Js2API\node_modules\async\lib\async.js:1206:34

    at C:\ArenaNet\lLiveWebApi.337\Web\JsSrv2\Code\internal\globals.js:23:17"/

  2. I only did a quick check, but i am not sure if its possible...

     

    https://wiki.guildwars2.com/wiki/API:2/achievements/daily gives the list of daily achievements (and the requirements to do them), but i dont see any info about if a player/acc has done them or not. But maybe thats hidden somewhere else (i havent found it yet). At least i dont think its under account/achievements (as i tested it with "daily orr miner" (achievement 1977).

  3. Thank you very much! This seems to work perfectly <3

     

    Part of my log:

     

    20:10:18: DEBUG created chatlink for item: 8319 name: 'Springer Kit Backpack' chatlink: [&Cn8gAAA=]

    20:10:18: DEBUG created chatlink for item: 1253 name: 'Flamekissed Vest' chatlink: [&CuUEAAA=]

    20:10:18: DEBUG created chatlink for item: 1255 name: 'Flamekissed Shoes' chatlink: [&CucEAAA=]

    20:10:18: DEBUG created chatlink for item: 1257 name: 'Flamekissed Gloves' chatlink: [&CukEAAA=]

    20:10:19: DEBUG created chatlink for item: 1258 name: 'Flamekissed Mask' chatlink: [&CuoEAAA=]

    20:10:19: DEBUG created chatlink for item: 1254 name: 'Flamekissed Pants' chatlink: [&CuYEAAA=]

    20:10:19: DEBUG created chatlink for item: 1256 name: 'Flamekissed Mantle' chatlink: [&CugEAAA=]

    20:10:20: DEBUG created chatlink for item: 4666 name: 'Kraitkin' chatlink: [&CjoSAAA=]

     

    I think i am decent with data, but this bit/byte stuff is a bit above my head. Your help is very appreciated :3

  4. > @"WIR BRAUCHEN ONE EIGHTY.4257" said:

    > Skin number - 7490, in hex 1D42, it's a skin so first byte is 0x0A (Wardrobe link), so full hex string is 0A 42 1D 00 00, convert it to base64 - CkIdAAA=, chat link is [&CkIdAAA=]

     

    Ok, that sounds interesting, but i have little experience in that direction (C#). In my app i know its a skin and i know it's skin-id, but after that i kinda lost you :'(

  5. I am playing a bit with the gw2 API and i am building a tool that allows me to search for pshyical items (in my bank, bags, equipment, material storage, etc). The result also shows a link to the item on wikipedia. But that sometimes fails, because i am using the item's name that the API gives me. That often works well, but sometimes it does not...

     

    Example: (name according to API) Cosmic Mining Tool --> replace spaces with underscores -> Cosmic_Mining_Tool --> wikipedia (english): https://wiki.guildwars2.com/wiki/Cosmic_Mining_Tool (correct)

     

    But for some items, especially skins, this goes wrong:

     

    Example: (name according to API) Exalted Shoulders --> replace spaces with underscores -> Exalted_Shoulders --> wikipedia (english): https://wiki.guildwars2.com/wiki/Exalted_Shoulders (fails)

     

    The last example fails as the correct page for Exalted Shoulders is https://wiki.guildwars2.com/wiki/Exalted_Shoulders_Skin (_Skin added)

     

    A more safe way to find an item is via searching via the gamelink (like [&AgGaXwEA]) but afaik you cant do that while combining it with https://wiki.guildwars2.com/wiki/, so https://wiki.guildwars2.com/wiki/[&AgGaXwEA] fails... :s

     

    Anyone knows a good way to do this correctly?

     

    Thanks in advance <3

  6. Btw, i recently noticed my tool has the same problems. I was able to track down the location of these kind of items (like where in bank, which bag + slot, etc). So far all my missing items are armor (which i bought from karma/wvw merchants) and stuff that i got from doing guild missions (like consumables for crafting stations). So i can see those items in my bags or bank, but the API does not recognize the id's of those items (anymore). Funny enough, even wiki does not recognize those items (anymore) :s

     

    I assume Anet made sure that these items can not be obtained anymore, but these old items still can exist in the game. Not sure why Anet removed some of these obsolete items from the API as well (there are plenty of other obsolete items which are still in the API).

  7. Knowing how i "fixed" the problem with the unbreakable salvagekits, i did the same thing with unbreakable gathering tools. I had to add a check on rarity as an item like "copper mining tool" is level 0 too. But for now it seems to work 100% (without the need of using names or id's) B)

     

    So 1 problem left: breakable gathering tools... but i dont think there is a fix for that (due lack of info), unless Anet decides to give their API a bit more love

  8. I think i have solved the problem with the unbreakable salvagekits. They all seem to be level 0, details.type is "salvage" and details.charges is 1.. All other kits have differences here. Tested it on 239 salvage kits (over 4 accounts) and i got a 100% correct result (even a normal kit with 1 charge left).

     

    But gathering tools is still a different story :/

     

    And yes, the API is far from complete. I have some items in bags or even equiped which are not in the API. I am able to locate these items (like bagname + slot) and noticed that these items are not on wiki either. So far i could see that these items were all armor which i bought from a karma or wvw merchant. One item i got from doing guild mission (an item that spawns crafting stations). So, these items still exist, but there is no info availabe via the API or even wiki, other than tracking down the items in you bags and staring at them :#

×
×
  • Create New...