These are chat archives for arenanet/api-cdi

28th
Jul 2016
smiley
@codemasher
Jul 28 2016 00:00
i've drawn some lines on @lye's log :D
might need to get into pthreads to draw a smiley, though
Shii Kayano
@BryghtShadow
Jul 28 2016 00:02
Argh, I regret having my achievement panel open when dailies reset :< that massive game freeze
Archomeda
@Archomeda
Jul 28 2016 00:03
yeah, it's weird why that happens :<
smiley
@codemasher
Jul 28 2016 00:06
don't underestimate the power of the interwebs... :D https://twitter.com/MarkGraham/status/758439933589659649
inb4 Trump's gonna sue the internet archive
windwarrior
@windwarrior
Jul 28 2016 00:07
the daily gave me a black lion salvage kit :>
was just running low on those
Archomeda
@Archomeda
Jul 28 2016 00:09
i have no clue what you mean...
blkits.png
i used to joke about that i want to salvage my salvage kits for gems
windwarrior
@windwarrior
Jul 28 2016 00:18
'running low' as in 'some of my characters had only 10 strikes on theirs'
Archomeda
@Archomeda
Jul 28 2016 00:19
i thought of buying 5 shared inventory slots, but then i realized... let's wait a month and see what comes up in the anniversary sale
windwarrior
@windwarrior
Jul 28 2016 00:20
more excited about 4th bday gift
Archomeda
@Archomeda
Jul 28 2016 00:20
i won't get that one until october :(
smiley
@codemasher
Jul 28 2016 00:20

more excited about 4th bday gift

mini trahearne

