These are chat archives for arenanet/api-cdi

15th
Jul 2017
bingo. https://snag.gy/G6LqhX.jpg
also, that finding highlighted something...
https://snag.gy/7WTMSn.jpg
:)
Archomeda
@Archomeda
Jul 15 2017 15:38 UTC
oh nice!
interesting that the ? and ! are cut off at the right side though
that's what the second pic is about, tested it ingame :)
Archomeda
@Archomeda
Jul 15 2017 15:39 UTC
eh
am i missing something in the second image then? :D
the questionmarks are cut off :)
Archomeda
@Archomeda
Jul 15 2017 15:40 UTC
yeah, but that's also in the first one
also, the ] has it too
seems like you're missing a pixel or something
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 UTC
hmm
wait
oh that's not taco :D
Archomeda
@Archomeda
Jul 15 2017 15:41 UTC
you mean the second image is actually text from the client?
yes.
Archomeda
@Archomeda
Jul 15 2017 15:41 UTC
ahh
now i understand haah
now i can never unsee those missing pixels ingame
anet pls fix
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 :)
well, not without additional development.
Archomeda
@Archomeda
Jul 15 2017 15:49 UTC
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 UTC
they better not touch that heron though
Archomeda
@Archomeda
Jul 15 2017 15:50 UTC
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 UTC
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 UTC
@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 UTC
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 UTC
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 UTC
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 UTC
eh.....
api says
"region_id": 5,
"region_name": "Tarnished Coast",
not steamspur mountains for sparkfly
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:08 UTC
now check continents.
Archomeda
@Archomeda
Jul 15 2017 17:08 UTC
oh fml
the URL
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:08 UTC
Seems like a bit of a concidence with undead textures?
Archomeda
@Archomeda
Jul 15 2017 17:08 UTC
yup well... it used to be the same :P
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:09 UTC
:P
solved the code
Sparkfly Cove here we come
undead karka
undead vinetouched karka!
Archomeda
@Archomeda
Jul 15 2017 17:09 UTC
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 UTC
wouldn't worry about it
not many people like prodding maps to death
Archomeda
@Archomeda
Jul 15 2017 17:11 UTC
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 UTC
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 UTC
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 UTC
okay just opened your map wow ^
all that colour
Archomeda
@Archomeda
Jul 15 2017 17:14 UTC
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 UTC
actually I'm totally wrong and Mount Maelstom has been broken for a while
Archomeda
@Archomeda
Jul 15 2017 17:14 UTC
it used to only return public maps
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:14 UTC
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 UTC
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 UTC
maybe continents just needs regenerating?
Archomeda
@Archomeda
Jul 15 2017 17:19 UTC
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 UTC
not sure which conversation you're referencing
Archomeda
@Archomeda
Jul 15 2017 17:20 UTC
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 UTC
if Steamspur Mountains was a default, these freaks would have regions
Archomeda
@Archomeda
Jul 15 2017 17:24 UTC
:point_up: 3 mei 2017 21:42
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:25 UTC
so your site uses v1, now I understand your pain in migrating.
Archomeda
@Archomeda
Jul 15 2017 17:25 UTC
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 UTC
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 UTC
probably
urgh, i'm now itching to create a new version
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:33 UTC
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 UTC
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 UTC
it appears you created map_types so that you could add .map-label-city { font-style: italic; }
Archomeda
@Archomeda
Jul 15 2017 17:37 UTC
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 UTC
hey I could see they were italic without looking at the css :)
Archomeda
@Archomeda
Jul 15 2017 17:39 UTC
haha
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:39 UTC
fonts are nice
... did I just say times new roman was nice. wow time to go
Archomeda
@Archomeda
Jul 15 2017 17:41 UTC
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 UTC
i think i might have installed it locally when developing it, and completely forgot to actually include it as a webfont
hahahaha
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 UTC
i'm sure it was fine in win7
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 UTC
data mine information on samarog.
i'm working on fonts :)
ChieftainAlex
@ChieftainAlex
Jul 15 2017 17:49 UTC
yeah thought so :P
Archomeda
@Archomeda
Jul 15 2017 17:49 UTC
that one works
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 UTC
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 UTC
whatcha need help figuring out about them
Archomeda
@Archomeda
Jul 15 2017 18:07 UTC
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 UTC
yes many
Archomeda
@Archomeda
Jul 15 2017 18:09 UTC
oh wait haha, apparently i already filtered metadata.type
JC123
@JC123
Jul 15 2017 18:09 UTC
PackContentTypeInfo has that but its only in the first file
Archomeda
@Archomeda
Jul 15 2017 18:11 UTC
wait, first file as in, only the first cntc file?
JC123
@JC123
Jul 15 2017 18:11 UTC
yes
Archomeda
@Archomeda
Jul 15 2017 18:12 UTC
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 UTC
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 UTC

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 UTC
gw291.jpg
the things you find with preview skin codes
"pistol"
Darqam
@Darqam
Jul 15 2017 22:13 UTC
seems like a legit pistol
maybe a bit small
JamEngulfer
@JamEngulfer
Jul 15 2017 22:55 UTC
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