These are chat archives for arenanet/api-cdi

28th
Jan 2016
Archomeda
@Archomeda
Jan 28 2016 00:00
well, it's only small anyway, using it for raid builds for my guild
I should adjust the caches so they just continue to serve stale data if the dat reading server is patching :/
smiley
@codemasher
Jan 28 2016 00:00
@windwarrior that was our first location project, the server in c/c++ https://forum-en.guildwars2.com/forum/community/api/Gw2-Location-Tracker/first
Archomeda
@Archomeda
Jan 28 2016 00:02
anyhow, regarding the mumble api, i'm still planning on using it
wanted to create something that feeds live data to obs for example
windwarrior
@windwarrior
Jan 28 2016 00:02
@codemasher from the python side of things it looks very sensible, horrible, but sensible
smiley
@codemasher
Jan 28 2016 00:02
heh
windwarrior
@windwarrior
Jan 28 2016 00:02
uhh that gist
Pat Cavit
@tivac
Jan 28 2016 00:04

I should adjust the caches so they just continue to serve stale data if the dat reading server is patching :/

That would be a good change :+1:

Archomeda
@Archomeda
Jan 28 2016 00:09
oh, @Iye, i hate to bother you again with /v2/skills, but one other thing that's awkward to work with are the druid glyphs, there are 3 entries with the same name for each glyph and at first glance it isn't really clear what's what (parent skill, non-celestial skill, celestial skill), maybe add a category?
oh god I don't even know how druid works
who plays ranger
Archomeda
@Archomeda
Jan 28 2016 00:11
lol
@Archomeda could you open separate issues for all of the /v2/skills weirdness you find?
Archomeda
@Archomeda
Jan 28 2016 00:11
i've only unlocked it, never played it XD
sure, will do
it's gonna take some time to track all of the madness down
thanks <3
windwarrior
@windwarrior
Jan 28 2016 00:12
just like elementalist, a glyph has different states for being in normal- and celestial form
Archomeda
@Archomeda
Jan 28 2016 00:12
such a huge endpoint, and you only come across these issues when you try to do something with it
you should see how insane the implementation is
anyway brb
Archomeda
@Archomeda
Jan 28 2016 00:12
oh, i haven't looked at how the elementalist skills work in /v2/skills
windwarrior
@windwarrior
Jan 28 2016 00:13
@Archomeda do you have an ID for me
now I am curious
of a glyph that is
Archomeda
@Archomeda
Jan 28 2016 00:13
eh, will have one when the api is up again
my website uses name -> id conversion, so i don't have the ids ready unless it's up
oh, it's up
now i can also see what the engineer's pistol #1 flip skill is: https://api.guildwars2.com/v2/skills/5827 -> https://api.guildwars2.com/v2/skills/6042 (900 vs 1050 range, is there a trait somewhere?)
@windwarrior glyph of unity: 31677, 31888 and there's one more, lemme see if i can find it
Archomeda
@Archomeda
Jan 28 2016 00:20
@windwarrior 31740 too
windwarrior
@windwarrior
Jan 28 2016 00:21
hmm
can't it be that it works about the same as an ele glyph. Take for one Glyph of Storms, ingame I can link Glyph of Storms (which is not actually a thing you can cast), Firestorm, Icestorm, Lightning Storm and Sandstorm. According to the wiki these all have distinct id's
Archomeda
@Archomeda
Jan 28 2016 00:26
possibly, let me look it up on the api
oh, well that's even weirder
5734 = glyph of storms, 5735 = ice storm, 5736 = firestorm, 5737 = lightning storm, 5738 = sandstorm
5734 links to 5735 with flip_skill
Archomeda
@Archomeda
Jan 28 2016 00:31
rip github
but that's it, at least these skills have different names and the attunement property
windwarrior
@windwarrior
Jan 28 2016 00:32
yeah
yeah doing the same now
right, gitter was acting up
Archomeda
@Archomeda
Jan 28 2016 00:32
that too
windwarrior
@windwarrior
Jan 28 2016 00:32
but that does explain the 3 skills in the API
Archomeda
@Archomeda
Jan 28 2016 00:33
yeah, about that i didn't doubt, basically a parent skill and child skills
windwarrior
@windwarrior
Jan 28 2016 00:33
(and, I had to translate chatlinks to skill id's, which took me a while)
Archomeda
@Archomeda
Jan 28 2016 00:34
it's just that for druid glyphs, there's currently no way to tell what's what (except for reading the description, but that's a no-go for my javascript :p)
you definitely don't want to read the descriptions
Archomeda
@Archomeda
Jan 28 2016 00:34
but yeah, when github is up, i'll make some issues regarding this
seriously, i report something, then the api goes down for 20 minutes, now i want to make issues, then github goes down...
at least we still have gitter ._.
Archomeda
@Archomeda
Jan 28 2016 00:36
gitter was also acting up for a minute or two XD
windwarrior
@windwarrior
Jan 28 2016 00:37
the internet is on fire, all take your most priced posessions from it and run
Archomeda
@Archomeda
Jan 28 2016 00:38
https://status.github.com/ "app server availability", basically 0% :D
Archomeda
@Archomeda
Jan 28 2016 00:39
hahaha
windwarrior
@windwarrior
Jan 28 2016 00:40
JSONView for chrome is awesome :D
smiley
@codemasher
Jan 28 2016 00:40
i can't live without it
windwarrior
@windwarrior
Jan 28 2016 00:41
the glyph becomes even weirder, the non castable glyph has a flip skill to the castable version in non celestial form
Archomeda
@Archomeda
Jan 28 2016 00:44
"Squads can no longer be used in PvP matches and activities." -_- so now i can't be in a squad anymore while pvp'ing or doing an activity... well, there goes doing an activity while gathering up for a guild event then
windwarrior
@windwarrior
Jan 28 2016 00:44
there was an exploit in PvP with it
top post on reddit
Archomeda
@Archomeda
Jan 28 2016 00:45
yeah, i know, which has far more importance
i had hoped they would solve it differently, but i guess that might have taken them more time then just completely disable it
windwarrior
@windwarrior
Jan 28 2016 00:47
well you have to act fast in this situation I think
Archomeda
@Archomeda
Jan 28 2016 00:47
true
i think this might still be an issue in wvw though? if tagging still persists through death
oh, wasn't there a thief skill that swaps to another skill when in stealth?
windwarrior
@windwarrior
Jan 28 2016 00:49
all auto's do
Archomeda
@Archomeda
Jan 28 2016 00:50
lemme check that in the api then
13022 -> 13129, where 13129 has the category StealthAttack
that's quite nice
the one time the flip_skill was actually right
windwarrior
@windwarrior
Jan 28 2016 01:00
noh, unicorns on GH
Archomeda
@Archomeda
Jan 28 2016 01:00
seeing that there are skills that are set up as parent -> (child1, child2, child3), might it be an idea to add child_skills and parent_skill properties to a skill if it exists? at least the elementalist and druid glyphs can profit from these
still? :(
windwarrior
@windwarrior
Jan 28 2016 01:01
or at least in .eu
Archomeda
@Archomeda
Jan 28 2016 01:01
well, according to status.github.com, 0% is working
i'm actually surprised that the status site is still working XD
windwarrior
@windwarrior
Jan 28 2016 01:01
there must be a sysadmin at github running around screaming that everything broke. So happy that I am not that sysadmin, must feel horrible
Archomeda
@Archomeda
Jan 28 2016 01:02
seeing that all github services are down
oh! developer.github.com is working too!
:fire: :fire: :fire_engine:
Archomeda
@Archomeda
Jan 28 2016 01:05
i think i'll write the issues locally for now :P
@Archomeda, the parent/child skills actually makes way more sense than the way it's structured now.
windwarrior
@windwarrior
Jan 28 2016 01:05
that means the "parent" skill is the one you cannot cast?
so, "Glyph of Storms" in the ele example
Archomeda
@Archomeda
Jan 28 2016 01:06
well, that's currently the case for ele and druid
i checked ingame, and i couldn't find anything remotely connected to the second one
maybe the skill secretly flips without us knowing it? :smile:
windwarrior
@windwarrior
Jan 28 2016 01:09
The wiki lists that fragmentation shot should have 5827 as skill id
that is whats in the chatcode when you link it
the second one is the traited one
I think
David Reeß
@queicherius
Jan 28 2016 01:09
Also typical for github to break when pushing the last commit for a project due tomorrow. :sob:
Time to wait. :coffee:
Archomeda
@Archomeda
Jan 28 2016 01:10
i don't know anything about a traited pistol skill though that improves range
windwarrior
@windwarrior
Jan 28 2016 01:10
yeah, makes sense
some traits require there to be duplicate skills (e.g, any trait that changes a range must basically have a skill which overrides another skill)
windwarrior
@windwarrior
Jan 28 2016 01:10
well, it used to be there, a range extender for pistol skills
but most traits just affect the script/facts and don't need a dupe skill
windwarrior
@windwarrior
Jan 28 2016 01:10
maybe it got removed somewhere
oh wait is that trait dead?
windwarrior
@windwarrior
Jan 28 2016 01:10
not sure
yes
according to the wiki it is
uhhhh I think it still might be in content
windwarrior
@windwarrior
Jan 28 2016 01:11
only trait that affects pistol skills now is chemical rounds, making poison applies longer
lye @lye is checking
windwarrior
@windwarrior
Jan 28 2016 01:12
it indeed used to be a trait in firearms, I am pretty sure
Archomeda
@Archomeda
Jan 28 2016 01:12
i really have no clue
yeah, it's still affected by Ankle Shots
wait what
yes
Archomeda
@Archomeda
Jan 28 2016 01:13
that's a thief skill
I am reading this correctly.
yes
windwarrior
@windwarrior
Jan 28 2016 01:13
that is a thief trait lol
Archomeda
@Archomeda
Jan 28 2016 01:13
:open_mouth:
okay so the code that brushes that madness under the rug apparently isn't considered when flip_skill is decided
Archomeda
@Archomeda
Jan 28 2016 01:14
i'm somehow interested to know how that happened
umm
copy paste
windwarrior
@windwarrior
Jan 28 2016 01:14
yes
Archomeda
@Archomeda
Jan 28 2016 01:14
oh haha, classic :D
I literally tracked someone down the first time I found it
windwarrior
@windwarrior
Jan 28 2016 01:15
did you take their control key with you?
just to be sure
that would have been an idea
Archomeda
@Archomeda
Jan 28 2016 01:18
@Iye, do you want me to make this an issue too? (when github is up again ofc)
yes please
I'd like to get /v2/skills to the point where it can actually be used for what you're using it for
any eyes I can borrow are very appreciated
Archomeda
@Archomeda
Jan 28 2016 01:20
if you're wondering where i'm using it for currently, it's https://archomeda.github.io/lots-raid-information/spirit-vale/vale-guardian/builds/chronomancer-tank/ for example
wait, github pages is working?
wow, that looks really good
windwarrior
@windwarrior
Jan 28 2016 01:21
the build tho... sigil of concentration: 141g
smiley
@codemasher
Jan 28 2016 01:21
do i have to reinstall gw2?
windwarrior
@windwarrior
Jan 28 2016 01:21
but fancy website!
Archomeda
@Archomeda
Jan 28 2016 01:22
currently it's mostly copied from metabattle XD, i still have to check what our tank is actually running
smiley
@codemasher
Jan 28 2016 01:22
how much is the mini kasmeer? still ~500g?
(still have one on my wvw ele :D)
Archomeda
@Archomeda
Jan 28 2016 01:23
but yeah, ever since metabattle took a crap in design, i decided to make this dedicated to our guild :p
windwarrior
@windwarrior
Jan 28 2016 01:24
well, if you would fork metabattle that would be great. Metabattle is starting to become a totalitarian build site
where the maintainers determine the meta, not the players
Archomeda
@Archomeda
Jan 28 2016 01:25
i probably should change that sigil though, didn't anticipate it was scribing only -.-
windwarrior
@windwarrior
Jan 28 2016 01:25
it is a great sigil
it is just slightly expensive
Archomeda
@Archomeda
Jan 28 2016 01:25
"slightly"
if a sigil costs more than 10g, i'm questioning whether i should take it or not xD
actually, even less than 10g probably
windwarrior
@windwarrior
Jan 28 2016 01:26
I always run force/accuracy
Archomeda
@Archomeda
Jan 28 2016 01:27
something like that yeah
windwarrior
@windwarrior
Jan 28 2016 01:27
but; I also always run zerker chrono in raids
uhh assassins/zerker, but yeah you get the drift
Archomeda
@Archomeda
Jan 28 2016 01:28
our tank is pretty good at his job, he played mesmer since headstart
i, however, did not :P
windwarrior
@windwarrior
Jan 28 2016 01:28
oh if you have scribing 225, you can make 20g profit of this sigil
Archomeda
@Archomeda
Jan 28 2016 01:28
uhhh
my scribing is at 51 or 52
saw the prices, went NOPE
windwarrior
@windwarrior
Jan 28 2016 01:29
understandable
Archomeda
@Archomeda
Jan 28 2016 01:29
so i'm waiting for more information about the reduction of the scribing costs
windwarrior
@windwarrior
Jan 28 2016 01:29
anyhow, fancy website indeed
Archomeda
@Archomeda
Jan 28 2016 01:30
haha thanks, design is still a bit lacking though
but hey, it's only meant for our guild, doesn't have to be too fancy
windwarrior
@windwarrior
Jan 28 2016 01:31
well it is already quite fancy, like its not like most of my tools that just include bootstrap.*
bootstrap is the developers solution to design, and I love it
Archomeda
@Archomeda
Jan 28 2016 01:32
it's nice yeah
gets you a nice look in a few minutes, also responsive
responsive, which mine is obviously not, when the width is going near 600px
windwarrior
@windwarrior
Jan 28 2016 01:32
Archomeda
@Archomeda
Jan 28 2016 01:33
oh, looks cool!
"CoF", "Powerful Potion of Flame Legion Slaying" haha
smiley
@codemasher
Jan 28 2016 01:35
@windwarrior re the icons ;) https://dev.gw2treasures.com/services/icons
(our icons are served through cloudflare)
windwarrior
@windwarrior
Jan 28 2016 01:36
oh you mean on dungeonmoney? yeah those come from the API
smiley
@codemasher
Jan 28 2016 01:37
i think the base URL is outdated though
windwarrior
@windwarrior
Jan 28 2016 01:37
isnt this something the api should do, cc @lye
discarding metadata and lossless compression
Archomeda
@Archomeda
Jan 28 2016 01:37
i did not know the render service had these issues
smiley
@codemasher
Jan 28 2016 01:38
now you do ;)
thats why we didn't use the original icons in the wikis
(at least in the de-wiki)
Archomeda
@Archomeda
Jan 28 2016 01:39
but yeah, i suppose they can be solved though
smiley
@codemasher
Jan 28 2016 01:39
it would be awesome
windwarrior
@windwarrior
Jan 28 2016 01:39
setting cache headers should not be the problem for anet I presume
Archomeda
@Archomeda
Jan 28 2016 01:39
isn't there a bot somewhere for mediawiki that compresses and whatsnot every image that's uploaded?
smiley
@codemasher
Jan 28 2016 01:39
iunno
darthmaim used his bot to upload afaik
David Reeß
@queicherius
Jan 28 2016 01:40
ArenaNets render service doesn't set caching headers on their images, so clients can't save the icon for later requests
Cache-Control:"public, max-age=604800"
They changed that sometime.
smiley
@codemasher
Jan 28 2016 01:40
oh, nice
David Reeß
@queicherius
Jan 28 2016 01:40
It used to not have cache headers
smiley
@codemasher
Jan 28 2016 01:41
(the page about the icons hasn't been updated since)
windwarrior
@windwarrior
Jan 28 2016 01:41
yeah, and it is also fully functioning
David Reeß
@queicherius
Jan 28 2016 01:41
Not sure about the compression tho, that's probably still a thing
windwarrior
@windwarrior
Jan 28 2016 01:42
also, I like resizing images clientside if I have to, because of the influx of retina screens
crisp images <3
smiley
@codemasher
Jan 28 2016 01:43
it's for sure a nice to have, but still, loading the data you need vs. loading all the data you can get is still a thing
consider mobile usage ;)
windwarrior
@windwarrior
Jan 28 2016 01:43
I know
David Reeß
@queicherius
Jan 28 2016 01:44
I used to use a custom rendering service as well, but the benefit of having the users only load the images once for all pages they use is also discussable
windwarrior
@windwarrior
Jan 28 2016 01:44
I tend to keep pageloads <1M
Archomeda
@Archomeda
Jan 28 2016 01:44
okay, i tried using some optimizer on the internet (not sure if i can trust it) for some mesmer skill icon, but the results are: ORIGINAL IMAGE - 128 x 128 - 11 KB, OPTIMIZED - 128 x 128 - 12 KB
smiley
@codemasher
Jan 28 2016 01:44
1M
windwarrior
@windwarrior
Jan 28 2016 01:44
not dungeonmoney tho
smiley
@codemasher
Jan 28 2016 01:44
thats gross :D
Archomeda
@Archomeda
Jan 28 2016 01:44
1 KB increase with the optimized image.... uhmm yeah
windwarrior
@windwarrior
Jan 28 2016 01:44
a random wiki page is also 859k
smiley
@codemasher
Jan 28 2016 01:45
*gw2 wiki
windwarrior
@windwarrior
Jan 28 2016 01:45
uhu
David Reeß
@queicherius
Jan 28 2016 01:45
smiley
@codemasher
Jan 28 2016 01:47
will do the day we get HTTP2 support :P
Archomeda
@Archomeda
Jan 28 2016 01:48
oh, regarding metabattle from a while ago, i did have toyed around the idea to make a different website that contains gw2 builds, and instead of based around a wiki, make a dedicated backend for it, but then i decided against it since you would have to code so much
smiley
@codemasher
Jan 28 2016 01:49
uhh, would you like to help us out?
windwarrior
@windwarrior
Jan 28 2016 01:49
well, actually the wiki format works quite well, but the mantainers of metabattle are a bit totalitarian
smiley
@codemasher
Jan 28 2016 01:49
but then again, you don't speak php, eh?
windwarrior
@windwarrior
Jan 28 2016 01:49
or at least, if I may believe reddit
Archomeda
@Archomeda
Jan 28 2016 01:50
oh, i have done some things in php, still working on a gw2status website that based on laravel
then you might feel home ;D
Archomeda
@Archomeda
Jan 28 2016 01:50
but something went wrong there, and i stopped working on it a while ago :P
smiley
@codemasher
Jan 28 2016 01:51
heh
well, we're kinda on a hiatus
Archomeda
@Archomeda
Jan 28 2016 01:51
saw github, went "yay!", saw unicorn, went sad
what's the goal?
smiley
@codemasher
Jan 28 2016 01:52
darthmaim does frontend and api stuff every now and then (mostly because he's building his api wrapper i guess) and i did some backend work for it, like 2fa, bbcode, gw1 skill support
we want to build a gw2 (including gw1) character and build site
there's some ideas
Archomeda
@Archomeda
Jan 28 2016 01:58
so... if i understand correctly, you want to make a character showcasing website or something? or at least that's a part of it
and omg, i'm writing 4 issues atm locally
smiley
@codemasher
Jan 28 2016 01:59
yes, something like a combination of the former gw-tactics/gwcom build creator and former gwchars.de
Archomeda
@Archomeda
Jan 28 2016 01:59
i honestly do not know these websites
smiley
@codemasher
Jan 28 2016 02:00
he, they were pretty popular among german gw1 players though
Archomeda
@Archomeda
Jan 28 2016 02:00
i wasn't playing gw1 during its time, and i'm dutch, not german, so that might explain a bit :D
windwarrior
@windwarrior
Jan 28 2016 02:01
nederlands, woohoo!
windwarrior
@windwarrior
Jan 28 2016 02:01
right
smiley
@codemasher
Jan 28 2016 02:02
OMG this site works from archive.org :D
Archomeda
@Archomeda
Jan 28 2016 02:02
@windwarrior haha :D
first build i see, i open it, see "Dies ist eine Variante des Quickshot-Rangers bzw. PewPew-Rangers."
pewpew rangers, hasn't changed since, not even in gw2
they still pewpew me in wvw
smiley
@codemasher
Jan 28 2016 02:03
but yeah, you get the gist of it
Archomeda
@Archomeda
Jan 28 2016 02:04
i suppose, so mostly community created builds then?
that's not hosted on a forum? :P
smiley
@codemasher
Jan 28 2016 02:05
these were all community created
and the forum was a community projec too
Archomeda
@Archomeda
Jan 28 2016 02:05
well, i mean what you want to create, a website that hosts community created builds, among other things?
that was something to brag about back then :D
yes
^^
Archomeda
@Archomeda
Jan 28 2016 02:06
honored guild wars website
smiley
@codemasher
Jan 28 2016 02:06
basically a combination of our works
Archomeda
@Archomeda
Jan 28 2016 02:06
huh, that was a thing?
smiley
@codemasher
Jan 28 2016 02:06
yea
Archomeda
@Archomeda
Jan 28 2016 02:06
wow
interesting project :D
smiley
@codemasher
Jan 28 2016 02:07
for sure
Archomeda
@Archomeda
Jan 28 2016 02:07
and you wanted help with it?
smiley
@codemasher
Jan 28 2016 02:07
i made this already for the gw1 part http://youpawned.com/code/OwUS8YIT1DaR3VRELBylAE6D
you can participate anytime on github ;)
(in case it's up)
(rare these days)
Archomeda
@Archomeda
Jan 28 2016 02:08
haha, i was just about to say
omg... gw1 stuff, i literally have no knowledge about that
smiley
@codemasher
Jan 28 2016 02:09
and before you ask about that domain i registered... :D http://redeemer.biz/guild-wars/projekte/pawned2/
Archomeda
@Archomeda
Jan 28 2016 02:09
is gw1 stuff easier or harder than gw2 stuff?
windwarrior
@windwarrior
Jan 28 2016 02:09
GitHub, the irony of a single point of failure hosting a fully decentralized code hosting app
smiley
@codemasher
Jan 28 2016 02:10
gw1 is much more logical :D
gw1 has an incredible level of complexity
2 professions and a free choice of skills of both, up to 9 attributes, 4 weaponsets of choice
@codemasher, I wonder if it'd even be worth integrating something like pngcrush on the render server
I feel like most of the good png compressors are pretty ... not realtime-friendly
smiley
@codemasher
Jan 28 2016 02:13
well, we've got you covered :D
yeah totally fair
Archomeda
@Archomeda
Jan 28 2016 02:15
isn't it cached? or do you mean it's not worth it when it has to rerender all the images when a new build is released?
smiley
@codemasher
Jan 28 2016 02:15
btw. everyone who knows for what that gw1 build is intended gets a cookie!
noone? great, all my cookies!
Archomeda
@Archomeda
Jan 28 2016 02:23
well, i've no knowledge about gw1 builds :P plus, i'm typing out my issues that i can put up on github later
smiley
@codemasher
Jan 28 2016 02:23
heh
Archomeda
@Archomeda
Jan 28 2016 02:23
down for 2 hours now
well, at least they can use twitter to post updates too
what if twitter goes down? how can they tweet about that then?
smiley
@codemasher
Jan 28 2016 02:24
(fyi: it's the good ol' 600hp tank whose smiter companion has been nerfed to death)
twitter was down a few days ago, won't happen anytime soon i guess
Archomeda
@Archomeda
Jan 28 2016 02:24
haven't heard anyone about that one, i've only heard about 55hp monk so far
smiley
@codemasher
Jan 28 2016 02:25
the principle of the 600hp is basically the same
but the 600 uses the powerful spirit bond to self heal
it was one of the most versatile tanks back then
nrefed because anet didn't want "invincible tanks" and we got the infamous shadow form buff the same day
weirdes move ever
wait no, the weirdest thing ever was changing teleports to shadowsteps without any notice back in 2013 or so when the game was basically "dead" since gw2 was out...
i'm still curious for a statement though... @lye can't you just poke izzy on that? ;)
but i think hw wasn't involved anymore by that time
smiley
@codemasher
Jan 28 2016 02:30
ahh, the memories... ok, i go to bed now. gn.
Archomeda
@Archomeda
Jan 28 2016 02:31
cya!
@Archomeda, it's cached, but by a CDN. The images aren't stored in the .dat file in a normal format, so they have to be converted on the fly. And they might change (or not, no way of knowing) whenever a new build lands.
Archomeda
@Archomeda
Jan 28 2016 02:45
oh, so once the CDN cache expires it loads a fresh one on the render service by reading it from the .dat file directly? which then gets cached by the CDN again?
yup
Archomeda
@Archomeda
Jan 28 2016 02:46
i see, i imagined that the render service had a local cache as well
nope!
easier to just cache at the CDN level
Archomeda
@Archomeda
Jan 28 2016 02:47
which actually doesn't do much, seeing that the CDN caches it for a pretty long time
typically icons don't change more frequently than once/month
the uhh, LNY food icons I think changed this year, for example
Archomeda
@Archomeda
Jan 28 2016 02:48
don't they get a new id then?
actually I'm not sure
I thought they might have just changed the icon
might be the same item copy-pasted but with a different icon
oh, but I don't recall whitelisting a new item
Archomeda
@Archomeda
Jan 28 2016 02:49
well... i've done some digging in the .dat file a while ago, and every time something changed, it gets a new unique id, but there's a base id that stays the same
basically it gets a new revision id or something
that's uhh
copy paste
>_>
to be fair for some datatypes there's a variety of reasons you wouldn't want to overwrite (or remove) the old versions for awhile
Archomeda
@Archomeda
Jan 28 2016 02:51
hmm, i imagined it would be easier for delta patching for the client
with a reference to the previous file
or revision
the delta patches are uhh
AFAIK
generated at runtime by a server component which effectively diffs manifests
I'm actually not very familiar with how the patch process works
Archomeda
@Archomeda
Jan 28 2016 02:53
oh, so it might be that the files stored on the patch CDN's are different than the ones you use?
nah, the render service (and dat file reader) basically patch the same way the client does
there's a slight difference in that they get more assets (e.g., mystic forge recipes) but it's pretty much the same
Archomeda
@Archomeda
Jan 28 2016 02:54
hmm, okay then :)
sorry, I'm not familiar enough with the system to explain it succinctly
Archomeda
@Archomeda
Jan 28 2016 02:54
well, you've more insight in those things than i do, so i take your word for it :D
i've only done some .dat crawling to see how it updates from the CDN, which is a pretty interesting system i have to say
although, i'm not sure if i should mention that :D
rhoot sits a couple of desks away from me
I wouldn't worry too much about it
Archomeda
@Archomeda
Jan 28 2016 02:58
oh right, the one who initially developed gw2browser
but i think it's something that most programmers are interested in, seeing how things work behind the scenes
well, at least i am :D
oh! github is up again!
I'd be happier if the implementation details stayed behind the scenes
Archomeda
@Archomeda
Jan 28 2016 03:01
yeah, i understand, i do not mean the very implementation details, more like how some systems work together and such, more like top-level
Archomeda
@Archomeda
Jan 28 2016 03:21
@Iye i've posted the issues regarding /v2/skills that i've found so far
Archomeda
@Archomeda
Jan 28 2016 03:44
i'm done for today, thanks for the talk everyone :D
darthmaim
@darthmaim
Jan 28 2016 08:08
hah, yesterday i started reworking the icon article on gw2treasures, funny you mention that now
should be up sometime today
also gw2hero.es also has those specializations: https://gw2hero.es/character/2/nathal-craw/specializations
(just catching up on the last few hours of chat i missed :P)
help would be appreciated, I had so much work to do over the last few weeks/months that I didn't have time for it
as far as I know, icons always change the id
I'm just caching the resized/optimized icons forever and never touching them again
I checked to see if icons change when I did all that (2 years ago), the ID always changed
darthmaim
@darthmaim
Jan 28 2016 08:14
We need this for the render service: https://twitter.com/mathias/status/692618062000951296
windwarrior
@windwarrior
Jan 28 2016 09:14
Oh I was wondering why you seperated your specialisations from your equipment @darthmaim, but I suppose there is no way yet to retrieve what amulet/sigils/runes someone is using in PvP
and the API obviously has no way of knowing that you change all your equipment in wvw
darthmaim
@darthmaim
Jan 28 2016 09:16
yep (and its also still in development, who knows how I throw that together in the future)
windwarrior
@windwarrior
Jan 28 2016 09:27
PvP amulet and sigils and rune information would be cool tho
but, a quick lookup showed that no such endpoint exists yet
but I might be blind
darthmaim
@darthmaim
Jan 28 2016 10:58
I removed the caching paragraph and updated the urls on the page for gw2treasures icons
everything is http2 or spdy now, so I don't need the domain sharding anymore
(and its makes caching them between different sites easier)
smiley
@codemasher
Jan 28 2016 11:01
:+1:
darthmaim
@darthmaim
Jan 28 2016 11:01

