|
|
|
|||||||
| Development Discussions All developers who are coding games may stop by here for any help, suggestions, and everything development related. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#21 (permalink) |
|
Zuner
Join Date: May 2008
Posts: 63
Reputation: 11
Donate |
Hang on a second, the code you used is
LocalNetworkGamer gamer in networkSession.LocalGamers Didn't it say somewhere that Zune is SystemLink which is NetworkGamer, not LocalNetworkGamer? Man, I spent like 3 hours trying to get this to work with NetworkGamer because I thought that <_<
|
|
|
|
| Remove Advertisements Sponsored Links | |
Advertisement |
|
|
|
#24 (permalink) |
|
Developper
zB Programmer
Experienced Zuner Join Date: May 2008
Location: Québec, Canada!
Posts: 104
Reputation: 25
Donate |
You should clean your code a little ionman :P
I specially like this part or 99% useless code : Code:
Color background = Color.Gray;
switch (this.multiplayerRole)
{
case MultiplayerRole.None:
background = Color.Black;
break;
case MultiplayerRole.Server:
background = Color.Black ;
break;
case MultiplayerRole.Client:
background = Color.Black;
break;
}
graphics.GraphicsDevice.Clear(background);
update : VERY IMPORTANT FIND!: When the wireless is turned off in the zune parameters, a NetworkException is created on this code : AvailableNetworkSessionCollection availableSessions = NetworkSession.EndFind(result); (line 173) You need to add a try{} catch{} in case the wireless is turned off on the Zune! I though it would turn on the wireless in case a game requests a network connection but it doesn't seem like it, also I believe you cannot turn it on with the XNA framework!
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. My website is down! Temporary download link : To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. Feel free to contact me to get my msn/gtalk address if you develop games, I love to help and I know a lot about programming! To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. Last edited by Khao : 05-14-2008 at 10:16 AM.
|
|
|
|
|
|
#26 (permalink) | |
|
Support Team
Expert Zuner Join Date: Nov 2007
Posts: 2,516
Reputation: 122
Donate |
Quote:
__________________
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. ![]()
|
|
|
|
|
|
|
#28 (permalink) |
|
Zuner
Join Date: Aug 2007
Posts: 65
Reputation: 11
Donate |
This is a little off topic, however, this is a great example of how swell this community is!
Also, I'll try to put this into that one gues zEtch a sketch, maybe it could be a whiteboard type thing too! Can't wait to get ma zune! |
|
|
|
![]() |
| Thread Tools | |
|
|
| |