XNA Creators Club Online
Page 1 of 1 (7 items)
Sort Posts: Previous Next

Can't retrieve Gamer Picture through System-Link

Last post 04-25-2008 11:35 PM by Twanks. 6 replies.
  • 04-19-2008 1:59 PM

    Can't retrieve Gamer Picture through System-Link

    Using the following code I retrieve Gamer Pictures and display them in the Network Lobby.

    foreach (NetworkGamer gamer in session.AllGamers)
    {
    GamerProfile gamerProfile = gamer.GetProfile();
    Texture2D picture = gamerProfile.GamerPicture;
    }
    One of my debugging machines is my Xbox 360 with the gamertag that has my Creator's Club subscription and the other is a PC with a local account created. I get an exception when the PC tries to join the room created on the Xbox 360 saying a live profile is required. When retrieving the Gamer Picture does XNA retrieve it from the Xbox Live servers or does it transfer locally over the network? If anyone knows a way around this it would be a great help because I can't purchase another Creator's Club subscription.
    "I believe the best social program is a job." - Ronald Reagan
  • 04-21-2008 1:31 PM In reply to

    Re: Can't retrieve Gamer Picture through System-Link

    All the gamer profile information (picture, motto, gamer zone, etc) is queried from the Live servers, so this is not available for local profiles or guests.
    XNA Framework Developer - blog - homepage
  • 04-21-2008 4:32 PM In reply to

    Re: Can't retrieve Gamer Picture through System-Link

    Do you need a CC account for getting the information to use in a System Link game even if you are only using System Link (not Live matchmaking).

    So:

    If the local profile on the PC was signed up for a Silver Live account and no Creators Club, would it be able to pull the information, or would it have to have the CC subscription attached?

  • 04-21-2008 5:01 PM In reply to

    Re: Can't retrieve Gamer Picture through System-Link

    You need a Creators Club subscription to sign any kind of Live profile into an XNA Framework game.
    XNA Framework Developer - blog - homepage
  • 04-24-2008 12:02 AM In reply to

    Re: Can't retrieve Gamer Picture through System-Link

    That's what I thought, so I guess I will have to comment out the code until I finish my game. Thanks for replying.
    "I believe the best social program is a job." - Ronald Reagan
  • 04-24-2008 11:35 AM In reply to

    Re: Can't retrieve Gamer Picture through System-Link

    You can leave the code in, just catch the exception if the profile data is not available so your game can try this but then recover gracefully if it encounters an error.
    XNA Framework Developer - blog - homepage
  • 04-25-2008 11:35 PM In reply to

    Re: Can't retrieve Gamer Picture through System-Link

    That makes sense, thanks for the tip.

    "I believe the best social program is a job." - Ronald Reagan
Page 1 of 1 (7 items) Previous Next
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG