These are chat archives for arenanet/api-cdi

17th
Apr 2018
BoyC
@BoyC
Apr 17 2018 10:11
hm. here's an idea - connecting taco with gw2nodes.com somehow.
now that would be cool :)
Archomeda
@Archomeda
Apr 17 2018 12:18
Haha, I had that idea as well ;)
Well, rather thinking as, wouldn't that be awesome
If gw2nodes has an API that you can make use of, to get and post locations... hmm
BoyC
@BoyC
Apr 17 2018 12:20
does it? and if it does, does it support 3d location data? what should happen to node locations that only have 2d data?
but yeah :)
Archomeda
@Archomeda
Apr 17 2018 12:20
Although, I did notice some time ago that there were 2 map instances hosted on the same IP. Did anyone of you notice that?
BoyC
@BoyC
Apr 17 2018 12:20
there's a unique map instance id in the mumble data that's better suited to this
Archomeda
@Archomeda
Apr 17 2018 12:21
Well, I don't see anything while glancing at it. It was just me theorizing about if it did have an API :P
BoyC
@BoyC
Apr 17 2018 12:21
thing is... there's no way of keeping people from trolling it to hell
Archomeda
@Archomeda
Apr 17 2018 12:22
One thing you can do if it only has 2D data (which I'm sure of because it's a 2D map), you can make TacO have a light beam like the commander markers
Yeah, that's a true fact :(
BoyC
@BoyC
Apr 17 2018 12:23
unless the stored marker also stores the account name that placed it and it can be banned
Archomeda
@Archomeda
Apr 17 2018 12:23
That's a possibility
BoyC
@BoyC
Apr 17 2018 12:23
meh here i go again thinking about a centralized database for taco markers
bad boyc. bad.
Archomeda
@Archomeda
Apr 17 2018 12:24
Although I would say have it hashed otherwise people will complain about security and privacy again
and lol
I mean, it would definitely be nice...
BoyC
@BoyC
Apr 17 2018 12:25
i mean i do have the domain now...
Archomeda
@Archomeda
Apr 17 2018 12:25
But it's not going to be made in one night
BoyC
@BoyC
Apr 17 2018 12:25
actually if i had a server, a friend of mine could put this together in no time
but yeah... let's keep it as an idea for now
Archomeda
@Archomeda
Apr 17 2018 12:26
I think if you are going to do this, having it integrated with nodes might be a good first beta for it
BoyC
@BoyC
Apr 17 2018 12:26
a way of doing this would be for taco to report all "f" presses to the server from everyone and if in a given location there's more than 2 then have it show up
darthmaim
@darthmaim
Apr 17 2018 12:52
btw, I'm still kinda working on the website
just had so much other stuff to do the last few weeks
didn't get much done
BoyC
@BoyC
Apr 17 2018 12:53
yeah i get it, same here
darthmaim
@darthmaim
Apr 17 2018 12:53
And I'm always trying out new technologies when doing a new project, so I spent most of the time so far with testing out stuff and reading docs :D
darthmaim
@darthmaim
Apr 17 2018 13:05
I will try to do some more this weekend
Archomeda
@Archomeda
Apr 17 2018 13:05
:D
That's how you discover new things
darthmaim
@darthmaim
Apr 17 2018 13:05
But I also found some motivation again to work on our build editor, so I've been doing that the last few days
BoyC
@BoyC
Apr 17 2018 13:06
i just realized that i have no taco usage stats
even though taco checks in the devblog to check the latest build id on startup, the analytics stuff doesn't catch that since that'd require the site to be executed not just downloaded
darthmaim
@darthmaim
Apr 17 2018 13:43
Maybe I'm just ditching all the new stuff and get something up and running this weekend with tech I know
Would be nice to have that website
BoyC
@BoyC
Apr 17 2018 13:44
yeah
would you be willing to do this position data agglomeration and spreading api too?
(and host it)
darthmaim
@darthmaim
Apr 17 2018 13:45
sure
BoyC
@BoyC
Apr 17 2018 13:46
let's talk about it then sometime this week
darthmaim
@darthmaim
Apr 17 2018 13:46
:+1:
BoyC
@BoyC
Apr 17 2018 13:46
i have some work meetings coming up right now
Ryan Mast
@nightlark
Apr 17 2018 15:14
I wonder how you'd be able to tell what it was they pressed "f" for -- isn't that key used for a lot of different actions?
Archomeda
@Archomeda
Apr 17 2018 15:21
Probably impossible
Would be nice if you can the character state somehow, but that requires memory reading / hooking
Ryan Mast
@nightlark
Apr 17 2018 15:22
Gotta chat with Monsieur Cleary about that.
Archomeda
@Archomeda
Apr 17 2018 15:23
Yeah, I still have a conversation from a couple of months back that's pending his response
Ryan Mast
@nightlark
Apr 17 2018 15:25
Oh, about getting character state?
Archomeda
@Archomeda
Apr 17 2018 15:25
No, about the addon loader I'm developing
Ryan Mast
@nightlark
Apr 17 2018 15:26
Ah, like a d3d9 dll that chainloads any other addons someone wants?
Archomeda
@Archomeda
Apr 17 2018 15:26
Yes
With a few other benefits
Ryan Mast
@nightlark
Apr 17 2018 15:26
Some tricky cases with that...
Archomeda
@Archomeda
Apr 17 2018 15:27
Absolutely
Ryan Mast
@nightlark
Apr 17 2018 15:28
I guess the corner cases with chainloading are't as bad as if they're hooking the d3d9 functions in an already running process.
Archomeda
@Archomeda
Apr 17 2018 15:28
I made a proof of concept a while ago with addons that are specifically made for the addon loader; recently I've been looking at supporting addons that don't know the existence of the loader
ReShade is the worst offender really
I'm still baffled at how it handles certain things and why it's needed
Ryan Mast
@nightlark
Apr 17 2018 15:29
Like what?
Archomeda
@Archomeda
Apr 17 2018 15:30
It lazily hooks functions
Well, it has the capability or something; I still haven't figured it out
I guess this also explains why Gw2Hook is needed that circumvents certain rehooks
Whenever a new map is loaded
At least I made it somehow working to have ReShade not overwrite my hooks right now
So basically I'm in control whenever ReShade gets the D3D9 calls
Ryan Mast
@nightlark
Apr 17 2018 15:32
Oh the installing hook stuff
Archomeda
@Archomeda
Apr 17 2018 15:33
ReShade tries to hook d3d9.dll functions from system; the loader intercepts that by detecting whenever the system d3d9 is requested and replacing it by a proxy d3d9 that is provided by the loader
Right now it's only working to not have ReShade (or any other addon for that matter) overwrite the hooks, but I've yet to make it working to properly redirect the calls
Ah well, that's where I stopped for a few weeks :')
Ryan Mast
@nightlark
Apr 17 2018 15:36
It seems like the loader could be fairly "game-agnostic" (for d3d9 games).
Archomeda
@Archomeda
Apr 17 2018 16:13
Oh! Does anyone here still remember that we wanted a client side websocket API in Guild Wars 2? But that was put on hold indefinitely because SSL/TLS?
Apparently it's submitted as a request for Firefox to lift the SSL/TLS restriction for localhost websockets
And apparently in Chrome it's already done
:dance:
Archomeda
@Archomeda
Apr 17 2018 16:23

Dropbox's website uses a WebSocket connection to communicate with the Dropbox desktop application on localhost. This works in Chrome, but Dropbox must use a Flash proxy to bypass Firefox's WebSocket localhost restrictions.

It still frightens me how Flash can bypass a lot of stuff.

BoyC
@BoyC
Apr 17 2018 17:44
what i'd do is collect statistics on "f" presses and only mark the hotspots
and give the ability for players to send feedback on the hotspots
essentially crowdsource the thing
BoyC
@BoyC
Apr 17 2018 18:08
oh hey 10$ taco donation <3