These are chat archives for arenanet/api-cdi

2nd
Sep 2017
ChieftainAlex
@ChieftainAlex
Sep 02 2017 10:43
@Archomeda how exactly did you get the gemstore-live url in the first place? I get a slightly different prefix from EU, as in gemstore-fra-live, but the catalogue data doesn't quite match up with ingame
ChieftainAlex
@ChieftainAlex
Sep 02 2017 10:51
e.g. no finishers in the store
Archomeda
@Archomeda
Sep 02 2017 11:45
oh, just listening to the http requests that are being made
and that prefix? well, i've seen more domains in the past that used these kind of prefixes, so it was only logical that gemstore-live also existed
ChieftainAlex
@ChieftainAlex
Sep 02 2017 11:52
whichever combinations I'm trying I can't mimic the gemstore ingame ;)
Archomeda
@Archomeda
Sep 02 2017 11:53
i would guess that's about returning items?
maybe to check if it's a new item or not? i dunno
ChieftainAlex
@ChieftainAlex
Sep 02 2017 11:54
e.g. super adventure box category (B86B0CE8-67F7-49C8-B5BB-BDD3018176BE) doesn't have any flags saying it isn't available
but it doesn't appear ingame.
Archomeda
@Archomeda
Sep 02 2017 11:57
/shrug
Quaggan BooOOoot
@QuagganBooOOoot
Sep 02 2017 11:57
¯\_(ツ)_/¯
Archomeda
@Archomeda
Sep 02 2017 11:57
it doesn't have any featured items in it, so i guess it checks that?
ChieftainAlex
@ChieftainAlex
Sep 02 2017 11:58
maybe. I thought featured just meant it appears when you hover over the category name
Archomeda
@Archomeda
Sep 02 2017 11:58
i love how https://services.staticwars.com/gw2/img/content/7618a868_large.png is actually still available as an image :')
really gitter, you embed that?
possibly, i don't know
ChieftainAlex
@ChieftainAlex
Sep 02 2017 11:59
i mean the javascript embedded on that page must tell me all of this
but it's been minified which is super fun to read
Archomeda
@Archomeda
Sep 02 2017 12:00
eh... just prettify or beautify it
not that hard
i mean, certain functions can still be difficult, but it's way easier than just reading it when it's minified :P
ChieftainAlex
@ChieftainAlex
Sep 02 2017 12:00
well yeah obviously
but the functions being cryptically named never helps
Archomeda
@Archomeda
Sep 02 2017 12:01
true
ChieftainAlex
@ChieftainAlex
Sep 02 2017 12:01
ah so returning is actually a flag in the top left like "Available for 2 days only", "New" and "Sale ending soon!"
Archomeda
@Archomeda
Sep 02 2017 12:04
i find the password also interesting
it has something to do with text encryption for the client apparently
ChieftainAlex
@ChieftainAlex
Sep 02 2017 12:06
also I have no familiarity with javascript frameworks outside of jquery (i'm bad)
so this one has mithril
yeah that's the maintenance image
Archomeda
@Archomeda
Sep 02 2017 12:07
i mostly ignore the framework tbh
Archomeda
@Archomeda
Sep 02 2017 12:07
lol
it's actually inside an onerror function
so i guess it would display it whenever the image cannot be loaded, just like in that screenshot
eh... lol? the ki property contains a bunch of stuff, including professions... except that there are only 8 listed, aka the revenant is missing :joy:
ChieftainAlex
@ChieftainAlex
Sep 02 2017 12:11
classic.
I don't think profession is mentioned in any gemstore windows to be fair
Archomeda
@Archomeda
Sep 02 2017 12:12
i don't think so either, probably just some legacy code that was never updated
ChieftainAlex
@ChieftainAlex
Sep 02 2017 12:14
probably loads this url as a diversion, then sneakily pulls another url
part of the issue with trying to build the gemstore in tree form is that the client doesn't bother doing that at any stage so there's no identical code to clone.
gotta love some of the minified names though "class: ya.home"
homepage class.
ChieftainAlex
@ChieftainAlex
Sep 02 2017 13:39
I'm getting the feeling that it caches the gemstore data and checks the delta "LastUpdate: GW2.config.features.catalogDeltas && (Y("lastUpdate:{lang}") || void 0)"
Archomeda
@Archomeda
Sep 02 2017 22:36
well, the client does prefetch most stuff upon starting the client with this url: https://gemstore-live.ncplatform.net/prefetch.js?gamecode=gw2&buildid=81583&language=en