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

Party Join

Last post 10-03-2008 10:59 PM by Shawn Hargreaves. 5 replies.
  • 10-03-2008 7:46 PM

    Party Join

    Is there any way to create networked groups (parties) and have them join and move between hosts together (like Halo)?
  • 10-03-2008 8:12 PM In reply to

    Re: Party Join

    Today, no.

    With the upcoming Dashboard update:  http://www.gamasutra.com/php-bin/news_index.php?story=19411

     

    XNA Framework Developer - blog - homepage
  • 10-03-2008 8:13 PM In reply to

    Re: Party Join

    The problem is that XNA Game Studio doesn't allow you to be part of more than one game session at a time. While you could have the party leader collect everybody, and perhaps forward information about the session he chooses, there would have to be a lot of re-connect/dis-connect for this to work. You'd also have to have the host cooperating. Here's how I would see it working:

    1) Party leader hosts "party formation" lobby.

    2) When everybody is in the lobby, a random 32-bit number is generated (or a hash calculated from the gamertag of the leader).

    3) Everybody disconnects, and the leader starts choosing a network session to join.

    4) Once the leader joins, the network session gets re-published with one of the selection ints being the randomly generated int.

    5) Meanwhile, all party members would be waiting for a session that contains that integer.

    The experience for the others wanting to join that session would probably be bad, though, because I think you have to disconnect the current session to re-list it with new integer tags. In general, I think you don't quite have enough bits to make it work well using the current API. If you could host one session and join another session at the same time, then it would be simple, but sadly, that's not the case.

    Jon Watte, Direct3D MVP kW X-port 3ds Max .X exporter kW Animation source code
  • 10-03-2008 8:46 PM In reply to

    Re: Party Join

    I don't think it would be possible to create a good user experience by trying to implement something like this yourself.

    There is also no need to do so. Just make sure your game supports invites, then wait for the Dashboard update to be released.


    XNA Framework Developer - blog - homepage
  • 10-03-2008 10:08 PM In reply to

    Re: Party Join

    How does this work?  To move between sessions, does the party leader disconnect and join/host a new session and everyone else in the party automatically gets sent an invite? 

    If so is there any way to pass data between the party while in-between sessions.  What I am think of is a seamless mmorpg-ish type experience, allow the party to interact with each other (in the game world, beyond just voice) while joining the new session...  So instead of sitting a lobby screen the party might be traveling on a road or something, fighting bandits, while the network session is established in the background.. when established, a town is available to travel to.

  • 10-03-2008 10:59 PM In reply to

    Re: Party Join

    Sorry, I can't give you any more details about the upcoming Dashboard features more than what has been publicly announced elsewhere. I don't work on that team, and would get in major trouble if I started spilling details about their top secret new features :-)

    For details beyond what you can find in existing announcements, I'm afraid you will have to wait unitl this is released and you can try it out for yourself.

    XNA Framework Developer - blog - homepage
Page 1 of 1 (6 items) Previous Next