These are chat archives for arenanet/api-cdi

12th
May 2017
Archomeda
@Archomeda
May 12 2017 00:50
@madou @lye, re: daily achievement duplication, this time it's 1970: https://api.guildwars2.com/v2/achievements/categories/97
"achievements": [
    1970,
    1970,
    2937,
    1938,
    1940,
    2893,
    2959,
    2816,
    2817,
    2094,
    2623,
    437,
    1852,
    1851,
    1844,
    1840
  ]
it's because it's also listed twice in https://api.guildwars2.com/v2/achievements/daily
    {
      "id": 1970,
      "level": {
        "min": 1,
        "max": 79
      },
      "required_access": [
        "GuildWars2",
        "HeartOfThorns"
      ]
    },
    {
      "id": 1970,
      "level": {
        "min": 80,
        "max": 80
      },
      "required_access": [
        "GuildWars2"
      ]
    },
but, just opening #517 made me realize @lye figured it out already
nvm me
Michael Dougall
@madou
May 12 2017 01:46
howd you fix it?? HOWD YOU FIX IT??
looking for that stack overfow meme where some guy fixed a problem and didnt say how, failing miserably
windwarrior
@windwarrior
May 12 2017 11:04
smiley
@codemasher
May 12 2017 11:33
i don't know how many times i ran into a problem like this... :D
smiley
@codemasher
May 12 2017 15:38
image.png
kamadan ae1 rn
(don't sell your armbraces to goldsellers!)
okay, so if /v2/account/masteries gives the spent mastery points, where should I put the unlocked mastery point ids?
/v2/account/mastery/points?
darthmaim
@darthmaim
May 12 2017 16:52
hmm
my thoughts exactly
naming is the hardest problem
darthmaim
@darthmaim
May 12 2017 16:58
it is :(
Archomeda
@Archomeda
May 12 2017 17:28
:(
<insert `/v3` joke here>
the /v3 API will just use GUIDs as endpoint names
Archomeda
@Archomeda
May 12 2017 17:29
wait what... why did /v3 not get converted inside < > tags
e.g., /v3/2ceed675-d476-4783-86e3-6b3909e1ffc9 will roughly correspond to /v2/account
Archomeda
@Archomeda
May 12 2017 17:29
lol
better: /v3 will only be one endpoint, POST /v3 HTTP/1.1 which will accept an XPath query to select the result data
the schema that the XPath query runs against is undocumented
(and changes frequently)
{
  "totals": [
    {
      "region": "Tyria",
      "spent": 49,
      "earned": 82
    },
    {
      "region": "Maguuma",
      "spent": 120,
      "earned": 199
    }
  ],
  "unlocked": [
    1,
    2,
    3,
    4, ...
  ]
}
I'm pretty happy with this.
darthmaim
@darthmaim
May 12 2017 17:59
:+1:
smiley
@codemasher
May 12 2017 18:04

the /v3 API will just use GUIDs as endpoint names

and returns JSONx

Nabrok
@Nabrok
May 12 2017 18:34
@lye what's the status of the guild kills/kdr stuff?
total disaster
I've been putting off looking at it because it makes me sad to think about
I've got it on the docket for later this afternoon though
Nabrok
@Nabrok
May 12 2017 18:34
So, if I look at the top kills an hour or so after reset tonight, it won't make sense?
it doesn't make sense currently
I basically need to rewrite the backend implementation to be less of a cluster
Eearslya Sleiarion
@Eearslya
May 12 2017 19:23
So, as far as the kills/deaths for teams/guilds.. It's going to be kills->blue means how many times that guild killed the blue server, right? and deaths->blue means how many times blue killed them?
yeah
Eearslya Sleiarion
@Eearslya
May 12 2017 19:24
\o/
idivait
@idivait
May 12 2017 20:57
WTB k/d per member to troll @Eearslya with... :D
I mean, um, for statistical reasons.
Eearslya Sleiarion
@Eearslya
May 12 2017 21:18
@idivait fite me irl
hmm
literally no idea why this isn't working on live
I don't see any bugs happening locally :|
Darqam
@Darqam
May 12 2017 22:14
only one valid option at this point, scrap everything and rebuild it so it makes sense
I meannnnnnn
are we talking just the API or
darthmaim
@darthmaim
May 12 2017 22:15
humans
I'm down
we've got crispr let's do this
windwarrior
@windwarrior
May 12 2017 22:52
just rewrite the entire game
using rust
never a "fixed a server cash"
/s
.unwrap pls
we should probably use haskell or ml instead tbh
Eearslya Sleiarion
@Eearslya
May 12 2017 23:04
nah just write it in bash or perl
windwarrior
@windwarrior
May 12 2017 23:10
unsafe {} around everything
unsafePerformIO you mean
windwarrior
@windwarrior
May 12 2017 23:11
haha yeah
fuck contexts
I am so sad that I made HOPE, not Quip
hmm
windwarrior
@windwarrior
May 12 2017 23:38
I kinda want to do this
he never said it had to be on live, nor did he disallow using GM commands
tempted
windwarrior
@windwarrior
May 12 2017 23:38
well you will get your gold on the non-live then too :P
darthmaim
@darthmaim
May 12 2017 23:38
do it, #forlols
@windwarrior that's ... yeah that's fair. dang.
windwarrior
@windwarrior
May 12 2017 23:39
I am sure Chris is smart like that too
P/P thief cant be that bad right
I've seen people play it in wvw
iirc it's got burst but no sustain
windwarrior
@windwarrior
May 12 2017 23:42
well 10 p/p thiefs is going to be terrible dps
where do you get might
no banners
no quick
q.q
the good thing, you kinda dont need alacrity