These are chat archives for arenanet/api-cdi

18th
May 2017
Offhand Mainhand TwoHand
Offhand MainHand TwoHand
hmm
Eearslya Sleiarion
@Eearslya
May 18 2017 02:15
Do the wvw servers have time dilation?
Nabrok
@Nabrok
May 18 2017 02:29
One of you is in KnT, right? Good fights on EB tonight if you were there.
Eearslya Sleiarion
@Eearslya
May 18 2017 02:32
What're you in?
Also, did @lye disable guild k/d tracking?
Nabrok
@Nabrok
May 18 2017 02:36
FLUX
I think he might have, not seeing any movement on it
Eearslya Sleiarion
@Eearslya
May 18 2017 02:38
Er...What server?
Nabrok
@Nabrok
May 18 2017 02:38
JQ
idivait
@idivait
May 18 2017 04:42
@Nabrok - @Eearslya and Pacas (don't know his Github name) all are. Reaaaally fun fights against you guys.
Darqam
@Darqam
May 18 2017 13:32
https://api.guildwars2.com/v2/items/81056 why does this not have the word infused in it's name
/tableflip
Quaggan BooOOoot
@QuagganBooOOoot
May 18 2017 13:32
(╯°□°)╯︵ ┻━┻
Archomeda
@Archomeda
May 18 2017 13:33
at least you can determine it by the number of infusion slots... unlike the rings
Darqam
@Darqam
May 18 2017 13:33
yeah, and now I'll have do to that, but now I'm scared for rings
we've already had rurick's ring that didn't have those words in it's name
and there's nothing else I can do to know if it's just attuned or just infused
Archomeda
@Archomeda
May 18 2017 13:35
maybe make a proposal for adding Infused and Attuned flags
Darqam
@Darqam
May 18 2017 13:35
I think I will, but not sure if that's seen by api backend
Archomeda
@Archomeda
May 18 2017 13:35
yeah...
afaik MF recipes are put in manually in the game, so no auto detection with item flags there...
determining it by the amount of infusion slots brings us back to square one...
Darqam
@Darqam
May 18 2017 13:37
pretty much
Archomeda
@Archomeda
May 18 2017 13:37
and i don't know of any other option
it might require backend changes then :P
Darqam
@Darqam
May 18 2017 13:38
with infusions, you can see if it's either attuned or infused, or if it's attuned AND infused, but nothing else really (speaking only for rings)
Archomeda
@Archomeda
May 18 2017 13:38
plus if it's not infused nor attuned at all
Darqam
@Darqam
May 18 2017 13:43
yeah, since then it will only have 1 slot
but you still need to check rarity, since iirc we have a few back pieces that are exotic with agony slots
Archomeda
@Archomeda
May 18 2017 13:45
oh right, that too
Infusable and Attunable moar flags
Darqam
@Darqam
May 18 2017 13:46
Infusable Infused Attunable Attuned
oh boy
Archomeda
@Archomeda
May 18 2017 13:47
Infusable and Attunable are pretty much impossible if the MF recipes are not automated
Darqam
@Darqam
May 18 2017 13:48
and if they are through the wiki, that doesn't help me since my goal is to make output for the wiki >.>
but still, I would LOVE an attuned and infused flag
Darqam
@Darqam
May 18 2017 13:51
this is a good thing? I don't use twitter so dunno implications
smiley
@codemasher
May 18 2017 13:51
it's the best thing
Darqam
@Darqam
May 18 2017 13:51
oh good
smiley
@codemasher
May 18 2017 13:51
they used to have SMS verification ever since
Archomeda
@Archomeda
May 18 2017 13:53
GA 2FA is the best 2FA ever existed imo
Archomeda
@Archomeda
May 18 2017 13:54
sms 2FA is the worst
and apparently our government wants to force it on us now for government related stuff
smiley
@codemasher
May 18 2017 13:55
wow
Archomeda
@Archomeda
May 18 2017 13:55
aka on DigiD
oops
twitter is improving
oh, according to twitter, my age is between 13 and 54
that's v close
Archomeda
@Archomeda
May 18 2017 13:58
lol
i'm just reading whatever is supposed to supersede our DigiD; apparently it's eID or something, and they want to use the chip that's available in passports, id cards, driver licenses
you have to scan it with your phone (android only), and type in the pincode
in order to log in on government websites... URGH
smiley
@codemasher
May 18 2017 14:01
oh i think that's a thing over here too
Archomeda
@Archomeda
May 18 2017 14:01
also TIL that apple doesn't open up their nfc chips in iphones to third parties
smiley
@codemasher
May 18 2017 14:02
does anyone care about apple at all? :D
codemasher @codemasher hides
Archomeda
@Archomeda
May 18 2017 14:02
not me
smiley
@codemasher
May 18 2017 14:02
me neither
Archomeda
@Archomeda
May 18 2017 14:02
government does because apparently everyone wants an iphone
everyone as in, excluding me and my friends
and other people that don't want to spend hundreds of euros on such a device
smiley
@codemasher
May 18 2017 14:03
thinking about completely getting rid of "smartphones" and using my good ol' Siemens S10 for as long GSM exists over here :D
Archomeda
@Archomeda
May 18 2017 14:05
omg why... idensys and idin should be both available for logging in; which means that you can use your bank account to log in on government websites too... why
smiley
@codemasher
May 18 2017 14:05
because fuck privacy & security
Archomeda
@Archomeda
May 18 2017 14:05
first they want to secure it more, but they also want to open it up more
smiley
@codemasher
May 18 2017 14:05
noone cares about these anyway
Archomeda
@Archomeda
May 18 2017 14:06
JUST CHOOSE ONE, NETHERLANDS
smiley
@codemasher
May 18 2017 14:06
haha
Archomeda
@Archomeda
May 18 2017 14:06
netherlands confirmed to not give a shit about privacy and security in IT
smiley
@codemasher
May 18 2017 14:07
that's all on purpose! 1984 is real
Eearslya Sleiarion
@Eearslya
May 18 2017 16:35
Darqam
@Darqam
May 18 2017 16:39
hm?
Eearslya Sleiarion
@Eearslya
May 18 2017 16:42
I think someone left a debug flag on
I don't start with any command-line params

Also, did @lye disable guild k/d tracking?

@Eearslya yeah I did. There's some issue with it wherein a good portion of the kills aren't tracked for reasons I haven't been able to discern yet.

When I disabled it, there were ~1000 log messages about the request to resolve player to world being denied.
Nabrok
@Nabrok
May 18 2017 16:52
@lye is that why that guild had the crazy kdr?
Maybe? Not entire sure.
Maybe they just derep before they get stomped
Nabrok
@Nabrok
May 18 2017 16:53
I'm not familiar with the guild and they have no presence on JQ discord, so not sure how they play.
Honestly that code has been buggy af since I wrote it, so I would guess it's a bug.
I just had to turn it off on the china version because it was exploding.
ChieftainAlex
@ChieftainAlex
May 18 2017 17:17
ah crap, windows snuck in an automatic update for my video drivers and now gw2 won't boot -_-
hurray rollback worked :D
Darqam
@Darqam
May 18 2017 17:21
huzzah
smiley
@codemasher
May 18 2017 17:43
come play GW1 pvp! mesmer flux is on!
image.png
windwarrior
@windwarrior
May 18 2017 17:47
I am trying to squeese more damage out of my engi
my piano
Darqam
@Darqam
May 18 2017 19:08
@lye with regards to #525, I had assumed as much, but if anything is possible to make the distinction clear on the api, I'll take it. Whether it's pretty or not, if it's a consistent result I'd be happy (please make it pretty though).
I'm thinking that enumerating the mystic forge recipes and pulling data from them isn't too bad.
It's going to mean hardcoding the input item ids but that might not be the end of the world.
There certainly are worse atrocities in the API's codebase.
Darqam
@Darqam
May 18 2017 19:17
Would this still depend on the wiki api queries?
The infused/attuned bit? Nah.
I've got direct access to all the mystic forge recipes, so reading them isn't a problem.
Darqam
@Darqam
May 18 2017 19:18
oh cool
ChieftainAlex
@ChieftainAlex
May 18 2017 23:35
so the mystic recipes are hardcoded for every combo of 4 items?..
Not entirely sure how I want to format the infusion/attunement data
@ChieftainAlex ...yeah
ChieftainAlex
@ChieftainAlex
May 18 2017 23:35
jesus what a list.
it's not really hardcoded, it's in content...
I did hardcode the input item ids for ring attunement/infusion and back infusions though.
You should see the output lists for "4 rares" >_>
ChieftainAlex
@ChieftainAlex
May 18 2017 23:37
basically a mystic endpoint would have so much junk in it from that.
Yeah :s
It would be more feasible to expose only recipes that have exactly one output item
But that kind of detracts from the fun of discovery
ChieftainAlex
@ChieftainAlex
May 18 2017 23:38
i suppose you could filter it based on what the wiki calls equipment supertype (armor/weapon) and if they're all the same supertype ignore it
Oh, for the 4 rares the inputs aren't that bad
ChieftainAlex
@ChieftainAlex
May 18 2017 23:39
pretty sure there's some weird items with two mystic recipe
The ingredients are basically "1 rare armor, 1 rare armor, 1 rare armor, 1 rare armor"
And the output list is ~500 items for each level range
Archomeda
@Archomeda
May 18 2017 23:40
so you can at least specify a wildcard :smile:
or a partial wildcard
w/e
yeah, but those are two distinct recipes to make the item
ChieftainAlex
@ChieftainAlex
May 18 2017 23:43
sorry just read what you said above, ''output'' lists for 4 rares, not even input combinations
I'm not really sure how best to expose the infusion/attunement data
{ flags : [ "Infused", "Attuned" ] } seems fine, but doesn't provide the links between items

I've got the backend server returning

                "upgrade_recipes": [
                    {
                        "type": "Attuned",
                        "into": 79115
                    },
                    {
                        "type": "Infused",
                        "from": 78259
                    }
                ],

which seems kind of gross?

Archomeda
@Archomeda
May 18 2017 23:53
hmm, this does allow for easier expansion to include more upgrade recipes in the future, if any
eh, that's totally true.
Archomeda
@Archomeda
May 18 2017 23:54
but... i don't think combining both from and into in the same array is a good thing
it's kind of confusing
agreed on that.
Archomeda
@Archomeda
May 18 2017 23:55
maybe this?
"upgrade_into": [
  // stuff
],
"upgrade_from": [
  // stuff
]
LGTM.
Do you think it's useful to duplicate the data in a .flags field?
Archomeda
@Archomeda
May 18 2017 23:56
probably, since this only specifies the links between items (at least, i think right?); whereas the flags are for the current item
Right, but upgrade_from can be used to infer the current infusion/attunement status.
Archomeda
@Archomeda
May 18 2017 23:57
oh wait, the type in upgrade_from is for the current item?
Nah type is the upgrade type
windwarrior
@windwarrior
May 18 2017 23:58
But wait
So that particular item is Defender's Energized Loop (Infused)
It was upgraded via infusion from 78259 (Defender's Energized Loop)
and upgrades via attunement into 79115
windwarrior
@windwarrior
May 18 2017 23:58
Right, you probably wanna check the crafters backpieces
ughhhhhhhhhhhh
Archomeda
@Archomeda
May 18 2017 23:59
yeah, that's what i mean; the type in the supposed upgrade_from is infused, which is for the current item; whereas the type in upgrade_to is for the item after upgrading
windwarrior
@windwarrior
May 18 2017 23:59
becuase they used to come with diff infusion slots
Archomeda
@Archomeda
May 18 2017 23:59
i thought the type in upgrade_from was for the item that was used for upgrading