Skip to content

Initial GW2 WebSocket API Demo/PoC

Latest
Compare
Choose a tag to compare
@nightlark nightlark released this 05 Feb 08:21
  1. Download the gw2ws.dll file and inject it into the Guild Wars 2 process using your favorite method
    Inject it after reaching the character select screen
    If not sure how to inject a DLL, rename gw2ws.dll to gw2dps.dll and grab a copy of gw2dps.exe to inject it
    You will probably need to use the 32-bit Guild Wars 2 client, unless you want to build a 64-bit version of the gw2ws.dll (if you do, let me know!)
  2. Load http://nightlark.github.io/gw2ws/ in your browser after injecting gw2ws.dll
    For a list of some JSON requests to try, see https://gist.github.com/nightlark/d824c172b31d18870d1e
    Most but not all of the messages linked above are implemented
    The first message you should send is {"appName":"TestApp"} or similar to gain access to the rest of the commands; for ideal results, do this after logging into a character