These are chat archives for arenanet/api-cdi

19th
May 2016
David Reeß
@queicherius
May 19 2016 00:45

I think its funny that stats have so many representations :D

  • Armor rating -> integer
  • Official attributes -> array of {attribute: 'type', modifier: value}
  • Buff description (condition duration, ascended items, infusions) -> string
  • Rune buffs -> array of 6 strings, 1 per equipped rune count
  • Selectable stats -> object of {type: value}

boy am i glad to have unit tests for this part

David Reeß
@queicherius
May 19 2016 01:01
@lye Something is weird with the item attributes... this is my character ingame http://i.imgur.com/0LMhldA.png
{
    "id": 62914,
    "slot": "Backpack",
    "upgrades": [
        24924
    ],
    "skin": 2379,
    "stats": {
        "id": 1046,
        "attributes": {} // wat.
    }
},
Archomeda
@Archomeda
May 19 2016 01:04
wait, does this mean we can now check which stats we have selected for certain items?
Eearslya Sleiarion
@Eearslya
May 19 2016 01:05
Well yes, but apparently it's not 100% XD
Archomeda
@Archomeda
May 19 2016 01:05
:(
David Reeß
@queicherius
May 19 2016 01:08
Currently going through my account trying to find characters that use other stat selected items except the crafting backpacks :D
The aquabreather seems to work
Archomeda
@Archomeda
May 19 2016 01:09
i have three spinal blades
i can check those
@queicherius huh, super weird. I'll spawn one of those in tomorrow on my local server and see if I can repro
David Reeß
@queicherius
May 19 2016 01:12
Alright :)
Archomeda
@Archomeda
May 19 2016 01:12
{
    id: 50054,
    slot: "Backpack",
    infusions: [
        70852,
        49433
    ],
    skin: 2333,
    stats: {
        id: 584,
        attributes: {
            Power: 31,
            Precision: 22,
            CritDamage: 22
        }
    }
}
seems to work for this item
but ehm, yeah... the crafted one isn't liked :)
David Reeß
@queicherius
May 19 2016 01:15
@Archomeda Could I borrow your API key and a screenshot of your stats ingame? <3
Archomeda
@Archomeda
May 19 2016 01:15
{
    id: 62929,
    slot: "Backpack",
    upgrades: [
        24924
    ],
    skin: 6035,
    stats: {
        id: 1046,
        attributes: { }
    }
},
for which one?
David Reeß
@queicherius
May 19 2016 01:16
The working one
Archomeda
@Archomeda
May 19 2016 01:16
sure
need to grab a screenshot
Naamloze afbeelding.png
David Reeß
@queicherius
May 19 2016 01:19
Thank you!
Archomeda
@Archomeda
May 19 2016 01:20
np :)
aw... seems you can't get the stats from items that are stat selectable :(
{
    id: 37059,
    slot: "Backpack",
    infusions: [
        37138
    ],
    skin: 2369
},
Naamloze afbeelding.png
oh, 5 more minutes before the client force reboots itself :(
David Reeß
@queicherius
May 19 2016 01:24
https://api.guildwars2.com/v2/items/37059 you mean that aren't? /items has that
Btw... with that screenshot and that API call.. another bug report
Archomeda
@Archomeda
May 19 2016 01:25
wait, it has attributes assigned to it in /v2/items? wth
David Reeß
@queicherius
May 19 2016 01:25
@Archomeda yep. these are the ways an item can have attributes: https://github.com/gw2efficiency/item-attributes/blob/master/src/parseItems.js#L39-L65
Archomeda
@Archomeda
May 19 2016 01:26
lol
oh wait, spinal blades is stat selectable, was the prototype capacitor stat selectable too? or am i mistaken now?
4 different items at the vendor :')
so... stat selectable has the stats entry, while items that aren't don't have it and you have to look it up in /v2/items?
Archomeda
@Archomeda
May 19 2016 01:31
little bit annoying, but at least consistent if it's correct, i was worried that it was inconsistent when i thought the prototype capacitor was also stat selectable :)
David Reeß
@queicherius
May 19 2016 01:32
Yes, exactly
Archomeda
@Archomeda
May 19 2016 01:32
but that the stats are off on my spinal blades ingame vs api is odd
i suppose it's because of the "internal jewel" stats?
like, default stats plus the stats from the jewel like those on exotics
i think they used to be displayed seperately ingame too at some point
but then https://api.guildwars2.com/v2/itemstats/584 is only regarding the normal stats then
since 31/22/22 is correct with 0.35/0.25/0.25
63/40/40 isn't the same as 0.35/0.25/0.25
because it's actually 31/22/22 + 32/18/18?
David Reeß
@queicherius
May 19 2016 01:36
Yeah I am assuming its a special case with ascended items with the jewels
Since my (exotic) aquabreather has correct stats
Archomeda
@Archomeda
May 19 2016 01:39
well, if you assume that it needs to include the jewel
David Reeß
@queicherius
May 19 2016 01:42

WHY DOES THIS NOT WORK

npm install

Oh.

My programming experience in a nutshell
Archomeda
@Archomeda
May 19 2016 01:43
^^
i would really love to start working on something that uses the api again
but i don't want to start from scratch
plus i don't even know what i want to do
wat
shadow behemoth, a portal appears in the monastery that teleports you to behe
TIL
David Reeß
@queicherius
May 19 2016 01:50
@lye Made an issue for you (#316), probably easier than having to scroll up in chat constantly
Archomeda
@Archomeda
May 19 2016 01:53
lol, gitter picks up the filename of my image :')
"Naamloze afbeelding.png" :D
David Reeß
@queicherius
May 19 2016 01:53
:D
Archomeda
@Archomeda
May 19 2016 01:54
not sure how long that key will be valid though, probably until i want another test key with different permissions :D
Archomeda
@Archomeda
May 19 2016 02:27
say @queicherius... you aren't looking for programmers are you? :D
Archomeda
@Archomeda
May 19 2016 02:33
on a slightly unrelated note @queicherius, seems you forgot to credit the polish translator
David Reeß
@queicherius
May 19 2016 02:41
@Archomeda no, not right now. Most of the code is still not publicly available, and it will not be for a while (basically need to rewrite everything, and i'm about 10% done). Its kind of pointless putting it up before, because a) it's dirty b) any code written on it will have to be rewritten anyway and c) i already know exactly what I want :D
@Archomeda I think that was because I dont have his ingame name, let me check
Archomeda
@Archomeda
May 19 2016 02:41
haha, fair enough :D
David Reeß
@queicherius
May 19 2016 02:41
Yep, he never sent me his ingame name :(
Archomeda
@Archomeda
May 19 2016 02:42
aw, the unknown translator will be unknown forever
David Reeß
@queicherius
May 19 2016 02:42
TBH i spend too little time on the translation stuff... it's just so... cumbersome ;_;
Archomeda
@Archomeda
May 19 2016 02:43
well, i don't really mind myself, i use english by default :P
that day when dutch became available, i was like, wtf? where's my english?
David Reeß
@queicherius
May 19 2016 02:44
I mean the translation interface is pretty cool (https://www.youtube.com/watch?v=MvoMB1xIuIo) but adding translate everywhere, making sure plugins dont break, regularly updating, ... all the boring stuff :/
Yeah I use english too
Archomeda
@Archomeda
May 19 2016 02:46
that's quite amazing
did you write that yourself, or is it an existing framework?
David Reeß
@queicherius
May 19 2016 02:46
Just a bit of a bitch to set up
Archomeda
@Archomeda
May 19 2016 02:46
XD
looks cool :D
makes me remember how the steam translations work, a bit
although their website is way worse
David Reeß
@queicherius
May 19 2016 02:47
I tried out multiple translation services, but they all charged money for what I wanted. Quite a bit of money as well.
Archomeda
@Archomeda
May 19 2016 02:48
i just logged in on the steam translation server... why does that website always set my default language to german -.-
"You have 125 of 125 suggestions left." hmm, seems i actually did some translations to get to that max
the dutch moderators were a pain though
David Reeß
@queicherius
May 19 2016 02:50
Like, I wouldnt mind paying like 5 bucks a month for a good managed translation service.
Archomeda
@Archomeda
May 19 2016 02:50
hmm, i think the cheapest option is always better, especially if free and open source :D
but yeah, a few bucks a month might not be too terrible
a few hundred is a bit too much if it's just a hobby website basically :)
David Reeß
@queicherius
May 19 2016 02:52
The prices for the size of efficiency (~2000 entries) are a bit over the top for me:
  • crowdin: 59€ / month
  • transifex 79€ / month
  • weblate 49€ / month
Archomeda
@Archomeda
May 19 2016 02:52
if you have commercial websites it might be okay though, but gw2e isn't commercial
O_o
David Reeß
@queicherius
May 19 2016 02:53
I was looking for something for a while, but then I just gave up and made a server with pootle.^^
Archomeda
@Archomeda
May 19 2016 02:54
at least it's better than sharing language files on a git repo :D
David Reeß
@queicherius
May 19 2016 02:54
Yeah... was thinking about that too. But translators shouldnt need to learn git
Archomeda
@Archomeda
May 19 2016 02:55
indeed
and managing those files manually becomes a pain eventually i assume
when strings get added/changed/removed
David Reeß
@queicherius
May 19 2016 02:55
I was doing that for a while when it was only 1 translation (the french one)
Fun part of that story is that while it was only one language, it eventually were 5 translators
That constantly overwrote each others changes
And I dont speak French (well), so I couldnt decide on the best one :D
Archomeda
@Archomeda
May 19 2016 02:56
hahaha
David Reeß
@queicherius
May 19 2016 02:57
Eventually the architecture will be perfect :sob:
Archomeda
@Archomeda
May 19 2016 02:58
you know the most annoying thing that i hate about dutch translators?
for example on gw2e:
Totaal account waarde should be Totale accountwaarde
most english words are not combined, while in dutch they are
and that Totaal to Totale is just grammar
most dutch people tend to forget that, since they are separate words in english
Account waarde leiderbord wait wtf is leiderbord?
David Reeß
@queicherius
May 19 2016 03:01
Feel free to send me an email to admin@gw2efficiency.com and I will add an account for you! :P
Archomeda
@Archomeda
May 19 2016 03:02
hahaha, can you track how much a language is requested on gw2e?
David Reeß
@queicherius
May 19 2016 03:02
Cant really comment on Dutch, but I know that I never like the german translation, especially of games
Archomeda
@Archomeda
May 19 2016 03:02
most dutch gamers don't like dutch in games anyway
probably since everyone grew up with english games
and tbf, i don't even know how to translate leaderboard into dutch
i'll have to check on steam to see what they have :')
Archomeda
@Archomeda
May 19 2016 03:04
wait, is that the Accept-Language header? or really the language shown on gw2e? since i see sv
David Reeß
@queicherius
May 19 2016 03:05
Yeah that's the language header. I don't track how many people actually use the translation. But the percentage should be in the ballpark.
Archomeda
@Archomeda
May 19 2016 03:05
hmm, fair enough
3% for dutch :')
David Reeß
@queicherius
May 19 2016 03:05
So really its just the usual 4 gw2 languages + a bit of dutch and polish
Archomeda
@Archomeda
May 19 2016 03:06
can you check when the last update to the dutch strings has been done?
i see a lot of english still
David Reeß
@queicherius
May 19 2016 03:07
I actually cant because the server is currently dead (and I dont manage that server) :fire:
Archomeda
@Archomeda
May 19 2016 03:07
rofl
David Reeß
@queicherius
May 19 2016 03:07
Last time i pushed translations to live was 2 months ago and I think i checked last month and nothing changed
Archomeda
@Archomeda
May 19 2016 03:07
i don't know if i really want to dedicate myself to translating stuff
there's always the case of, do i translate everything literally, or do i leave english game terms?
David Reeß
@queicherius
May 19 2016 03:08
Yeah I know what you mean
Translating is just boring :/
Archomeda
@Archomeda
May 19 2016 03:09
i would just leave the english game terms since dutch is not supported in gw2
which means that probably only the informational strings will be translated if i were in charge :P
how many strings does gw2e have atm?
or is it impossible to see because of the server that's down?
Archomeda
@Archomeda
May 19 2016 03:15
also, i just checked my language settings in chrome, it's: nl, en-us, en
how steam detected german is beyond me
David Reeß
@queicherius
May 19 2016 03:15
1478 strings, 5747 words
Steam: "Good enough"
Archomeda
@Archomeda
May 19 2016 03:15
and amazingly enough, i've seen more websites that were automatically shown in german instead of english
1478... not too bad i guess
anyway, i think i'll pass on being a translator :P
David Reeß
@queicherius
May 19 2016 03:18
I'd do the same. ;)
Archomeda
@Archomeda
May 19 2016 03:18
if i actually used the dutch language setting, i might have considered it

Account value leaderboard
> 81% of accounts

it keeps going up without me doing much :D

ehm, how do i escape >?
David Reeß
@queicherius
May 19 2016 03:22
>
\>
Archomeda
@Archomeda
May 19 2016 03:22
ah, thanks :D
oh btw, do you have plans to include the fractal and pvp legendary to the list of legendaries?
i think it's just a matter of including an item id, since everyone can still search for it manually
David Reeß
@queicherius
May 19 2016 03:25
Oh yea, I completely forgot about that
Archomeda
@Archomeda
May 19 2016 03:27
it amazes me that the pvp one is so much cheaper than the fractal one
not that i mind, i dislike the fractal one anyway
plus it requires me to salvage something ascended, NOPE
also, which brings me to the value of the Ball of Dark Energy
David Reeß
@queicherius
May 19 2016 03:30
Alright new legendaries are in
Archomeda
@Archomeda
May 19 2016 03:30
i don't know what the value of http://wiki.guildwars2.com/wiki/Ball_of_Dark_Energy is in gw2e, but it should be at least 80g i think (if you only count the 100% drop rate chance)
David Reeß
@queicherius
May 19 2016 03:31
I'll sign off now, gotta sleep :zzz: :D
Archomeda
@Archomeda
May 19 2016 03:31
ah cool ^^
David Reeß
@queicherius
May 19 2016 03:31
Good point, gonna add that to the evergrowing list
Archomeda
@Archomeda
May 19 2016 03:31
i need to go as well
this stuff is keeping me awake :P
although @queicherius, last thing before i go, keep in mind that the various tiers of the fractal backpiece also give some of those upon salvaging, so i don't know how you'll take that into account into the calculation of ad infinitum :)
Eearslya Sleiarion
@Eearslya
May 19 2016 06:02
@tivac with the callouts XD
Pat Cavit
@tivac
May 19 2016 06:03
:suspect:
Archomeda
@Archomeda
May 19 2016 13:41
okay, this has been bothering me for a while in gw2e, but why does the Thresher-Sickle 5000 have the wrong icon? https://api.guildwars2.com/v2/items/49308 https://render.guildwars2.com/file/17EED9D8F570EF1EF00045533F65CD791EA4D0FB/582347.png @lye
Edgar Doiron
@Coffee4cr
May 19 2016 14:09
quick question, but if I want to ping all the skills, to get the name and ID in a database. I know I can see all the ids here https://api.guildwars2.com/v2/skills, and I can also paginate them with ?page=x this way I get the information for all of them per page. but how do I know how many pages there is?
Archomeda
@Archomeda
May 19 2016 14:09
i probably want to reformat this in a better way
darthmaim
@darthmaim
May 19 2016 14:10
@Coffee4cr The response contains a header with the page count
Edgar Doiron
@Coffee4cr
May 19 2016 14:10
oh
thanks
Archomeda
@Archomeda
May 19 2016 14:17
i hope this works
woot
Archomeda
@Archomeda
May 19 2016 14:23
it's possible that the other ones have icon issues as well, but these are the ones that i found in my bank
@lye, want me to hunt them all down and open an issue?
Archomeda
@Archomeda
May 19 2016 15:32
i couldn't wait and opened #317 ;)
Archomeda
@Archomeda
May 19 2016 15:40
i do wonder though why http://wiki.guildwars2.com/wiki/Splitting_Axe is not an axe if you look at the icon... :confused:

wait what...

Has a chance to successfully harvest Ancient Wood Logs from trees that give Elder Wood Log.

windwarrior
@windwarrior
May 19 2016 15:46
o.O
that sounds OP
darthmaim
@darthmaim
May 19 2016 15:46
If you look at the discussion page, no one has any data to support that claim
windwarrior
@windwarrior
May 19 2016 15:47
and, it should be equal to the mithril pick
which means that elderwood produces ruined
smiley
@codemasher
May 19 2016 16:04
c/p errors that turned into game myths. pt. 265783
@Archomeda yeah, when in doubt just open an issue
makes it easier for me to triage
<3
oh you already did, perfect
David Reeß
@queicherius
May 19 2016 20:41
Did anyone here already play around with Horizon?
smiley
@codemasher
May 19 2016 20:46
OT: nvidia is about to release a new GFX next week and shops are not yet allowed to list them https://twitter.com/alternate_de/status/733264766005858305
oh wow those come out next week?
smiley
@codemasher
May 19 2016 20:46
27.
hype.
smiley
@codemasher
May 19 2016 20:47
yass
that's the reason why i only bought a 750ti with my new pc last march...
darthmaim
@darthmaim
May 19 2016 20:47
moar powah
smiley
@codemasher
May 19 2016 20:48
HUAHAHA
I normally skip a generation or two before buying new cards
but the 1080 looks amazing
Archomeda
@Archomeda
May 19 2016 20:48
i have a gtx970 in my pc for 1.5 years now :confused:
smiley
@codemasher
May 19 2016 20:48
uhh, i skipped like 10
David Reeß
@queicherius
May 19 2016 20:48
:o i thought it would take longer for them to get released
darthmaim
@darthmaim
May 19 2016 20:48
still have a 770
@queicherius right?
smiley
@codemasher
May 19 2016 20:49
(i haven't had a desktop for 9 years, so my last one was a GF6600)
Archomeda
@Archomeda
May 19 2016 20:49
gtx1080 will be released on 27 may, gtx1070 10 june iirc
isn't there a massive gap between the 1070 and 1080?
darthmaim
@darthmaim
May 19 2016 20:50
460 -> 770 -> my next one has to be xx80
smiley
@codemasher
May 19 2016 20:50
no release for the 1070 on heise yet, but short after in june, yes
I feel like I remember reading the 1070 isn't on the new process
Archomeda
@Archomeda
May 19 2016 20:50
1070 is still way better than the titan x
darthmaim
@darthmaim
May 19 2016 20:51
"The GeForce GTX 1070 graphics card delivers the incredible speed and power of NVIDIA Pascal™—the most advanced GPU ever created"
David Reeß
@queicherius
May 19 2016 20:51
I usually buy a new cheap graphics card every 2 years, but that 1080 looks so juicy... :worried:
smiley
@codemasher
May 19 2016 20:52
"only" 180W TDP, thats not bad for such a huge die though
darthmaim
@darthmaim
May 19 2016 20:52
just look at the comparison with the 970 on the page i just linked :O
Archomeda
@Archomeda
May 19 2016 20:53
the gtx1070 doesn't have gddr5x though, while gtx1080 does have it
ah, right, that was the difference
they're both pascal chips
darthmaim
@darthmaim
May 19 2016 20:56
now we need 144hz 4k screens
Archomeda
@Archomeda
May 19 2016 20:56
i think i'll wait for the next one :)
smiley
@codemasher
May 19 2016 20:58
that'll be quite a while i guess
i's already been a while since nv dropped a bomb like that
Archomeda
@Archomeda
May 19 2016 21:00
well, the 900-series were quite amazing too 1.5 years back
not a big leap like the 1000-series, but yeah
can't argue there, though I replaced a 560 with a 980
it was a pretty huge jump for my rig
smiley
@codemasher
May 19 2016 21:01
heh
Archomeda
@Archomeda
May 19 2016 21:01
replaced my 460 with a 970
smiley
@codemasher
May 19 2016 21:01
much like 6600GT -> 750ti for me
Archomeda
@Archomeda
May 19 2016 21:01
hmm, i also did a 9600gt to gtx460 i think :P
smiley
@codemasher
May 19 2016 21:02
dpon't make me dig up my riva128... :D
Archomeda
@Archomeda
May 19 2016 21:02
but wow @codemasher, how did you manage to hold on to your 6600gt for so long? XD
smiley
@codemasher
May 19 2016 21:02
omg
uhh, i still have it
and i didn't even buy it on my own XD
Archomeda
@Archomeda
May 19 2016 21:03
oh wait nvm, you mentioned no desktop
smiley
@codemasher
May 19 2016 21:03
a friend of mine gave it to me when he upgraded XD
Archomeda
@Archomeda
May 19 2016 21:03
lol
smiley
@codemasher
May 19 2016 21:03
nono, my notebooks have different
the first had a ati x1800 which died 3 times
and my current has a nv 330gt
Archomeda
@Archomeda
May 19 2016 21:04
i've only had terrible experiences with ATI/AMD in my laptop :(
smiley
@codemasher
May 19 2016 21:05
"friends don't let friends buy AMD"
Archomeda
@Archomeda
May 19 2016 21:05
i have an AMD 6500M i think, with switchable graphics icw intel
worst combination ever
smiley
@codemasher
May 19 2016 21:05
heh
Archomeda
@Archomeda
May 19 2016 21:06
hardmuxed i think is what they called that switchable graphics technique
smiley
@codemasher
May 19 2016 21:06
i was glad, that my old notebook had a pretty common iwill mainboard with an mxm socket, so i put a nvidia in it a few years ago and it works fine again :D
Archomeda
@Archomeda
May 19 2016 21:06
linux can't handle it properly
it always activates both gpus on boot :confused:
smiley
@codemasher
May 19 2016 21:07
ugh
Archomeda
@Archomeda
May 19 2016 21:07
and thinks i have dual screen on my laptop XD
but yeah, never ever an AMD card again
i also banned the AMD cpus a long time ago
yeah, the non-Windows AMD drivers are garbage
Nvidia runs like a dream on FreeBSD though
Archomeda
@Archomeda
May 19 2016 21:09
oh, don't get me started on the linux AMD drivers
they caused a kernel crash on boot
it never worked :')
smiley
@codemasher
May 19 2016 21:11
AMD drivers in general are a mess, don't get me started on that :D
Archomeda
@Archomeda
May 19 2016 21:11
good, seems the EB queue is almost 0, time for some wvw
oh wait, i'm number 1 in queue :cry:
anyone here from SFR or RS? :P
Eearslya Sleiarion
@Eearslya
May 19 2016 21:27
@lye Should I open an issue for that WvW server-clock suggestion I mentioned?
smiley
@codemasher
May 19 2016 21:32
The Backlog™
Eearslya Sleiarion
@Eearslya
May 19 2016 21:34
I remember you saying it might not even be possible
@Eearslya yeah toss that in
it's going to be a nightmare because the API servers and game servers are in different AD domains -- so they use a (potentially) different NTP server
I think I might put a raw "secondsSinceLastFlip" or something in there since that's much easier to use than diffing times. Not really sure.
Nabrok
@Nabrok
May 19 2016 23:06
@lye secondsSinceLastFlip would be good. I've had issues with times not lining up.
Yeah, I figure you'd just use the "now" field to compute that, so might as well make it easy.