Training
Learning path
Use advance techniques in canvas apps to perform custom updates and optimization - Training
Use advance techniques in canvas apps to perform custom updates and optimization
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
If your GDK game is setup to use Xbox Services but doesn't appear to be interacting with Xbox Services, examining the network traffic generated by your game can help determine where the problem is occuring.
In order see the network traffic from your game to xboxlive.com and the responses from xboxlive.com you'll need to install Fiddler.
Once you have Fiddler installed you can compare the network traffic for your game to the expected network traffic for the features of Xbox Services.
If your game has successfully signed in a user you should see a packet to userpresence.xboxlive.com that looks similar to this:
POST https://userpresence.xboxlive.com/users/xuid(2814616665093727)/devices/current/titles/current HTTP/1.1
where xuid(XXXXXX) is the Xbox User ID of your signed in test account.
If you don't see this packet try the following:
XBLPCSandbox.exe XDKS.1
If your game has successfully requested information on the status of achievements for your test account, you should see a packet to achievements.xboxlive.com that looks similar to this:
GET https://achievements.xboxlive.com/users/xuid(2814616665093727)/achievements?titleId=1794603332&orderBy=title HTTP/1.1
If the request was successful, the packet will have a response listing the current status of achievements for the test user for your game.
If your game has successfully updated an achievement for your test account, you should see a packet to achievements.xboxlive.com that looks similar to this:
POST https://achievements.xboxlive.com/users/xuid(2814616665093727)/achievements/00000000-0000-0000-0000-00006af77944/update HTTP/1.1
...
{"action":"progressUpdate","serviceConfigId":"00000000-0000-0000-0000-00006af77944","titleId":1794603332,"userId":"2814616665093727","achievements":[{"id":"1","percentComplete":100}]}
If you don't see these packets or you don't get the expected response:
Cloud Save calls don't necessarily generate network trafic immediately and instead cause the gamingservices process to send packets to titlestorage.xboxlive.com that look similar to this:
PUT https://titlestorage.xboxlive.com/connectedstorage/users/xuid(2814616665093727)/scids/00000000-0000-0000-0000-00006AF77944/lock HTTP/1.1
In order to see the network traffic from the gamingservices process in Fiddler, you'll need to redirect winhttp to Fiddler using the following command in a command shell with administrator privileges:
netsh winhttp set proxy localhost:8888
To clear the redirect, use the following command:
netsh winhttp reset proxy
Training
Learning path
Use advance techniques in canvas apps to perform custom updates and optimization - Training
Use advance techniques in canvas apps to perform custom updates and optimization