These are chat archives for arenanet/api-cdi

15th
Jul 2017
BoyC
@BoyC
Jul 15 2017 15:28
bingo. https://snag.gy/G6LqhX.jpg
also, that finding highlighted something...
https://snag.gy/7WTMSn.jpg
:)
Archomeda
@Archomeda
Jul 15 2017 15:38
oh nice!
interesting that the ? and ! are cut off at the right side though
BoyC
@BoyC
Jul 15 2017 15:39
that's what the second pic is about, tested it ingame :)
Archomeda
@Archomeda
Jul 15 2017 15:39
eh
am i missing something in the second image then? :D
BoyC
@BoyC
Jul 15 2017 15:40
the questionmarks are cut off :)
Archomeda
@Archomeda
Jul 15 2017 15:40
yeah, but that's also in the first one
also, the ] has it too
seems like you're missing a pixel or something
BoyC
@BoyC
Jul 15 2017 15:41
yeah but the first is from my decompressor - it's just interesting to validate these things ingame as well
Archomeda
@Archomeda
Jul 15 2017 15:41
hmm
wait
BoyC
@BoyC
Jul 15 2017 15:41
oh that's not taco :D
Archomeda
@Archomeda
Jul 15 2017 15:41
you mean the second image is actually text from the client?
BoyC
@BoyC
Jul 15 2017 15:41
yes.
Archomeda
@Archomeda
Jul 15 2017 15:41
ahh
now i understand haah
now i can never unsee those missing pixels ingame
anet pls fix
BoyC
@BoyC
Jul 15 2017 15:43
i've been working on text rendering for the last 6ish months at work
i'll never be able to unsee some of the stuff i see now everywhere
be thankful it's just a couple questionmarks ingame :D
also, i learned that the gw2 font format doesn't support characters rasterized at larger than 256x256, which will probably be enough for 4k, but there won't ever be an 8k compatible interface size that's quaranteed :)
BoyC
@BoyC
Jul 15 2017 15:48
well, not without additional development.
Archomeda
@Archomeda
Jul 15 2017 15:49
if gw2 is there in the next 5 years, anet really needs to look into supporting scaling interfaces
sadly, i think it also requires some 2d assets to be re-done in higher resolutions
Darqam
@Darqam
Jul 15 2017 15:50
they better not touch that heron though
Archomeda
@Archomeda
Jul 15 2017 15:50
well, that is, if there aren't any higher resolutions locally in their office that don't show up in the client
smiley
@codemasher
Jul 15 2017 16:07
array(5) {
  '$endpoint' =>
  string(38) "https://api.guildwars2.com/v2/account "
  '$params' =>
  array(1) {
    'access_token' =>
    string(72) "A19F56BD-D78B-3A47-81F0-6D5720C30DE215937399-1668-4FBC-95A7-3C6AB355E4BA"
  }
  '$method' =>
  string(3) "GET"
  '$body' =>
  NULL
  '$headers' =>
  array(0) {
  }
}