Archomeda
@Archomeda
Jul 28 2016 00:20
lol
windwarrior
@windwarrior
Jul 28 2016 00:21
sort of hoping account bound choosy bl skin
that would be amazing
fused GS plox
Archomeda
@Archomeda
Jul 28 2016 00:21
omg yes
smiley
@codemasher
Jul 28 2016 00:21
(i'm still sitting on 10 mini queen jennah - from 8 characters.)
windwarrior
@windwarrior
Jul 28 2016 00:22
they might want to make that accbound tho, not charbound
smiley
@codemasher
Jul 28 2016 00:22
tbh, the free dye pack was cool
Shii Kayano
@BryghtShadow
Jul 28 2016 00:23
@lye https://api.guildwars2.com/v2/items/76848 has a description field but tooltips don't show it. Only the skin's tooltip shows it (skin has same description). Item descriptions normally show up in tooltips right...?
oh wow didn't even realize perplexity runes got nerfed: http://db.dulfy.net/item/44957
windwarrior
@windwarrior
Jul 28 2016 00:24
yeah the 6th bonus changed
@BryghtShadow I think they do, but it sounds like they're overridden by the skin's description.
Same way the icon works probably.
Actually I'm totally confused because there are items that definitely have description strings that are shown.
Archomeda
@Archomeda
Jul 28 2016 00:26
i just noticed, i still have minis in my material storage x)
it predates the api, so the api doesn't even show it :D
Shii Kayano
@BryghtShadow
Jul 28 2016 00:26
Hm, that's odd if so. Skin's descr isn't showing in item's tooltip either. pinged chat code for item and it 's not showing. Do I need to actually have the item and check tooltip on actual item?
I'm patching my local client so I can spawn one in and see
windwarrior
@windwarrior
Jul 28 2016 00:28
I have 192 ecto o.O
do.not.go.gamble.do.not.go.gamble
smiley
@codemasher
Jul 28 2016 00:29
i had 160 ecto and obsis too and i went to the eternal forgemaster and bought an armor :D
oh, wait. wrong game.
windwarrior
@windwarrior
Jul 28 2016 00:29
yeah diff game
smiley
@codemasher
Jul 28 2016 00:30
(i forgot the irony tags)
Shii Kayano
@BryghtShadow
Jul 28 2016 00:30
gambled and got back 1.8k in exchange for 300 ecto. that was a good day :P
Archomeda
@Archomeda
Jul 28 2016 00:30
oh god, i just noticed the pvp endpoints... those stats... NOOOOO, why does it have to remember me there as well that i only had 3 out of 11 wins for team arena? D:
it does that ingame too :(
hmm, gitter needs steam store embeds
@BryghtShadow in-game the item doesn't show a description
I wonder if the client only renders it if it's wrapped in a <c=flavor> tag or whatever
windwarrior
@windwarrior
Jul 28 2016 00:35
thats the blue text right
Shii Kayano
@BryghtShadow
Jul 28 2016 00:35
Yep, blue text. Gonna try to find equipment's without flavor descriptions and see if they show.
ohnoes the wiki doesn't semantically store backitem descriptions...
Eearslya Sleiarion
@Eearslya
Jul 28 2016 13:16
I should probably get back to updating the wiki's API pages..people are beginning to complain
smiley
@codemasher
Jul 28 2016 13:18
i'm totally for wikichu on gitter
[item:44957]
Eearslya Sleiarion
@Eearslya
Jul 28 2016 13:19
Can you make Gitter bots?
/item 44957
darthmaim
@darthmaim
Jul 28 2016 13:19
yes you can make gitter bots
I still want to make a reddit bot that detects chatcodes and links to gw2treasures and the wiki
I'm adding gitter to the list
Eearslya Sleiarion
@Eearslya
Jul 28 2016 13:25
Welp, here goes nothing. Probably gonna be working all day on these wiki pages XD
@lye Question..With unlocked recipes now becoming account-bound, is the recipes object on /v2/characters gonna move?
darthmaim
@darthmaim
Jul 28 2016 13:30
I have a /v2/account/recipes ready to go iirc
couldn't announce it because lol game features
Eearslya Sleiarion
@Eearslya
Jul 28 2016 13:30
oh good
darthmaim
@darthmaim
Jul 28 2016 13:32
But I'm guessing the one in /v2/characters is staying to not break any existing apps using it
smiley
@codemasher
Jul 28 2016 13:35
wait waht, you can actually make gitter bots?
darthmaim
@darthmaim
Jul 28 2016 13:36
pretty sure, yes
smiley
@codemasher
Jul 28 2016 13:36
(tbh i haven't even checked if there's an API... :D)
Eearslya Sleiarion
@Eearslya
Jul 28 2016 13:36
...Huh. /v2/characters title attribute is supposed to reference /v2/titlesright?
smiley
@codemasher
Jul 28 2016 13:37
i guess i would have found it on my own, but thanks, @darthmaim :D
Eearslya Sleiarion
@Eearslya
Jul 28 2016 13:38
Oh, nevermind, #323 answered my question.
darthmaim
@darthmaim
Jul 28 2016 13:47
gitter has a node packages that does all you need for a bot: https://github.com/gitterHQ/node-gitter
gitter.rooms.find('arenanet/api-cdi').then(function(room) {
  var events = room.streaming().chatMessages();

  events.on('chatMessages', function(message) {
    room.send('Hello World');
  });
});
Eearslya Sleiarion
@Eearslya
Jul 28 2016 13:48
Can you set up / commands with bots?
darthmaim
@darthmaim
Jul 28 2016 13:49
/no idea
smiley
@codemasher
Jul 28 2016 13:49
ok, that was easy - gitter support: https://smiley.codes/oauth/
darthmaim
@darthmaim
Jul 28 2016 13:49
but i guess so, since all unknown commands are send as messages
Eearslya Sleiarion
@Eearslya
Jul 28 2016 13:50
Does training require the builds permission?
Edgar Doiron
@Coffee4cr
Jul 28 2016 14:02
yeah you can make gitter bots pretty much like you can do discord bots
Archomeda
@Archomeda
Jul 28 2016 14:02
@Eearslya #327
go to the files tab
Eearslya Sleiarion
@Eearslya
Jul 28 2016 14:03
Ah, I was trying to look in the repo for it..That should be merged, it's live
Archomeda
@Archomeda
Jul 28 2016 14:04

This branch has conflicts that must be resolved

@lye :P

smiley
@codemasher
Jul 28 2016 14:11
--force
@Eearslya yes iirc
the github repo is a disaster right now qq
Eearslya Sleiarion
@Eearslya
Jul 28 2016 16:06
So is the wiki
so much information on one page
the whole endpoint needs an overhaul
it should have started split apart like /v2/account rather than all jam packed together
Archomeda
@Archomeda
Jul 28 2016 16:23
so... /v3? :smile:
Archomeda
@Archomeda
Jul 28 2016 16:33
so... anyone know the map reward rotation of bloodstone fen?
that blood ruby seems to have an awful rotation D:
Christian
@zeeZ
Jul 28 2016 17:11
waiting on a new batch of children to mine them
Archomeda
@Archomeda
Jul 28 2016 17:24
there was this at some point... but how? :(
highly likely it's pulled from the dat file
pretty sure that data is in the client dat
Archomeda
@Archomeda
Jul 28 2016 17:26
then the obvious question is, what am i looking for? although i doubt i'll get an answer to that :P
i have no idea how content is packed out, so i can't offer any advice
maybe figure out who wrote that page and send them an email? :>
at some point I should probably put the map reward tracks on /v2/maps, but I'm gonna be out for all of august so it won't happen for a long while
and i like to figure stuff out myself... if i can
i may or may not have an automated history of the .dat file structures starting from march last year...
actually, that's all thanks to rhoot's repo :P
heh
Archomeda
@Archomeda
Jul 28 2016 17:31
i think
oh no wait, it's from https://github.com/ahom/gw2_reverse
well close enough i suppose
that codebase is funny
Archomeda
@Archomeda
Jul 28 2016 17:34
meh, i only took the .idc file
#ifdef __cplusplus
/* snip */
try { /* ... */ }
/* snip */
#endif
Archomeda
@Archomeda
Jul 28 2016 17:35
and adapted it
but i'm pretty sure that rhoot had the original repo though
and ahom forked it
sounds right to me
windwarrior
@windwarrior
Jul 28 2016 17:35
ieeuw, C/C++ hybrid?
it's just C++
C has no try statement
windwarrior
@windwarrior
Jul 28 2016 17:36
yeah, but if I das't define __cplusplus, will it compile on C :P?
Archomeda
@Archomeda
Jul 28 2016 17:37
nvm, it only seems that rhoot had a pr there, oh well w/e
@windwarrior __cplusplus is defined by the C++ compiler :P
Archomeda
@Archomeda
Jul 28 2016 17:37
but, that's actually quite funny yeah
windwarrior
@windwarrior
Jul 28 2016 17:38
ahh, I dont C/C++, undefined behaviour scares me
C/C++ is a total misnomer -- they're wildly different languages
it would take a lot of work to compile modern C99 in C++
windwarrior
@windwarrior
Jul 28 2016 17:40
I'm set on learning Rust, feels like a better approach to low level programming
for example, designated initializers aren't valid C++ syntax
struct foo_t {
    int bar;
    const char * baz;
};

struct foo_t foo = {
    .bar = 42,
    .baz = "asd",
};
Archomeda
@Archomeda
Jul 28 2016 17:40
oh great... even if i can't figure it out on my own, it seems that /u/_atoi has deleted his account >_>
yeah :D
@windwarrior I really like rust as a language, but the stdlib and ecosystem is a pile of garbage
really basic things like "parse a relative URL" are horrible
windwarrior
@windwarrior
Jul 28 2016 17:42
well, that can be fixed
and for networking bits you're basically stuck with MIO if you want any kind of scalability, and MIO basically goes balls to the wall sacrificing usability for scalability
(e.g, MIO is allocation-free which is totally unnecessary -- it's the best possible case but fairly unwieldy because of it)
@windwarrior sure it can; but I'm looking to make specific things which don't include an entire universe
I think it would be really cool to implement the universe from scratch with rust but ENOTIME
windwarrior
@windwarrior
Jul 28 2016 17:44
well rust is a young language which is starting to get traction in the Firefox world as of a few weeks ago
sure
windwarrior
@windwarrior
Jul 28 2016 17:44
if it turns out that the STDlib is as crap as you call it, I am fairly certain rust's std can be replaced
but Go was a young language a few years back and didn't have that particular complaint from me
oh yeah there's a -nostd (or something similar) flag you can pass to rustc
it's mostly used for embedded stuff where you don't want, say, dynamic allocation at all
windwarrior
@windwarrior
Jul 28 2016 17:46
yeah, I've seen some interesting build-my-own-operating-system work with it
smiley
@codemasher
Jul 28 2016 17:58
oh cool, i've just killed virtualbox by switching off my camera which was connected via usb...
Heads up -- just updated the CloudFront configuration for tiles.guildwars2.com and I don't know if I did it correctly
smiley
@codemasher
Jul 28 2016 17:59
heh
windwarrior
@windwarrior
Jul 28 2016 17:59
so long for staging
hey I staged it locally and verified the generated tile data was sane
AWS is just complicated and stuff
smiley
@codemasher
Jul 28 2016 18:00
:Daka "works on my machine"
how did that smiley get in front of that text? it was the last thing i typed
windwarrior
@windwarrior
Jul 28 2016 18:01
the internet tubes ate your character order /s
smiley
@codemasher
Jul 28 2016 18:02
weird stuff going on
new tiles should be accessible; looks like nothing broke
smiley
@codemasher
Jul 28 2016 18:18
.png too?
NOPE JUST JPG
</3
smiley
@codemasher
Jul 28 2016 18:18
aww
http://wiki.guildwars2.com/wiki/Bloodstone_Fen yay the map actually shows something now
ChieftainAlex
@ChieftainAlex
Jul 28 2016 18:31
nice, thanks for updating the tiles.
so tiles are up and /continents/ aren't yet
(at least for me)
wait what's wrong with /v2/continents/?
@codemasher CloudFront says the cache invalidation is complete; lemmie check that
ChieftainAlex
@ChieftainAlex
Jul 28 2016 18:36
@lye - I thought you said the removal of the undeclared floors would appear in today's patch
smiley
@codemasher
Jul 28 2016 18:36
might take a while until the tiles are on the cdn maybe
@ChieftainAlex oh I haven't done that yet; integrating that change to live now
smiley
@codemasher
Jul 28 2016 18:37
i've regular tile outages of a couple minutes to hours when tiles are refreshed
@codemasher maybe; might be a local cache as well
wait that long?
ChieftainAlex
@ChieftainAlex
Jul 28 2016 18:37
my bad, i forget sometimes that it's still early afternoon for you guys
smiley
@codemasher
Jul 28 2016 18:37
last time it was in the range of a few hours
not all tiles, though
and they usually pop up one by one
that's super weird; I flushed chrome's cache and didn't have issues fetching the new tiles
I wonder what's up with that
ChieftainAlex
@ChieftainAlex
Jul 28 2016 18:39
Is there a simple way to capture ingame coordinates? I have the feeling that mumble-link is involved .. but I think that walking to diving goggles ingame might be quicker than finding them on a gw2timer map
mumble link is the only technically supported way I can think of
ChieftainAlex
@ChieftainAlex
Jul 28 2016 18:40
digital string
I know there's a dev command that'll put your location in the chat window but I'm pretty sure you have to have GM rights to use it
ChieftainAlex
@ChieftainAlex
Jul 28 2016 18:40
suppose that isn't enabled on stage
darthmaim
@darthmaim
Jul 28 2016 18:40
Thats one of the wvw tiles: https://tiles.guildwars2.com/2/3/7/33/47.jpg
returns this for me:
<Error>
    <Code>AccessDenied</Code>
    <Message>Access Denied</Message>
    <RequestId>29BF810DAED15AB0</RequestId>
    <HostId>
        p34c9d0e1Bi+2vUlZcCI7VXkbUva2XvWJc6NPUMpTJwfqoE01ynVjmKVW6TYT8gj6YV7q7lJOME=
    </HostId>
</Error>
ChieftainAlex
@ChieftainAlex
Jul 28 2016 18:40
for regular users on stage*
AFAIK it isn't
actually if you have access to that ./worldstate I think does it?
it might be enabled for everyone on non-live branches; not sure
smiley
@codemasher
Jul 28 2016 18:41
wvwtiles.png
@darthmaim oh fuck, hmm
ChieftainAlex
@ChieftainAlex
Jul 28 2016 18:42
thanks lye I'll give it a shot
@darthmaim that's a 404 against my local copy of the tiles
so it's not a configuration issue, at least
ChieftainAlex
@ChieftainAlex
Jul 28 2016 18:43
tragic. Guess I need to learn about mumble then
ugh and continent 2, floor 7 is legacy of the foefire; why the hell
smiley
@codemasher
Jul 28 2016 18:44
it's region 7
wvw
derp right
smiley
@codemasher
Jul 28 2016 18:44
:P
know yer apis
ChieftainAlex
@ChieftainAlex
Jul 28 2016 18:46
stop embedding stuff lol
@darthmaim okay, I think what the issue is is that the WvW continent resized again
floor 3 doesn't extend down that far anymore
smiley
@codemasher
Jul 28 2016 18:47
(testing the gitter css fixes :P)
(it's why I had to do this: arenanet/api-cdi@db79bfe )
smiley
@codemasher
Jul 28 2016 18:48
oh now that you say it
is that an actual thing? can i take zoom levels from the metadata now?
yes
smiley
@codemasher
Jul 28 2016 18:48
<3
PRESUMING that I don't suck and keep the tiles updated
smiley
@codemasher
Jul 28 2016 18:49
lmao
since we seem to enjoy changing the sizes, at least
I wrote myself some documentation this time around so it should be pretty straightforward to do in the future
smiley
@codemasher
Jul 28 2016 18:49
yea, the mappers seem to be into a lot weird stuff :D
like putting maguuma maps into the shiverpeak mountains
what´about this? is this a bug? a workaround? or something you better not tell?
as per usual, I have literally no idea
did they really not make a new region
(just deployed new code)
  • Unconditionally expose PoI floor.
  • Add support for alt repr of guild favor.
  • Un-hide /v2/account/recipes.
ChieftainAlex
@ChieftainAlex
Jul 28 2016 19:04
great.
windwarrior
@windwarrior
Jul 28 2016 19:05
its 5PM somewhere indeed
I was tempted to push it out at 7PM last night but thought better of it
Archomeda
@Archomeda
Jul 28 2016 19:05
@ChieftainAlex i made a simple application that reads everything from the mumble link api a while ago
i can upload it somewhere if you want
ChieftainAlex
@ChieftainAlex
Jul 28 2016 19:06
that would be amazing if you could
looking at the forum post and seeing all these uncompiled bits of string
Archomeda
@Archomeda
Jul 28 2016 19:08
urgh, can't remember my mediafire login details
windwarrior
@windwarrior
Jul 28 2016 19:09
just gist it?
does this work?
oh
gitter upload worked too
it's source + compiled
written in c#
smiley
@codemasher
Jul 28 2016 19:13
@lye that maguuma <> shiverpeaks thing exists literally since the first new maps were introduced
huh, I dunno then :/
smiley
@codemasher
Jul 28 2016 19:14
iunno what went wrong - i, among others reported it back then, but nothing ever happened
maybe knowledge of how to create new regions was lost in the sands of time
smiley
@codemasher
Jul 28 2016 19:14
not even a explanation why it is that way (and probably can't be fixed)
maybe they're intentionally in the shiverpeaks as a tribute to eir
smiley
@codemasher
Jul 28 2016 19:14
heh
or wait, it was tarnished coast, not maguuma
anyway, it was long before tha API even existed
Archomeda
@Archomeda
Jul 28 2016 19:18
@ChieftainAlex i hope it still works, if not, let me know
currently busy at trio :P
Edgar Doiron
@Coffee4cr
Jul 28 2016 19:18
maybe knowledge of how to create new regions was lost in the sands of time
ChieftainAlex
@ChieftainAlex
Jul 28 2016 19:19
@Archomeda thanks, just got off the phone - looks like its picked up my character's location perfectly
position coordinates are X Y Z right?
Archomeda
@Archomeda
Jul 28 2016 19:21
should be
ChieftainAlex
@ChieftainAlex
Jul 28 2016 19:21
now to visit every set of diving goggles..
:D
Archomeda
@Archomeda
Jul 28 2016 19:22
it's been a while since i last looked at it
smiley
@codemasher
Jul 28 2016 19:24
(8.12.2012)
and someone asked for this - i just don't know whether it was here or somewhere else https://forum-en.guildwars2.com/forum/community/creations/High-Resolution-Zone-Maps-PvE
better than the bad quality JPGs that the API provides
shots fired
ChieftainAlex
@ChieftainAlex
Jul 28 2016 19:33
This message was deleted
smiley
@codemasher
Jul 28 2016 19:35
no seriously?
ChieftainAlex
@ChieftainAlex
Jul 28 2016 19:38
badly phrased that, long day, he either missed or the bullets are creeping very slowly
windwarrior
@windwarrior
Jul 28 2016 19:39
matthias is broken :'(
smiley
@codemasher
Jul 28 2016 19:39
yea, sounded worrying, hope he's ok :D
<- fan of his work
smiley
@codemasher
Jul 28 2016 19:56
btw. any furter opinions on this? otherwise imma close this due to the lack of response. GW2Wiki/widget-map-floors#12
I run an old version of safari on my ipad
but ima stay out of this one
smiley
@codemasher
Jul 28 2016 19:58
lmao

esp. this

spark a public discussion for everyone on the wiki to participate. During this discussion will also turn out whether there are problems in browser/JS support.

David Reeß
@queicherius
Jul 28 2016 21:42
The eternal struggle of refreshing the wiki page for hours until it'll eventually accepts the changes, whenever the black lion skins update... :<
smiley
@codemasher
Jul 28 2016 21:53