also, I like resizing images clientside if I have to, because of the influx of retina screens
:point_up: January 28, 2016 2:42 AM

srcset! thats how gw2treasures.com does it and it works great:

<img src="https://darthmaim-cdn.de/gw2treasures/icons/9D94B96446F269662F6ACC2531394A06C0E03951/947657-32px.png" width="32" height="32" alt="" crossorigin="anonymous" srcset="https://darthmaim-cdn.de/gw2treasures/icons/9D94B96446F269662F6ACC2531394A06C0E03951/947657-64px.png 2x">
windwarrior
@windwarrior
Jan 28 2016 11:02
yep agreed
that would work
darthmaim
@darthmaim
Jan 28 2016 11:02
the great thing about that is, that only browser that need the 64 variant load it
all others get the small one
and I'm mostly using 32px icons on gw2treasures
probably should add that to the article :)
windwarrior
@windwarrior
Jan 28 2016 11:04
but; dungeon money is not used by many people I think. I did post it on reddit once, but mixed reception
windwarrior.github.io/GW2RedditDevTracker on the other hand gave me reddit gold :D. I should have added analytics to both...
darthmaim
@darthmaim
Jan 28 2016 11:09
its never too late for that
Edgar Doiron
@Coffee4cr
Jan 28 2016 15:01
@windwarrior your reddit devtracker and the forums dev tracker is probably the two website I visit the most :P
windwarrior
@windwarrior
Jan 28 2016 16:16
@Coffee4cr I feel humbled! If you ever find any issues with the tracker, please shoot me a message, issue or submit a pull!
Its also fun to browse reddit, and see the link pop up every now and then
Edgar Doiron
@Coffee4cr
Jan 28 2016 16:17
now if only you could pull both the forum dev tracker and reddit dev tracker into a single page all sorted by time...
I would just need a single website
and not two
Archomeda
@Archomeda
Jan 28 2016 16:21
should be possible, merge the two websites into one :P
i suppose you can even write everything in full javascript
@windwarrior, hmm, I should stick the pvp amulet details in there. Shouldn't be too hard, though I suspect I'll need another endpoint for pvp amulets (they have a distinct type, IIRC)
Archomeda
@Archomeda
Jan 28 2016 16:25
the forums have a rss feed for the devtracker, sadly it only lists up to x posts
Edgar Doiron
@Coffee4cr
Jan 28 2016 16:26
well if I look at it daily, it shouldn't be a problem :P
Archomeda
@Archomeda
Jan 28 2016 16:27
although, writing it in full javascript on a static html page doesn't really work, since the forums don't have the appropriate CORS header, and i think you need that if you want to access it from a different domain
IIRC there are (or were) existing sites that provide anonymous proxying of RSS data
does feedburner still exist? I feel like that was one of it's features
smiley
@codemasher
Jan 28 2016 16:32
feedburner? lol
I'm old okay
smiley
@codemasher
Jan 28 2016 16:32
i guess i'm older :D
Edgar Doiron
@Coffee4cr
Jan 28 2016 16:34
feedburner still exist yes
smiley
@codemasher
Jan 28 2016 16:35
"exists"
windwarrior
@windwarrior
Jan 28 2016 16:36
@lye arent amulets some special items? If i recall correctly you had to buy them at a vendor in the mists in the past
I might be wrong
Edgar Doiron
@Coffee4cr
Jan 28 2016 16:37
some are free, some are bought
Archomeda
@Archomeda
Jan 28 2016 16:39
not sure if it still applies
smiley
@codemasher
Jan 28 2016 16:43
shhh:
Archomeda
@Archomeda
Jan 28 2016 16:44
if you want to parse it on a dedicated server yes :)
smiley
@codemasher
Jan 28 2016 16:44
i've written a script to transform/transcode xml back in the day
Archomeda
@Archomeda
Jan 28 2016 16:44
if you want to load it on a static html page with javascript, it's impossible to do that
windwarrior
@windwarrior
Jan 28 2016 16:45
I like not having servers
smiley
@codemasher
Jan 28 2016 16:45
why do everything in js in first place?
Archomeda
@Archomeda
Jan 28 2016 16:45
it heavily depends what's available to you
windwarrior
@windwarrior
Jan 28 2016 16:45
because my browser dislikes the taste of python/haskell
no, biggest pre for me is that I can then host on GH pages
smiley
@codemasher
Jan 28 2016 16:46
php/mysql is available everywhere, argument invalid ;)
ok, except gh pages
windwarrior
@windwarrior
Jan 28 2016 16:46
which is the problem of someone else when it breaks
Archomeda
@Archomeda
Jan 28 2016 16:46
what if you don't have a server and don't want to rent one?
smiley
@codemasher
Jan 28 2016 16:46
dyndns?
Archomeda
@Archomeda
Jan 28 2016 16:47
you still need to have a server...
Edgar Doiron
@Coffee4cr
Jan 28 2016 16:47
any of you played with c9.io
smiley
@codemasher
Jan 28 2016 16:47
ok, gotta go home otherwise my boss will lock me in
l8r
Edgar Doiron
@Coffee4cr
Jan 28 2016 16:47
windwarrior
@windwarrior
Jan 28 2016 16:47
cloud9 is fancy!
Edgar Doiron
@Coffee4cr
Jan 28 2016 16:47
I love it
windwarrior
@windwarrior
Jan 28 2016 16:47
and horrible at the same time
Archomeda
@Archomeda
Jan 28 2016 16:49
so... basically a virtual machine in the cloud for developing?
Edgar Doiron
@Coffee4cr
Jan 28 2016 16:49
yep
Archomeda
@Archomeda
Jan 28 2016 16:49
or well, docker rather, which is not really a vm but w/e
Edgar Doiron
@Coffee4cr
Jan 28 2016 16:49
their free version has been pretty good to me for now
Archomeda
@Archomeda
Jan 28 2016 16:50
meh, i like having stuff like this local
Edgar Doiron
@Coffee4cr
Jan 28 2016 16:51
yeah it's just fun to have access to it from everywhere
can be at work, at home, on my tablet on the bus
Archomeda
@Archomeda
Jan 28 2016 16:51
provided you have internet connection on your way :P
Edgar Doiron
@Coffee4cr
Jan 28 2016 16:51
yep :)
when I don't hit deadzones
windwarrior
@windwarrior
Jan 28 2016 16:56
why on earth doesnt Atom have a button to open a Git shell, the thing is made by GitHub..
Archomeda
@Archomeda
Jan 28 2016 17:08
oh, regarding /v2/skills again, i've noticed that the order of facts is not the same as ingame, and it gets even more out of order when using traited_facts, is there a specific order so i can sort them myself?
windwarrior
@windwarrior
Jan 28 2016 17:20
damage is always on top I think
followed by condi's/boon's
ah, its not consistent with itself ingame as well
and it mostly ends with range
windwarrior
@windwarrior
Jan 28 2016 17:25
Seeing ingame: Damage, boons, condi's, ..., finisher info, range. Its just semisorted
@windwarrior, they were at once item-only (back before PvE and PvP equipment was merged) but now there's a distinct "amulet" data type. Just checked.