array(8) {
  'httpversion' =>
  string(3) "1.1"
  'statuscode' =>
  int(400)
  'statustext' =>
  string(11) "Bad Request"
  'content-type' =>
  string(27) "text/html; charset=us-ascii"
  'server' =>
  string(21) "Microsoft-HTTPAPI/2.0"
  'date' =>
  string(29) "Sat, 15 Jul 2017 16:06:11 GMT"
  'connection' =>
  string(5) "close"
  'content-length' =>
  string(3) "311"
}
sup here? D:
auth via header Bearer... works fine tho
oh nvm, found it
you too? :D
(hint: trim is a useful function)
ChieftainAlex
@ChieftainAlex
Jul 15 2017 16:51
@lye :fire: continents api
better check someone didn't mess up the map id first I suppose
Okay maps says Sparkfly is 53. Continents doesn't have Sparkfly Fen anymore 53 is missing. What :(
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:03
Ahaha
Sparkfly Fen has been moved to a different region, i.e. 8, Steamspur Mountains. shaman was wrong perhaps..
maybe someone is fixing smiley's region rectangles lol
Archomeda
@Archomeda
Jul 15 2017 17:05
eh, didn't sparkfly fen always belong to steamspur mountains on the api?
it's just ingame that it's maguuma jungle
iirc
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:06
pretty certain that the map widget on https://wiki.guildwars2.com/index.php?title=Sparkfly_Fen used to work.
mismatch on regions now seems to suggest something in the background is changing
maybe new map southwest :D
Archomeda
@Archomeda
Jul 15 2017 17:07
eh.....
api says
"region_id": 5,
"region_name": "Tarnished Coast",
not steamspur mountains for sparkfly
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:08
now check continents.
Archomeda
@Archomeda
Jul 15 2017 17:08
oh fml
the URL
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:08
Seems like a bit of a concidence with undead textures?
Archomeda
@Archomeda
Jul 15 2017 17:08
yup well... it used to be the same :P
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:09
:P
solved the code
Sparkfly Cove here we come
undead karka
BoyC
@BoyC
Jul 15 2017 17:09
undead vinetouched karka!
Archomeda
@Archomeda
Jul 15 2017 17:09
but gave up when i couldn't filter non-public maps
and now you can, and i never bothered to update the code
because i don't even know what i wrote there
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:10
wouldn't worry about it
not many people like prodding maps to death
Archomeda
@Archomeda
Jul 15 2017 17:11
anyhow, sparkfly is tarnished coast indeed, just as the maguuma jungle on the west...
also, that map to the right of sparkfly... eh
what's that map called again?
is tarnished coast now too, used to be steamspur mountains as well afaik
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:12
all this time we've been looking at item endpoint diffs, and the map diffs are sailing on by
Archomeda
@Archomeda
Jul 15 2017 17:13
btw, it seems like all the instances have their proper regions now too
at least, from what i can tell with those map boundaries being semi-transparent
aka the same color
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:13
okay just opened your map wow ^
all that colour
Archomeda
@Archomeda
Jul 15 2017 17:14
i think most instances used to have the region steamspur mountains assigned, even though they were in kryta for example
yeah :P
it broke when the api v1 endpoint returned all maps in /v1/map_names.json
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:14
actually I'm totally wrong and Mount Maelstom has been broken for a while
Archomeda
@Archomeda
Jul 15 2017 17:14
it used to only return public maps
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:14
arenanet/api-cdi#545 is a bit like a diff
part of me thinks all these api anomalies are just fancy testcases that made it into live.
Archomeda
@Archomeda
Jul 15 2017 17:17
having a quick search on https://api.guildwars2.com/v2/maps?ids=all, it doesn't seem to have a match on Steamspur Mountains anymore
iirc lye mentioned that steamspur mountains was possibly the default value
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:19
maybe continents just needs regenerating?
Archomeda
@Archomeda
Jul 15 2017 17:19
also, didn't he mention that there were actually two values and one endpoint was using A while the other using B?
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:20
not sure which conversation you're referencing
Archomeda
@Archomeda
Jul 15 2017 17:20
but, i think that was before /v2/maps was showing the correct values
at least, i assume those are correct
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:21
if Steamspur Mountains was a default, these freaks would have regions
Archomeda
@Archomeda
Jul 15 2017 17:24
:point_up: 3 mei 2017 21:42
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:25
so your site uses v1, now I understand your pain in migrating.
Archomeda
@Archomeda
Jul 15 2017 17:25
at that time, v2 didn't have maps yet
well, i think
can't remember
github says last commit was november 2014
i wanted to make a completely new version... but, it's been a long time since i last looked at whatever i wrote and/or used back then
also wtf... there are maps/instances without regions..?
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:28
yes hence my grumbles
I'd probably edit line 217, add + " map-label-type-" + map_type + add var map_type = map.type a bit above it
then stick some checkboxes in to match on .map-label-type-Public and .map-label-type-Instance
Archomeda
@Archomeda
Jul 15 2017 17:32
probably
urgh, i'm now itching to create a new version
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:33
lol
different maps had their own individual types?..
you'd still need that actually >_>
no difference between public cities and public zones
Archomeda
@Archomeda
Jul 15 2017 17:34
that's how i separated them before it was in the API
well fair
i don't even know what i used it for
i think it just has a different css
yeah no fuck it, i'm not creating a new version right now :P
i wish someone else can make something better than i did
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:37
it appears you created map_types so that you could add .map-label-city { font-style: italic; }
Archomeda
@Archomeda
Jul 15 2017 17:37
yeah
i was looking through the css
but through all that mess you can't even see the cities anymore :D
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:38
hey I could see they were italic without looking at the css :)
Archomeda
@Archomeda
Jul 15 2017 17:39
haha
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:39
fonts are nice
... did I just say times new roman was nice. wow time to go
Archomeda
@Archomeda
Jul 15 2017 17:41
it's Menomonia
eh
is it actually included lol
i can't find anything besides that i tried setting it
rip me
Archomeda
@Archomeda
Jul 15 2017 17:47
i think i might have installed it locally when developing it, and completely forgot to actually include it as a webfont
hahahaha
BoyC
@BoyC
Jul 15 2017 17:48
yeah i mentioned that a couple days ago, those ttfs are weird
i'm guessing it's because they are missing the font name
there are proper versions around
Archomeda
@Archomeda
Jul 15 2017 17:48
i'm sure it was fine in win7
BoyC
@BoyC
Jul 15 2017 17:48
interesting
hm unsure if i should go raid (samarog cm training) or just continue with the data mining
decisions, decisions
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:49
data mine information on samarog.
BoyC
@BoyC
Jul 15 2017 17:49
i'm working on fonts :)
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:49
yeah thought so :P
Archomeda
@Archomeda
Jul 15 2017 17:49
that one works
BoyC
@BoyC
Jul 15 2017 17:50
i have the font image data format figured out for the most part, now i need to find the position, kerning and charrange information so it's actually usable
Archomeda
@Archomeda
Jul 15 2017 18:03
cool ^^
i decided to take another look at something again as well
cntc files are a pain haha
JC123
@JC123
Jul 15 2017 18:05
whatcha need help figuring out about them
Archomeda
@Archomeda
Jul 15 2017 18:07
with my own .bt file i made a while back :joy:
anyhow, i suppose there are multiple entry types in there
JC123
@JC123
Jul 15 2017 18:08
yes many
Archomeda
@Archomeda
Jul 15 2017 18:09
oh wait haha, apparently i already filtered metadata.type
JC123
@JC123
Jul 15 2017 18:09
PackContentTypeInfo has that but its only in the first file
Archomeda
@Archomeda
Jul 15 2017 18:11
wait, first file as in, only the first cntc file?
JC123
@JC123
Jul 15 2017 18:11
yes
Archomeda
@Archomeda
Jul 15 2017 18:12
well, that explains why i never got that property out of the files i was working with
gitter, why do you reload so often lately...
Eearslya Sleiarion
@Eearslya
Jul 15 2017 18:31
I'm way late to this, but I know that the "No one hears you." text is if you speak in guild with nobody else online
smiley
@codemasher
Jul 15 2017 18:36

lmao (from the vimeo api docs)

Scraping
Don’t make a bunch of calls all at the same time. Spread them out over a longer period so it doesn’t look like you’re scraping.

ChieftainAlex
@ChieftainAlex
Jul 15 2017 22:07
gw291.jpg
the things you find with preview skin codes
"pistol"
Darqam
@Darqam
Jul 15 2017 22:13
seems like a legit pistol
maybe a bit small
JamEngulfer
@JamEngulfer
Jul 15 2017 22:55
Omg, thank you so much for putting in /v2/commerce/delivery. That's made my life so much easier
The same goes for the two gem conversion endpoints