davytse
Neophyte
1 Posts |
Posted - Oct 29 2006 : 3:39:49 PM
|
The answer of this question I have searched for a long time on the web but no answser till now. May you help me ?
My party is using VB6 + DirectX8 + MySQL developing a game, most of the technical problems are solved but stucked on the "Lobby".
Our party is a non-professional team which developing game for own interests, so we using VB but we don't know how to apply the lobby concept (Also the code). Our game is a multi-player chess-liked game, all players login then stay in the lobby. While a player found other players in the lobby, they start game. So we decided to have a "Lobby" in game and should use the "Lobby" of DirectPlay, do my consideration correct ?
In this condition, a player will have at least two connections, one is connected to the server and the other(s) is(are) connected to other player(s). If I use the Lobby concept, is the connection between the server and player a S2C connection ? Also, are the players in P2P connection which I decided for? How the code will be applied ?
Also, how to send information to those client(player) from the server, when the client(player) is behind a rounter/gateway? Thanks for your helping hand in advance! |
|
PW7962
Squire
USA
33 Posts |
Posted - Oct 30 2006 : 4:13:50 PM
|
1) If I understand your first question, it sounds like a good idea, though I have never looked at the DirectPlay lobby, it also wouldn't be too hard to create your own lobby if you wanted to.
2) Now you should choose if you want to have S2C or P2P, I don't see why you'd need both. If you do use the lobby then as far as I know you have to use a server that can handle all the messages. I don't understand what your asking in the 2nd question of this part, and what are you looking to code for the 3rd question S2C or P2P?
3) To do this you might need to use a port that is already opened, or have them work around the router.
|
Star Fantasy Unlimited Programmer
http://starfantasy.forumer.com |
|
|
|
|