These are chat archives for arenanet/api-cdi

15th
Dec 2016
Archomeda
@Archomeda
Dec 15 2016 01:22
why did the title for being #1 in ranked pvp have to be God of PvP and not just God?
i love messing around with chat codes...
especially with the upgrade item ids... :smirk:
why do copy-pasted chat links never work for me
Archomeda
@Archomeda
Dec 15 2016 01:31
what are you trying?
wvw objective chat link
maybe I have the wrong ids or something
i'll figure it out tomorrow
Archomeda
@Archomeda
Dec 15 2016 01:32
which objective? lemme see if i can successfully get one
wait... how are the wvw objective ids being handled? i recall you mentioning that ids can be the same?
Archomeda
@Archomeda
Dec 15 2016 01:37
oh wait... the wiki doesn't actually mention how the wvw objective links work
hmm... link format seems easy enough to figure out...
Byte 0 1-5 6-9
Value 0x0C Objective ID Map ID
smiley
@codemasher
Dec 15 2016 16:27
oh, thanks for #329, @lye!
btw. the ids for skill_challenges have been around for a while - did you change something here?
Archomeda
@Archomeda
Dec 15 2016 18:09
rip my guild
Gw2-64_2016-12-15_19-08-02.png
Jonathan Andrist
@rwfrk_twitter
Dec 15 2016 18:10
Arch. its probably just your connection to the server. I'm having major problems here all of a sudden. Website timing out. Login server doing the same. You NA?
Archomeda
@Archomeda
Dec 15 2016 18:10
EU
Jonathan Andrist
@rwfrk_twitter
Dec 15 2016 18:10
Guild stuff is a seperate data connection AFAIK
Archomeda
@Archomeda
Dec 15 2016 18:10
3/5 guilds are fine, just the last two have issues
but yeah, gem store and tp seems to be on :fire: as well
ChieftainAlex
@ChieftainAlex
Dec 15 2016 18:12
gw2w is down simulateously@
Archomeda
@Archomeda
Dec 15 2016 18:13
:fire::fire::fire::fire::fire:
ChieftainAlex
@ChieftainAlex
Dec 15 2016 18:13
or was
darthmaim
@darthmaim
Dec 15 2016 18:13
:fire:
Archomeda
@Archomeda
Dec 15 2016 18:13
wait, wtf gitter
don't upload my image again
Jonathan Andrist
@rwfrk_twitter
Dec 15 2016 18:14
Most API sits I check are on :fire: as well. Probably a route. Denmark is hosting the only API site I see functioning.
Archomeda
@Archomeda
Dec 15 2016 18:19
seems everything is fine again in my client
is there just 1 guild server, or are guilds spread across various servers?
seeing that 2/5 of my guilds were rip and the others were fine
Pat Cavit
@tivac
Dec 15 2016 19:10
We were DDOS in dallas for a bit
guilds are spread across a bunch of different servers for scaling reasons
Archomeda
@Archomeda
Dec 15 2016 19:12
:unamused: DDOS
windwarrior
@windwarrior
Dec 15 2016 20:28
I dont get why you want to DDoS game infra
@codemasher no I just neglected to close out the issue because it went live while I was away
smiley
@codemasher
Dec 15 2016 20:45
yeah, suspected something like that :D
Darqam
@Darqam
Dec 15 2016 21:03
I'm looking at /v2/achievements/index.js and see a note of a "prerequisites" array. Yet I can't seem to find that in any API entry, was this recently added, or just never made it in?
Lemme double-check the code
Darqam
@Darqam
Dec 15 2016 21:04
@lye, I'm a derp. Just found it in https://api.guildwars2.com/v2/achievements/2419
prerequisites : ach.prereq_id ? [ ach.prereq_id ] : undefined,
Darqam
@Darqam
Dec 15 2016 21:05
yeah that
I think it's really infrequent
Darqam
@Darqam
Dec 15 2016 21:06
that would explain why I was confused when I saw it on the docs
might be better to default it to an empty array, I dunno
kind of lazy to change it
Darqam
@Darqam
Dec 15 2016 21:06
meh, I'll just make a note of it on the wiki, personally that's enough for me
Apologies for being picky again, but I assume "required_access" for achievements/categories is not in use? I'd imagine to see it for example in HoT story achievs category (https://api.guildwars2.com/v2/achievements/categories/104)
uhh hmm
doesn't look like that field is actually set, lemme look around a bit
Darqam
@Darqam
Dec 15 2016 21:12
It is used for dailies: https://api.guildwars2.com/v2/achievements/daily, but not for categories it seems
darthmaim
@darthmaim
Dec 15 2016 21:13
yep, no category currently has required_access set
the code only puts it on dailies
Darqam
@Darqam
Dec 15 2016 21:14
ok, thanks for confirming that
the flag is only set on rotating achievements; I think the intent is to give different dailies to people who can't get into the maps required for the default ones
this might actually be a bug
since there are achievement categories that are rotating, not just dailies
(e.g., "fractal dailies" category)
Darqam
@Darqam
Dec 15 2016 21:15
well, I imagine that at some point it was intended to be there, since it's mentioned on "v2/achievements/categories.js", but it doesn't seem to actually be present there
looking at the live data, the only ones that have the field set are the new daily categories
and none of those are restricted to HoT only for some reason
windwarrior
@windwarrior
Dec 15 2016 21:19
well you gotta have HoT to even be able to enter
true
windwarrior
@windwarrior
Dec 15 2016 21:20
not defensive programming, but there is a wall there :P
I think the intent of the required_access field on the game side is to provide alternatives
if there are no alternatives (because the entire map is inaccessible) it kind of makes sense not to bother
Archomeda
@Archomeda
Dec 15 2016 21:21
wow, i just got one of the cleanest xera kills :O
Darqam
@Darqam
Dec 15 2016 21:21
so is the required_access meant to show that the achievement "requires", say , HoT to complete if marked? Because if that's the case, then it isn't asigning it correctly
Archomeda
@Archomeda
Dec 15 2016 21:21
in pugs
Darqam
@Darqam
Dec 15 2016 21:22
if you look at today's dailies, the last few entries are wintersday stuff, no HoT required (I think...)
@Darqam not really; it's a terrible name, but it means that the achievement doesn't exist for you if you don't have HoT
Darqam
@Darqam
Dec 15 2016 21:22
ah gotcha
like in today's dailies, 2924 requires HoT
Darqam
@Darqam
Dec 15 2016 21:23
oh ok, yeah I see it now. there are the 2 lternatives
if you don't have HoT you'll get 1964 instead on your daily list (which requires you to not have HoT)
it's kind of a cluster
Archomeda
@Archomeda
Dec 15 2016 21:23
oh boy... i can't wait for the next expansion to fuck it even up more @lye :P
the original intent was that you could pull /v2/account.access and then just .filter the dailies based on the value of the former
@Archomeda well okay so I don't think it'll be that bad
Archomeda
@Archomeda
Dec 15 2016 21:24
;D
like the workflow as described works regardless of the number of expansions
so I'm not that worried about it
darthmaim
@darthmaim
Dec 15 2016 21:24
yet
Darqam
@Darqam
Dec 15 2016 21:25
XD
listen I got plenty of stuff already to worry about :P
Archomeda
@Archomeda
Dec 15 2016 21:25
what about /v2/account and .access? :P
what about it
:confused:
Archomeda
@Archomeda
Dec 15 2016 21:25
it really depends on your expansion release style
oh
oh
Archomeda
@Archomeda
Dec 15 2016 21:25
but if you're gonna sell expansions separately... well, that property is not an array
combinatorics
HoT HoT+2 2
we can do this
Archomeda
@Archomeda
Dec 15 2016 21:26
rofl
Darqam
@Darqam
Dec 15 2016 21:26
oh boy......
just gonna punt that little bad boy down the line
future lye's gonna be pissed tho
Archomeda
@Archomeda
Dec 15 2016 21:27
1 expansion: 1 option, 2 expansions: 3 options, 3 expansions: 6 options, 4 expansions: 10 options (right?)
i forgot that math mostly
I see a lot of excitation marks though!
darthmaim
@darthmaim
Dec 15 2016 21:30
shouldn't it just be 2^n?
windwarrior
@windwarrior
Dec 15 2016 21:30
you see how big GW2's world is if you have to redo worldcompletion ;_;
Archomeda
@Archomeda
Dec 15 2016 21:30
yeah, i can mostly only remember that triangle :P
Archomeda
@Archomeda
Dec 15 2016 21:31
@darthmaim i think you'll get duplicates like HoT+2 and 2+HoT if you do that
(2^n)-1 since we don't allow banned accounts to use the API anymore
darthmaim
@darthmaim
Dec 15 2016 21:31
nope, sets are unordered
Archomeda
@Archomeda
Dec 15 2016 21:31
hmm
but that would make sense -- since every expac doubles the number of combinations
darthmaim
@darthmaim
Dec 15 2016 21:32
well, you always have the core game, so its 2^(expansioncount)
core game = expac0
darthmaim
@darthmaim
Dec 15 2016 21:32
well then -1
to exclude the empty set
it's (2^n)-1
because currently you have 3
wait
it's too early for math
Archomeda
@Archomeda
Dec 15 2016 21:33
it's too late for math for me
lye @lye lets sleeping dogs lie
windwarrior
@windwarrior
Dec 15 2016 21:33
in practice there will be slim to no instances where an achievement requires HoT+2 tho
like both
Darqam
@Darqam
Dec 15 2016 21:33
except there will be at least 1, and will thus require it
darthmaim
@darthmaim
Dec 15 2016 21:33
you never know with anet "game designers"
windwarrior
@windwarrior
Dec 15 2016 21:34
{'error': '@lye could not comprehend how to do this achievement, therefore it is unavailable'}
Darqam
@Darqam
Dec 15 2016 21:34
achievement title: "Travel the world", description: "Walk in Dragon Stand, Divinity's Reach, and <new map> within one game session"
darthmaim
@darthmaim
Dec 15 2016 21:34
{"error":"TODO (soon™)"}
{"error":"ErrOnTheTable"}
windwarrior
@windwarrior
Dec 15 2016 21:59
for completeness sake there should also be an ErrOffTheTable then
Nothing is off the table
darthmaim
@darthmaim
Dec 15 2016 22:00
{"error": "(╯°□°)╯︵ ┻━┻"}
Archomeda
@Archomeda
Dec 15 2016 22:02
i've had enough with pvp again
urgh
windwarrior
@windwarrior
Dec 15 2016 22:02
the table must hold the answer
anet has the answer to our existance, they just need to clean their table enough to find it
Darqam
@Darqam
Dec 15 2016 22:06
@darthmaim , I'm really looking forward to seeing that error popup somewhere
default error message :D
Darqam
@Darqam
Dec 15 2016 22:12
this is a good error catching method, very explicit and easy to understand
smiley
@codemasher
Dec 15 2016 22:25
btw @lye aree you aware of this? https://rawgit.com/GW2Wiki/widget-map-floors/master/examples/example.html (hint: more weird continent_rect)
hmm
are you talking about the mastery points/adventures not being transformed properly?
smiley
@codemasher
Dec 15 2016 22:26
no, the continent_rect for the region in the first map
looks fine to me?
smiley
@codemasher
Dec 15 2016 22:27
sure?
that it doesn't cover the bitterfrost is like
not a problem?
smiley
@codemasher
Dec 15 2016 22:27
blob
sec
i can't repro that with my leaflet bit
oh hmm,
looking
smiley
@codemasher
Dec 15 2016 22:30
it's the same like with the wvw continent_rect
#308 i think
the label coord is at least correct :>
this is most likely a content problem -- opening up the data now to see what it looks like
yeah that's how it is in content
smiley
@codemasher
Dec 15 2016 22:35
ew
#410 for it
smiley
@codemasher
Dec 15 2016 22:38
:+1:
smiley
@codemasher
Dec 15 2016 22:50
blob
i'm unsure whether it's the tile getter or the rectangle is quite small
the root of all evil
this region stretches from orr to the EotN and from maguuma to ascalon
(so basically all tyria)
blob
smiley
@codemasher
Dec 15 2016 23:02
(btw. the sector bounds were the best thing ever :D)
:>
smiley
@codemasher
Dec 15 2016 23:51
speaking of it - i think #58 can be closed :D
#61 can be merged into #62