These are chat archives for arenanet/api-cdi

18th
May 2016
smiley
@codemasher
May 18 2016 10:48
css parser in Javascript
this is just wrong... :D
but anyway...
Archomeda
@Archomeda
May 18 2016 13:24
i suppose it's for automatically getting the list of reddit accounts that are anet accounts
Christian
@zeeZ
May 18 2016 14:38
I figured it out
you need a simple regex
\.author\[href\$="\/([^"]+)"\]:before,?(?=[^{]*\{content:url\("\/\/b\.thumbs\.redditmedia\.com\/pYI5WAF5Gh8P-FLejPwHGztyIXKCmrGqtYRwv__sDiM\.png"\))
/\.author\[href\$="\/([^"]+)"\]:before,?(?=[^{]*\{content:url\("\/\/b\.thumbs\.redditmedia\.com\/pYI5WAF5Gh8P-FLejPwHGztyIXKCmrGqtYRwv__sDiM\.png"\))/g boom.
smiley
@codemasher
May 18 2016 14:40
lmao
Edgar Doiron
@Coffee4cr
May 18 2016 14:44
I opened that up, and my nose started bleeding
Christian
@zeeZ
May 18 2016 14:45
the few japanese tv channel I get here are boring, so after a day of walking that's a welcome change :P
apparently some guy was arrested, someone in a phone interview said something about pantsuru and a video clip showed women typing on their phones
Christian
@zeeZ
May 18 2016 14:51
I found an anime about a guy with green hair who's good at basketball
windwarrior
@windwarrior
May 18 2016 15:06
waauw
thanks @zeeZ
\.author\[href\$="\/([^"]+)"\]:before works as well, no need to match that static icon
oh lol now I got automoderator as well :')
Christian
@zeeZ
May 18 2016 15:13
hence.
windwarrior
@windwarrior
May 18 2016 15:14
not sure how stable this "solution" is
windwarrior
@windwarrior
May 18 2016 15:30
smiley
@codemasher
May 18 2016 15:33
208 is a classic
windwarrior
@windwarrior
May 18 2016 15:48
500-500 defeat in pvp :'(
Edgar Doiron
@Coffee4cr
May 18 2016 16:38
lol
Eearslya Sleiarion
@Eearslya
May 18 2016 19:43
@lye You still coming to tonight's WvW? :D
(seems like their site wasn't prepared for the crowds... Rage Against The Machine was even trending on twitter for a while)
@Eearslya oh, thanks for the reminder
what time do y'all start? 6PM PST?
Eearslya Sleiarion
@Eearslya
May 18 2016 20:14
Yep! I can get you the TS info too, we'll get you verified when you come in
will do
I might be a bit late -- probably 6:30-7PM PST
Pat Cavit
@tivac
May 18 2016 20:37
Huh, never saw http://guide.thatshaman.com/ before
neat to see them directly overlaid like that
wow that's actually really cool
Eearslya Sleiarion
@Eearslya
May 18 2016 20:39
I love how some PoIs line up so perfectly
actually hmm, it looked like in some areas he had the gw1 map tiles blended in
Pat Cavit
@tivac
May 18 2016 20:39
impressed at how well they overlap, a lot of people worked very hard at that
but not others; wonder what's up with that
Pat Cavit
@tivac
May 18 2016 20:39
probably only blended in gw1 tiles where there aren't gw2 tiles?
Eearslya Sleiarion
@Eearslya
May 18 2016 20:40
Ahh, Borlis Pass..my first server.
smiley
@codemasher
May 18 2016 20:41
so quick, make the zone borders go live :D
for the sectors? I think that goes out with the next release
smiley
@codemasher
May 18 2016 20:41
ohh, nice
why did I put my moot in the bank wtf
I am so confused
anyway, /v2/itemstats (and stat blobs on itemstacks) is live
David Reeß
@queicherius
May 18 2016 21:46

anyway, /v2/itemstats (and stat blobs on itemstacks) is live

<3

Eearslya Sleiarion
@Eearslya
May 18 2016 21:59
<3 <3
Wow. There's..a lot of stat combos with no names XD
And a lot of just plain empty ones
yep
wasn't sure what to do about those, but they're referenced from items, so...
Eearslya Sleiarion
@Eearslya
May 18 2016 22:02
Maybe those are the stat combos initially assigned to choose-your-stat items..?
definitely possible
Eearslya Sleiarion
@Eearslya
May 18 2016 22:03
// id refers to /v2/itemstacks. think you may have typo'd that though
/v2/itemstacks, come get your stacks of items
darthmaim
@darthmaim
May 18 2016 22:04
:smile:
Eearslya Sleiarion
@Eearslya
May 18 2016 22:04
I'll take a stack of silver doubloons please
I need them ;;
{ "error" : "no such id" }
{ "error" : "no such account" }
David Reeß
@queicherius
May 18 2016 22:07
#lyepls
smiley
@codemasher
May 18 2016 22:09
{ "error" : "no such internet" }
Pat Cavit
@tivac
May 18 2016 22:09
obviously item wouldn't be the param
seriously
Eearslya Sleiarion
@Eearslya
May 18 2016 22:09
{ "error" : "no such Guild Wars" }
David Reeß
@queicherius
May 18 2016 22:10
We can dream. :(
windwarrior
@windwarrior
May 18 2016 22:10
https://api.guildwars2.com/v2/itemstats/69 <-- this should be soldiers?
ahh there are soldier stats that are not named soldiers...?
Pat Cavit
@tivac
May 18 2016 22:11
it'd be item=30704 clearly
Eearslya Sleiarion
@Eearslya
May 18 2016 22:11
Those..are some big multipliers compared to https://api.guildwars2.com/v2/itemstats/162
windwarrior
@windwarrior
May 18 2016 22:13
and where does the base number come from?
Eearslya Sleiarion
@Eearslya
May 18 2016 22:15
+// NOTES:
 +//  * "attributes" contains the multipliers; these are combined
 +//    with the item level, rarity, and some additional look-up
 +//    tables to get the final stat amounts. Since we don't currently
 +//    provide the other bits, they're only useful for relative
 +//    comparisons (e.g., Berserker's vs. Celestial). The absolute
 +//    attribute values are provided in itemstack objects (e.g.
 +//    when fetched from a character's inventory or bank).
windwarrior
@windwarrior
May 18 2016 22:16
right, rtfm
ty!
Eearslya Sleiarion
@Eearslya
May 18 2016 22:16
gdi gitter
Pat Cavit
@tivac
May 18 2016 22:17
when you use the code fences you gotta put a newline after the leading backticks
windwarrior
@windwarrior
May 18 2016 22:17
but fancy, I like it!
Pat Cavit
@tivac
May 18 2016 22:17
and before the trailing backticks
windwarrior
@windwarrior
May 18 2016 22:17
test
nope
Pat Cavit
@tivac
May 18 2016 22:17
single-backticks are for inline code, and are different from code fences
Eearslya Sleiarion
@Eearslya
May 18 2016 22:17
ah there we go
Pat Cavit
@tivac
May 18 2016 22:18

`this` isn't the same as

```
this
```

Eearslya Sleiarion
@Eearslya
May 18 2016 22:18
Yeah I just didn't know about the newline part
windwarrior
@windwarrior
May 18 2016 22:18
(these were triple backtics)
pretty sure triple ticks work inline
I may have missed the entire conversation but I'm okay with it
Eearslya Sleiarion
@Eearslya
May 18 2016 22:23
They do, but I think they count as if they were single that way
windwarrior
@windwarrior
May 18 2016 22:25
that was what I was saying
@lye, I assume the link between stat-selectable items and their possible stats is something for the future?
I might have missed the answer to that question somewhere as well
uhh, I hadn't considered that.
That should probably go in /v2/items
lemmie make an issue real quick
windwarrior
@windwarrior
May 18 2016 22:26
yeah that
might be useful for "how do I get full viper-stat" type applications