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

How to test multiplayer network game locally?

Last post 11/13/2009 4:50 PM by Shawn Hargreaves. 7 replies.
  • 6/25/2009 9:23 AM

    How to test multiplayer network game locally?

    Hi,
    We're working on a multiplayer game, however we've run into some problems testing. I just realized we need to launch the game on two computers to be able to test it, however it seems I cannot use the same gamer tag (or Live account if you will) for both clients. What exactly do we need to test?

    I've got a paid XNA creators club membership. The other developer has a Windows Live ID and a gamer tag. When we try to launch the Client/Server example on two machines on the local network we get an error message stating that no game sessions can be found.

    Any ideas?

    --Mike
  • 6/25/2009 11:07 AM In reply to

    Re: How to test multiplayer network game locally?

    Set the networking to be in system link mode, you can then use any two profiles to play over the network. (You can create local profiles in the windows live software and use these as well).

    -Gregg
  • 6/25/2009 2:15 PM In reply to

    Re: How to test multiplayer network game locally?

    SystemLink is the way to go here. In order to test Live networking, you need two Gold Xbox LIVE accounts and two Creators Club memberships. The good news is that SystemLink and Live network sessions are supposed to match in every way (other than the few listed here, lag being the most obvious) so if you get networking over SystemLink working you should be OK when it comes to testing over Live (which is most easily done when you submit for Playtest).
    dadoogames.com Curling 2010 is in playtest now - give it a try!
  • 6/26/2009 8:26 AM In reply to

    Re: How to test multiplayer network game locally?

    Thanks for the answers! We got it working here, on the local network. As mentioned you need two gamer profiles, which can be created locally. What got us wondering is why its so difficult to find information on how to create a local gamer profile, I only found one reference on how to do this on this forum and even then we got into a bit of a hen-egg problem of needing to log onto a profile to be able to sign out to create a new local profile.

    --Mike
  • 11/10/2009 9:47 PM In reply to
    • (6)
    • premium membership
    • Posts 6

    Re: How to test multiplayer network game locally?

    Hello, I actually have the same question.  Here's my scenario...I have two Xbox live Gold accounts, and only one XNA license.  When I ran the game, I was able to log on and sign into live with the gold/xna accounts.  However, when I tried logging into using my other gold/non-xna account, it complained that it wasn't an XNA enabled account?!  Any advice on how to get this resolved would be greatly appreciated.

    Edit: BTW, I did use System link in my code.

    Edit 2: ACK!  Looking a few posts above...so I *WILL* need two XNA enabled accounts?
  • 11/11/2009 4:50 PM In reply to

    Re: How to test multiplayer network game locally?

    ReyMS:
    Edit 2: ACK!  Looking a few posts above...so I *WILL* need two XNA enabled accounts?


    If you want to run on two Xboxes, yes.

    You can test on PC without any special subscriptions as long as you use a local rather than LIVE profile.
    XNA Framework Developer - blog - homepage
  • 11/12/2009 9:51 PM In reply to
    • (6)
    • premium membership
    • Posts 6

    Re: How to test multiplayer network game locally?

    Shawn Hargreaves:
    ReyMS:
    Edit 2: ACK!  Looking a few posts above...so I *WILL* need two XNA enabled accounts?


    If you want to run on two Xboxes, yes.

    You can test on PC without any special subscriptions as long as you use a local rather than LIVE profile.


    Hrm...interesting.  When I ran the game on my PC and tried using my non-XNA gold account, I got a runtime error and the message said it wasn't an XNA account?!  I don't have the exact error message but that's what I understood it to be the cause.  I'll try again when I get home.  Thanks Shawn!
  • 11/13/2009 4:50 PM In reply to

    Re: How to test multiplayer network game locally?

    You can't use a gold account without a Creators Club subscription, but for system link you can use a purely local account which has no connection to LIVE at all.
    XNA Framework Developer - blog - homepage
Page 1 of 1 (8 items) Previous Next