These are chat archives for arenanet/api-cdi

27th
Jan 2016
okay team I'm changing /v2/commerce/listings
haven't figured out how but it's causing problems
here's the number of bytes retrieved from the cache/time: http://i.imgur.com/2sfIluB.png
gonna sleep on it but definitely open to suggestions. problem is mostly that the responses (which are cached wholly) are too large and sucking up too much space.
Eearslya Sleiarion
@Eearslya
Jan 27 2016 02:59
Good lord.
Also @BryghtShadow you definitely should! You seemed to be a good editor from the changes you suggested to me, and API editorship isn't hard to get.
Ryan Mast
@nightlark
Jan 27 2016 05:28
@BryghtShadow you might need to ping a sysop if they don't respond within a few days to the request
Eearslya Sleiarion
@Eearslya
Jan 27 2016 05:28
I can always give one a poke on the IRC
Shii Kayano
@BryghtShadow
Jan 27 2016 15:41
While playing other games, I realised just how wonderful the patching/maintenance system of GW2 is.
smiley
@codemasher
Jan 27 2016 15:45
there's quite a few things to fanboy about in gw2 but i'm almost sure it's not the auto-updater... :D
Nabrok
@Nabrok
Jan 27 2016 15:46
There's zero downtime ...
I don't think anybody else does that
smiley
@codemasher
Jan 27 2016 15:46
does it matter?
thats what i wonder when i read all those qq threads when a server comes down for maintenance
but indeed, the very low downtime is noteworthy about gw/gw2
Nabrok
@Nabrok
Jan 27 2016 15:55
It matters if you want to play on a patch day :)
smiley
@codemasher
Jan 27 2016 15:59
only if patch day is friday and the current time is short after wvw reset
but that has been changed fortunately
Ryan Mast
@nightlark
Jan 27 2016 20:24
@lye what is the difference between the new fractal_level added to account.js, and the fractal_level shown when a player has the progression scope?
where's the second one shown?
I thought it was only on /v2/account
I may have mis-merged something
Ryan Mast
@nightlark
Jan 27 2016 20:26
the second one is listed in account.js as well, under the heading for things shown if progression scope is set
whistles innocently
just updated the file
Ryan Mast
@nightlark
Jan 27 2016 20:30
awesome
and just to clarify, "commander" will be true if they have purchased a tag?
(not if they are tagged up)
Nabrok
@Nabrok
Jan 27 2016 20:33
Well, mine says true right now, and I'm not even in game.
yeah it just checks to see if you've got the unlock bit set
could (eventually) expose party/squad status but not sure if worth
Nabrok
@Nabrok
Jan 27 2016 20:38
You mean who is in your party?
and whether or not your party is a squad
(and how the squad is organized)
Nabrok
@Nabrok
Jan 27 2016 20:40
Hmm, well, one of my apps was a composition planner for WvW raids, but it was basically made redundant by the squad UI, so I'm not working on it anymore. However, if I go back to it, it could use something like that.
Ryan Mast
@nightlark
Jan 27 2016 20:52
Okay, another thing. For recipes, one of the possible types is "GuildDecoration". Does anyone know what other guild-related types are possible (if any)?
uhh lemmie copy-paste the enumeration values from the source
updated the docs -- not sure if all of those are currently returned, there may be recipe types that are unused in-game
Ryan Mast
@nightlark
Jan 27 2016 21:06
Great :smile:
smiley
@codemasher
Jan 27 2016 21:41
@lye are squads enumerated in a way, so that it's possible to put something like the squad-id into the mumble thingy? (asking for a friend)
not sure, actually, haven't looked at the party/squad code so I'm not sure how it's structured
I can say that I really, really don't want to make any more changes to the mumble link data format
smiley
@codemasher
Jan 27 2016 21:42
i know right :D
however, it'd be cool to have enumerated squads on a map and assigned to their leader in a overwolf squad thingy
gonna punt on that until we have a better local API thing
(probably not this year)
( ;_; )
smiley
@codemasher
Jan 27 2016 21:46
uhh, it's next year already :P
i'd like to update this thing one day to API v2 but i'm still missing features https://github.com/codemasher/Overwolf-Locationtracker
(overwolf has taken it down because i haven't updated in a while... can't help, it was "stable")
heh
no updates = obviously doesn't work with the latest game version
smiley
@codemasher
Jan 27 2016 21:49
yeah sure :D
Nabrok
@Nabrok
Jan 27 2016 21:49
I guess you could do a "do nothing" update
Change a comment or something
smiley
@codemasher
Jan 27 2016 21:50
i could but it would take the overwolf guys ages to put it into the appstore and they would mess up the description again :D
darthmaim
@darthmaim
Jan 27 2016 21:50
// still works on 2016-01-27
update that daily
smiley
@codemasher
Jan 27 2016 21:51
hehe
darthmaim
@darthmaim
Jan 27 2016 21:51
or // times since last update incident: 400 days
and keep incrementing it :D
smiley
@codemasher
Jan 27 2016 21:52
(and another reason why gw2 should have a dedicated page for api creations, it's still on github and you can still install it)
windwarrior
@windwarrior
Jan 27 2016 23:37
that mumble link stuff is horrible, it almost always resorts you to use some dark magic part of your favorite language^tm to map that shared memory to some more sensible format.
like ctypes in python
brr
Pat Cavit
@tivac
Jan 27 2016 23:38
that's why we aren't touching it
it's a gross hack that requires more gross hacks on top of it to be useful
smiley
@codemasher
Jan 27 2016 23:39
it is in fact a shame to call that an API though :D
IMO it would have been a bit cleaner if it weren't JSON-encoded
but that's neither here nor there
Pat Cavit
@tivac
Jan 27 2016 23:42
wish we had usage numbers on the mumble stuff
windwarrior
@windwarrior
Jan 27 2016 23:42
I wanted to look into re-exporting this on a websocket interface
smiley
@codemasher
Jan 27 2016 23:42
well, i know quite a few people using my app
windwarrior
@windwarrior
Jan 27 2016 23:42
and now I am kneedeep into shared memory articles on the python wiki
Archomeda
@Archomeda
Jan 27 2016 23:43
hey all :)
smiley
@codemasher
Jan 27 2016 23:43
i don't know how many other apps are actually using it since we were basically pioneering it back in the day and probably why Cliff put a json encoded string in it
fixed-length c strings would have been less ... temperamental
I think we've got a websocket implementation lying around somewhere, hopefully next year I'll have the gumption to include it in the client as an opt-in fully-fledged interface to the client's state
guild chat and character portrait renders are in front of that in line though
Archomeda
@Archomeda
Jan 27 2016 23:46
sorry to intervene, but i was messing around trying to create tooltips using /v2/skills, and i noticed something, some icon urls are missing for e.g. range, pulses, combo fields and combo finishers, is this intentional?
smiley
@codemasher
Jan 27 2016 23:46
ok, so people will have to wait another year for a full fledged online squad tracker... :D
@Archomeda, hmm, that seems like a bug on my end
I don't remember if the icon urls are overrides or defaults
Archomeda
@Archomeda
Jan 27 2016 23:49
some examples are time warp (https://api.guildwars2.com/v2/skills/10311) and phantasmal swordsman (https://api.guildwars2.com/v2/skills/10174)
Hmm, I have a feeling there's a fact type table -> icon mapping somewhere that I missed.
oh you know what it is
those are all not actually skill facts
I just translate them as that; they have hardcoded icons somewhere that I need to dig up. Lemmie open up an issue.
Archomeda
@Archomeda
Jan 27 2016 23:50
ah right :)
sorry 'bout that! #200
Archomeda
@Archomeda
Jan 27 2016 23:51
thanks for looking into it :D
windwarrior
@windwarrior
Jan 27 2016 23:51
For those brave people who ever want to do something with MumbleLink using Python: https://github.com/hacst/mumble_link
smiley
@codemasher
Jan 27 2016 23:52
@windwarrior there's also the code from zeeZ around, who was one of the first ones with an implementation ;)
Archomeda
@Archomeda
Jan 27 2016 23:53
also, another small thing, but it seems that fragmentation shot (https://api.guildwars2.com/v2/skills/5827) has the wrong percentage for the projectile finisher
it says it's 100% instead of 20% (http://wiki.guildwars2.com/wiki/Fragmentation_Shot)
not sure if this is the only one though
windwarrior
@windwarrior
Jan 27 2016 23:54
@codemasher I cannot seem to find it tho
ah
@Archomeda, hmm, lemmie check that. I might be parsing it wrong or something
codemasher @codemasher has a map of the API subforum
Archomeda
@Archomeda
Jan 27 2016 23:56
it also has a flip_skill entry, but i don't think there should be one? or maybe i'm remembering it incorrectly
oh god that would not surprise me
flip_skill bits are madness
Archomeda
@Archomeda
Jan 27 2016 23:56
can't check what it's referring too, it gives me a 502 atm
should be back up in ~20 minutes :/
rip hotfixes
smiley
@codemasher
Jan 27 2016 23:57
"zeeZ/location_server.py
Created 3 years ago"
wow, it's been a while...
windwarrior
@windwarrior
Jan 27 2016 23:57
so; if someone really wants to know when a hotfix will be deployed, just curl the API every minute or so, you will hear it 10m early :smile:
if that's a problem I can have the build/deploy steps adjusted :P
windwarrior
@windwarrior
Jan 27 2016 23:58
@codemasher it does look nice indeed // edit: waauw you can edit messages, facebook needs this
Archomeda
@Archomeda
Jan 27 2016 23:59
haha, rip my website that's using both /v2/skills and /v2/traits XD