These are chat archives for arenanet/api-cdi

12th
Jun 2017
idivait
@idivait
Jun 12 2017 00:13
Anyone here know if the metabattle gw2armory embed markdown is open source?
ChieftainAlex
@ChieftainAlex
Jun 12 2017 06:29
i'd hope that @madou would know.
Michael Dougall
@madou
Jun 12 2017 06:34
If you're talking about the embeds themselves yeah, they're open source. Source code here: https://github.com/madou/armory-react/tree/master/src/embeds
If you're talking about how metabattle is consuming them, I don't think that's open source :)
smiley
@codemasher
Jun 12 2017 09:15
great use of leaflet :D http://marikahackman.com/not-your-man/
idivait
@idivait
Jun 12 2017 14:55
@madou More how metabattle is consuming them - I'd seen the embeds (which are amazing work, btw... both functional and beautiful). I've been working on some internal build guides in this vein: https://codepen.io/lythigrr/pen/OmKdoB?editors=1000 . But looking up the IDs of the diff skill/traits/etc. is not ideal for non-me people. I can work on writing a parser myself, but I'm lazy and thought I'd check here if the metabattle parser was open. :/
Jesus that's a big embed.
Eearslya Sleiarion
@Eearslya
Jun 12 2017 15:15
welcome to gitter
Archomeda
@Archomeda
Jun 12 2017 15:20
mandatory "is gitter opensource yet?"

Any chance we could get Warbringer / Warcry whitelisted for making fancy recipes?

@queicherius do you happen to have the item ids?

Eearslya Sleiarion
@Eearslya
Jun 12 2017 17:03
7272 for Warbringer, Warcry not sure
windwarrior
@windwarrior
Jun 12 2017 17:03
chatlinks here
my chatlink2ID is failing me today
                "item_id": "7272",
                "name": "Branch",
windwarrior
@windwarrior
Jun 12 2017 17:04
yeah the wiki is off on those
Eearslya Sleiarion
@Eearslya
Jun 12 2017 17:04
the wiki is a fuckin liar
I should've known that the ID was too low
I'm loading the content editor but it takes like 10 minutes to start up
Eearslya Sleiarion
@Eearslya
Jun 12 2017 17:05
20GB of datfile
I don't think shaman's IDs are correct
windwarrior
@windwarrior
Jun 12 2017 17:06
have you downloaded more ram recently
Eearslya Sleiarion
@Eearslya
Jun 12 2017 17:06
the wiki says they're 7248 and 7272 if you paste them in
windwarrior
@windwarrior
Jun 12 2017 17:06
no, the warbringer chatcode starts with a byte 10
@Eearslya it's only 8GB since it doesn't read in the art assets
windwarrior
@windwarrior
Jun 12 2017 17:06
which is undefined according to the wiki
lul
Eearslya Sleiarion
@Eearslya
Jun 12 2017 17:07
0x0A – Wardrobe link
windwarrior
@windwarrior
Jun 12 2017 17:07
... I am dumb
Eearslya Sleiarion
@Eearslya
Jun 12 2017 17:07
So it's SKIN id 7272
skin : 10, yeah
Eearslya Sleiarion
@Eearslya
Jun 12 2017 17:08
that makes more sense
                "skin_id": "7272",
                "name": "Warbringer",
yay
windwarrior
@windwarrior
Jun 12 2017 17:08
dear kindergarten teacher, can you please learn me hex instead of your stupid 10-based system
Eearslya Sleiarion
@Eearslya
Jun 12 2017 17:08
oh, were you looking for 0x10?
windwarrior
@windwarrior
Jun 12 2017 17:08
I admit nothing
Eearslya Sleiarion
@Eearslya
Jun 12 2017 17:09
that's fair
81455,81356,81288,81294,81467,81462
those are the item ids -- just whitelisted them
Eearslya Sleiarion
@Eearslya
Jun 12 2017 17:25
Time to max out my CPU for the next 5 minutes
ItemCrawlerJob.perform_now
Damnit enter key
Darqam
@Darqam
Jun 12 2017 17:37
Lye will the skins also get whitelisted automatically with time, or do we need to wait for them to appear in-game?
they're supposed to whitelist with the items
but that is broken i guess
ChieftainAlex
@ChieftainAlex
Jun 12 2017 19:59
so the followup missing skins for the above (first three tiers are in the skins api already) are https://api.guildwars2.com/v2/skins?ids=7252,7248,7272
Michael Dougall
@madou
Jun 12 2017 21:42
@idivait thanks ! I do believe they just have a lookup map, if you wanted to write a script to build one from the Api I don't think it would be hard
idivait
@idivait
Jun 12 2017 21:43
Yeah, I'm just being lazy.
Michael Dougall
@madou
Jun 12 2017 21:44
:)
Eearslya Sleiarion
@Eearslya
Jun 12 2017 21:45
?lythipls
@idivait
idivait
@idivait
Jun 12 2017 21:45
Fuck off, @Eearslya .
Eearslya Sleiarion
@Eearslya
Jun 12 2017 21:46
:D
Michael Dougall
@madou
Jun 12 2017 22:25
Ill tell you get @idivait I just got on the train to work I'll write you up a script
Tell you what * 🌞
idivait
@idivait
Jun 12 2017 22:39
:D
Michael Dougall
@madou
Jun 12 2017 23:09
What's the dream, input some text see what comes back with corresponding id?
Fuzzy match
Wrote up the logic to generate a json map, I'll make a shitty front end over lunch
idivait
@idivait
Jun 12 2017 23:57
Even just a function that takes a string input would work.
I can work that into markdown-it plugin.