Also,

because my browser dislikes the taste of python/haskell

There's a JS GHC backend :>

smiley
@codemasher
Jan 28 2016 17:35
wow, just got home and found this in my mail https://twitter.com/codemasher/status/692760048221683712
i think they've topped the gw2 collectors box XD
windwarrior
@windwarrior
Jan 28 2016 17:37

Also,
because my browser dislikes the taste of python/haskell

There's a JS GHC backend :>

so close: sound cool, it also has functions to manipulate the dom so it can actually replace javascript as a language...
quoting a quote is not yet supported by gitter.. good to know
I've never actually used it, but have always been intrigued
Archomeda
@Archomeda
Jan 28 2016 17:43
O_o looks complicated
god hamlet's template haskell DSL looks gross
I get the benefits but ugh I don't know
Archomeda
@Archomeda
Jan 28 2016 17:44
@windwarrior i'll have to look at some ingame skills then to see if i can find a pattern
windwarrior
@windwarrior
Jan 28 2016 17:44
I did that @Archomeda
the pattern I said was what I could find, but is not even consistent with itself
Archomeda
@Archomeda
Jan 28 2016 17:46
bah :(
the skill data model is pretty much a disaster; AFAIK I'm returning the facts in the same order as the client displays 'em
but for every datum there's at least two ways to model it and all of them are used at least once (and it's maddening)
Archomeda
@Archomeda
Jan 28 2016 17:49
well
api says: range, dmg, vulnerability, number of targets
game says: dmg, vulnerability, number of targets, range
oh dang, does it always put range on the end
IIRC range isn't a real skill fact, I just pretend it's one since it's rendered like one
Archomeda
@Archomeda
Jan 28 2016 17:51
from what i can see and what @windwarrior said, range seems to be the last yeah
windwarrior
@windwarrior
Jan 28 2016 17:52
most of the time, I checked engineer skills, and Firebomb puts the combo field it provides last
Archomeda
@Archomeda
Jan 28 2016 17:53
oh interesting... it seems my tooltip is missing the evade fact... that might be my fault
war GS 3, not the one i linked :P
oh nope
missing the evade for 3/4 seconds fact
windwarrior
@windwarrior
Jan 28 2016 17:54
how about engineers "Rocket charge"?
Archomeda
@Archomeda
Jan 28 2016 17:56
eh, rocket boots?
windwarrior
@windwarrior
Jan 28 2016 17:56
no, charge, that also evades. Scrapper hammer 3
oh, yeah, crap, I'm not pulling data from any of the evade stuff
Archomeda
@Archomeda
Jan 28 2016 17:57
oh, hammer
the evade frames are computed from the animation data (which encode iframes) and I punted on parsing that
I need to do that :/
Archomeda
@Archomeda
Jan 28 2016 17:58
yeah, as @Iye already mentioned, it's missing there too
wow, just curious, but from how many sources do you have to grab all these skill facts?
also, the order of rocket charge seems really random compared to ingame (https://api.guildwars2.com/v2/skills/30665)
api: range, recharge, damage, combo finisher, number of impacts, radius, number of targets
game: damage, number of impacts, number of targets, radius, combo finisher, evade, range
ofc recharge can be left out
Archomeda
@Archomeda
Jan 28 2016 18:04
hmm, i'm looking for a skill that gets an additional fact instead of replacing one when traited, anyone know one?
windwarrior
@windwarrior
Jan 28 2016 18:04
uhm all grenade skills on engi, vunerability
Archomeda
@Archomeda
Jan 28 2016 18:05
right, tnx, i'll look how the api handles that
it just completely ignores it
shrapnel grenade, skill 2
2 skills on the api (again, don't know why), difference is that one doesn't have the number of targets fact
vulnerability is not mentioned anywhere in the traited_facts
Archomeda
@Archomeda
Jan 28 2016 18:12
if i were Iye i think i would pull my hair out with these skills
Edgar Doiron
@Coffee4cr
Jan 28 2016 18:13
we need a livestream of @lye working
I bet each time he gets a gitter notification, his eyes twitch
and you can see blood pumping in the vein on the side of his eye
Eh, gitter's on a monitor over to the right so I mostly just check it when I'm waiting for a compile or something
@Archomeda, huh, the way an additional traited fact should be encoded is by having a fact in traited_facts which omits the overrides index.
windwarrior
@windwarrior
Jan 28 2016 18:17
it also ignores the trait for the velocity increase of grenades (the new grenadier trait)
it does factor in the additional blast radius grenades get from grenadier
Archomeda
@Archomeda
Jan 28 2016 18:18
well, the game doesn't even have a skill fact on the skill for increased velocity
it's only on the trait
windwarrior
@windwarrior
Jan 28 2016 18:18
oh right, makes sense
Archomeda
@Archomeda
Jan 28 2016 18:21
oh @Iye, it seems that range isn't always the last fact, apparently unblockable comes after that
ah that makes sense, unblockable isn't actually a fact either (it's a flag)
I need to re-read the UI code for rendering skill facts I think
Archomeda
@Archomeda
Jan 28 2016 18:23
wait
orbital strike just threw this theory out of the window
dmg, number of targets, radius, unblockable, combo finisher, range.......
i give up, i can't make any sense of the order
Edgar Doiron
@Coffee4cr
Jan 28 2016 18:24
The djinn Zommoros takes care of skill facts
windwarrior
@windwarrior
Jan 28 2016 18:24
just bogosort it and hope for the best
Edgar Doiron
@Coffee4cr
Jan 28 2016 18:24
It's RNG!
windwarrior
@windwarrior
Jan 28 2016 18:25
gmta
Archomeda
@Archomeda
Jan 28 2016 18:26
who's responsible for this UI design? i'll hunt them down for inconsistency
nah j/k
so, @Archomeda I have a feeling there's ways to encode some of those "pseudo" skill fact types that aren't normal, and when they're in an unusual order it's because they've been encoded unusually
Like there's a generic "icon and text" fact type that's sometimes used for unblockable
But IIRC there's also a checkbox on the skill.
Nabrok
@Nabrok
Jan 28 2016 18:29
@lye There's no way to group guild upgrades by vendor, other than hard coding it, right?
The data was intended only to be rendered in a UI, and both forms have the same effect, so ... it doesn't really matter too much.
@Nabrok, so there is actually a field I had overlooked which partitions the graph into subtrees
Archomeda
@Archomeda
Jan 28 2016 18:29
oh, that seems logical
then i suppose the unblockable fact on orbital strike is an image + text, while the one on poison grenade is a flag?
@Nabrok but also @queicherius has a hardcoded JSON file somewhere that'll work until I work that field into the endpoint :<
Archomeda
@Archomeda
Jan 28 2016 18:31
seeing that the one in orbital strike is somewhere in the middle of the facts, while the poison grenade one is last
Nabrok
@Nabrok
Jan 28 2016 18:31
Is that linked on the forums?
windwarrior
@windwarrior
Jan 28 2016 18:31
it was a secret gist
Nabrok
@Nabrok
Jan 28 2016 18:32
Oh, btw, I posted on the forum yesterday about including number of successful yaks, when I did that I didn't realize that number is actually in the game UI now.
heh, @Archomeda Orbital Strike uses an "Unblockable" skill fact type, which has no fields. Poison Grenade uses the checkbox. So there are three ways to encode it.
Nabrok
@Nabrok
Jan 28 2016 18:33
Thanks, that's exactly the kind of thing I was about to do myself.
Edgar Doiron
@Coffee4cr
Jan 28 2016 18:34
had to scroll up a couple of days =|
Could probably have searched for gist.github.com
windwarrior
@windwarrior
Jan 28 2016 18:34
I tried to search it
nope
gitter can't seem to find links
wow that's garbage
Edgar Doiron
@Coffee4cr
Jan 28 2016 18:34
yeah I even tries to lookup his username
Archomeda
@Archomeda
Jan 28 2016 18:34
@Iye, 3 ways? wow...
also, poison grenade (https://api.guildwars2.com/v2/skills?ids=5806,6167) is also missing the unblockable fact
Edgar Doiron
@Coffee4cr
Jan 28 2016 18:35
and it sucked
Archomeda
@Archomeda
Jan 28 2016 18:35
so if that's the 3rd way to encode it, you might have missed it
maybe the checkbox is the third way and I've made horrible mistakes
Archomeda
@Archomeda
Jan 28 2016 18:36
after all this, i feel like creating something that outputs all the available skills in an html table
but how can i detect false or missing information? XD
Nabrok
@Nabrok
Jan 28 2016 18:37
Did @queicherius use the line breaks to indicate the different tiers there?
windwarrior
@windwarrior
Jan 28 2016 18:37
and then check it on every available class/trait combination if it is correct?
Nabrok
@Nabrok
Jan 28 2016 18:37
The numbers look about right
Archomeda
@Archomeda
Jan 28 2016 18:38
@windwarrior i have to hardcode the actual skills then to test against
but that's so much work
doesn't the wiki have something that i can query?
windwarrior
@windwarrior
Jan 28 2016 18:38
the wiki does seem to order them correctly
smiley
@codemasher
Jan 28 2016 18:39
@Archomeda the mediawiki API?
windwarrior
@windwarrior
Jan 28 2016 18:39
but, that is also content.. so about as horrible as what @lye has to deal with I presume
Archomeda
@Archomeda
Jan 28 2016 18:39
@codemasher i have no clue, never worked that much with wikis, but i seem to recall there was some plugin that allow you to query stuff about facts on wiki pages
smiley
@codemasher
Jan 28 2016 18:40
1 sec, looking for a simple example
(had to restart my pc + VMs since windows 10 update decided to force restart my pc)
Archomeda
@Archomeda
Jan 28 2016 18:42
yay microsoft
smiley
@codemasher
Jan 28 2016 18:43
    preg_match('/(\{\{en\|)(?P<name>[\'\(\),-\w\s]+)(}})/isu', $d['wikidata_de'], $m);
    if(isset($m['name'])){
        $d['name_en'] = $m['name'];
        $d['wikidata_en'] = file_get_contents('http://wiki.guildwars.com/api.php?format=json&action=query&prop=revisions&rvprop=content&titles='.rawurlencode($m['name']));
        $d['wikidata_en'] = json_decode($d['wikidata_en'], true);
        if(isset($d['wikidata_en']['query']['pages'])){
            foreach($d['wikidata_en']['query']['pages'] as $p){
                $d['wikidata_en'] = $p['revisions'][0]['*'];
                break;
            }
        }
    }
Archomeda
@Archomeda
Jan 28 2016 18:43
i still hate that they do that, it took me a week to force ignore an update for my monitor
it's a broken color profile that messes up some applications
smiley
@codemasher
Jan 28 2016 18:44
they started that with win 10
i had never ever experienced a forced restart before
Archomeda
@Archomeda
Jan 28 2016 18:44
win10 normally plans it during your inactive hours
but still...
smiley
@codemasher
Jan 28 2016 18:44
yea
my pc is basically on 24/7 with a lot running tasks open and stuff
forced restart. great thing.
smiley
@codemasher
Jan 28 2016 18:47
(btw. that piece of code above matches out the {{en}} template on a german gw1 wiki page and looks the corresponding english page up
Archomeda
@Archomeda
Jan 28 2016 18:48
then i would have to parse the actual content and regex the template {{ skill fact | xxxxxxx }}
smiley
@codemasher
Jan 28 2016 18:48
yea
i've built a gw1 map database that way
the titles parameter takes a comma separated (afaik) list
Archomeda
@Archomeda
Jan 28 2016 18:51
it isn't too bad i suppose, but i think i'll try to create a table with the skills from the api first and see how that works out before i'll add in the wiki facts next to it
do you happen to know the maximum number of pages that you can request at the same time?
for the wiki
smiley
@codemasher
Jan 28 2016 18:52
uhh, no idea, you may ask the mediawiki API documentation ;)
Archomeda
@Archomeda
Jan 28 2016 18:53
oh okay :)
because i'd rather not query the wiki for 1000 times or more to get each individual skill XD
smiley
@codemasher
Jan 28 2016 18:54
why do i still see a unicorn in the github tab?
Archomeda
@Archomeda
Jan 28 2016 18:54
huh?
smiley
@codemasher
Jan 28 2016 18:55
ah, browser cache fooled me
completely built from the wikis
Archomeda
@Archomeda
Jan 28 2016 18:57
wow nice
smiley
@codemasher
Jan 28 2016 18:58
@lye is there anyone at anet who still messes around with the gw1.dat and may be able to extract the skill descriptions in all languages?
n-no idea
smiley
@codemasher
Jan 28 2016 18:58
i wish i could do that
Edgar Doiron
@Coffee4cr
Jan 28 2016 18:58
GW1 is runned by robots!
at this point, it basically is
Edgar Doiron
@Coffee4cr
Jan 28 2016 18:59
I know ;)
smiley
@codemasher
Jan 28 2016 18:59
it's also played by robots!
Coffee4cr @Coffee4cr laughs
Edgar Doiron
@Coffee4cr
Jan 28 2016 19:00
Trip down memory lane. Selling Drak runs
smiley
@codemasher
Jan 28 2016 19:00
good times :D
it's ugly but it may give you ideas to import the stuff
smiley
@codemasher
Jan 28 2016 19:06
in case you happen to get skill images in bigger sizes than usual: https://gist.github.com/codemasher/7f526404df2743b968a9
Archomeda
@Archomeda
Jan 28 2016 19:07
ah thanks :)
i just want to check for skill consistencies atm, so i'll parse the whole api and output it to a (rather) large html file
smiley
@codemasher
Jan 28 2016 19:08
to parse it with regex then? :D
Archomeda
@Archomeda
Jan 28 2016 19:08
what, the generated file? :P
smiley
@codemasher
Jan 28 2016 19:08
heh
Archomeda
@Archomeda
Jan 28 2016 19:09
or do you mean parsing the wiki api?
Archomeda
@Archomeda
Jan 28 2016 19:10
lol
Edgar Doiron
@Coffee4cr
Jan 28 2016 19:14
@codemasher thanks for that strip, now I have another comic to add to my daily list
smiley
@codemasher
Jan 28 2016 19:14
heh
@Coffee4cr do you know cube drone?
Edgar Doiron
@Coffee4cr
Jan 28 2016 19:15
nope?
Archomeda
@Archomeda
Jan 28 2016 19:17
well, the part of my script downloading the skills api is working... there are 1267 skills in total available on the api
ah, that was the one i was looking for: http://cube-drone.com/comics/c/progress
so true
Edgar Doiron
@Coffee4cr
Jan 28 2016 19:20
lol
Pat Cavit
@tivac
Jan 28 2016 19:21
poor maru
Archomeda
@Archomeda
Jan 28 2016 19:32
hahaha, that detail of the legendary centaur stance icon: https://render.guildwars2.com/file/6CFF31B50AA00CAF3D35A02562964802B55AD292/1024105.png
ingame it's such a small icon i couldn't even see it
smiley
@codemasher
Jan 28 2016 19:32
that was so amazing about the high resolution images of gw1
heh, the one benefit of returning the unscaled textures
all the detail in all of its glory
Archomeda
@Archomeda
Jan 28 2016 19:33
one thing that i don't understand is why both the centaur and dragon stance have no black border, while the other do have one
Nabrok
@Nabrok
Jan 28 2016 19:34
(off topic) client request paraphrased: "use cookies or something to track what links people hit on another website that you don't own"
Archomeda
@Archomeda
Jan 28 2016 19:34
probably an decision of the art team, but one that i don't understand :P
lol
windwarrior
@windwarrior
Jan 28 2016 19:35
(although this is really impossible, which is great)
i guess he's ranting about a microservice he used to use
Pat Cavit
@tivac
Jan 28 2016 19:49
thomasfuchs is always complaining about something
smiley
@codemasher
Jan 28 2016 19:49
but he's got a point for sure
windwarrior
@windwarrior
Jan 28 2016 19:50
well computers are horrible anyway
And I have a shining carreer in CS in front of me
Archomeda
@Archomeda
Jan 28 2016 20:22
oh dear, i definitely found some more inconsistencies in /v2/skills, some skills appear to be missing as well
anyhow, i'm still working on building the table, after that, i might implement some logic to check for inconsistencies automatically
it's all made in nodejs, so i can easily put up a gist afterwards
all those conditional properties are driving me nuts
smiley
@codemasher
Jan 28 2016 20:29
hmm, i could provide a full fledged gw1 API http://youpawned.com/map.html
(that map is just a proof of concept)
Archomeda
@Archomeda
Jan 28 2016 20:40
wow, nice map :)
smiley
@codemasher
Jan 28 2016 20:42
that was a crapload of work
i've extracted all the textures from the gw1.dat and puzzled them together, zoomed them and cut them into pieces again
for each campaign
not to mention, i had to clean the edges of the inner map to meld with the base map
Archomeda
@Archomeda
Jan 28 2016 20:45
really? :o
smiley
@codemasher
Jan 28 2016 20:45
yea
you can see it in some places
Archomeda
@Archomeda
Jan 28 2016 20:46
i wouldn't have the patience for something like that
smiley
@codemasher
Jan 28 2016 20:46
in the crystal desert
all the high detail parts are the inner map, everything around is the base map which has 1/2 of the detailed level zoom
heh, my second forename is "patience"
Archomeda
@Archomeda
Jan 28 2016 21:09
haha :D
Archomeda
@Archomeda
Jan 28 2016 23:06
well, i'm sorry wiki api, but i'm currently hammering you with 1000+ requests... (stupid action=ask option doesn't allow bulk :()
and i need that, since querying by title alone is not reliable (there are skills with duplicate names)
I wonder how big of a deal it'd be for us to just provide nightly/weekly MySQL dumps the same way Wikipedia does.
I can see that being useful for those who just want to do stuff with the semantic data (rather than needing to scrape it)
Archomeda
@Archomeda
Jan 28 2016 23:09
{ [Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' } bleh... i have to add some retry code
that's possibly quite useful yeah, although i've never worked with that
smiley
@codemasher
Jan 28 2016 23:13
umm, you could utilize a SMW query through the API afaik
which is what i'm doing
smiley
@codemasher
Jan 28 2016 23:13
which returns a bulk result then
ah
you go directly to the SMW api
i thought you were on the mediawiki still
Archomeda
@Archomeda
Jan 28 2016 23:14
wait, maybe i can change the query
to include multiple ids
smiley
@codemasher
Jan 28 2016 23:15
thats what i'm thinking about
Archomeda
@Archomeda
Jan 28 2016 23:15
i just looked at how the chatcode converter in the search worked :p
smiley
@codemasher
Jan 28 2016 23:15
heh
Archomeda
@Archomeda
Jan 28 2016 23:15
and how it found the pages
currently i'm using '/api.php?format=json&action=ask&query=[[Has%20game%20id::' + skillId + ']][[Has%20context::Skill]]', and i've no clue how SMW works, so... what's a OR here?
smiley
@codemasher
Jan 28 2016 23:19
uhh, i'd have to get into SMW again, it's been almost 2 years since i've been messing around with it :D
  1. Nov. 2012‎
codemasher @codemasher coughs
Archomeda
@Archomeda
Jan 28 2016 23:21
what am i looking at? a full recipe dump?
lol
smiley
@codemasher
Jan 28 2016 23:22
yea, or at least what you get returned due to several bugs i was investigating back then :D
there are some more, feel free to dig through my userpagee
turns out, just the regular || works
smiley
@codemasher
Jan 28 2016 23:25

on the discussion page, Think writes

Abfrageparameter sind immer UND-verknüpft

außer du sagst explizit, dass es eine Disjunktion sein soll (was momentan überhaupt nicht funktioniert).
windwarrior
@windwarrior
Jan 28 2016 23:26
my german is rusty
smiley
@codemasher
Jan 28 2016 23:26
which is what you just said and he argues that this doesn't work as intended
smiley
@codemasher
Jan 28 2016 23:27
so query parameters are always AND
Archomeda
@Archomeda
Jan 28 2016 23:27
i suppose that's what he was talking about? :P
smiley
@codemasher
Jan 28 2016 23:27
except for || which appears to be buggy
feel free to try it :D
if i take the Has context::Skill separately every time
smiley
@codemasher
Jan 28 2016 23:29
keep in mind that this has been written over 3 years ago
there may have been an SMW patch in between
Archomeda
@Archomeda
Jan 28 2016 23:29
that's gonna bloat the url though, but i think it's better than having 1000+ requests
but yeah, it's also noted under the last statement from the page i linked
you can't do (A == B || A == C) && (D == E) basically
it has to be (A == B && D == E) || (A == C && D == E)
does anyone know what's the maximum path length a url can have?
smiley
@codemasher
Jan 28 2016 23:32
~4k
however, there's no specificv limit
just what the webserver accepts in the end
Archomeda
@Archomeda
Jan 28 2016 23:39
hmm, i think i'll limit the length to only have 50 ids on every request
that's still 50 times less requests than if i were to do it separately :P
smiley
@codemasher
Jan 28 2016 23:40
thats what i did with the items crawler too
i found that responses with 200 items took too long
oh, and do it parallel!
what language are you writing that thing in?
Archomeda
@Archomeda
Jan 28 2016 23:44
nodejs
smiley
@codemasher
Jan 28 2016 23:45
ah, ok, so no worries about that XD
Archomeda
@Archomeda
Jan 28 2016 23:45
currently i'm doing it sync though, if i mess things up, i can easily see where i messed up
smiley
@codemasher
Jan 28 2016 23:46
never thought that you could run the requests parallel in php until i stumled across rolling curl
but thats blazing fast then :D
it works with pretty much anything that has cURL bindings
smiley
@codemasher
Jan 28 2016 23:48
oops, wrong link
i wanted to post that later XD
lol.
i meant this one XD
and yes, it is curl_multi
ah, okay. I thought it might be doing something crazy with ... crazy.
smiley
@codemasher
Jan 28 2016 23:49
well, it is still... crazy XD