Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi, I want to make an internet (High speed) game, I don't know what is it (it maybe chess, billiards, poker, yugi dueling...) I don't have a problem with games I can make it but my problem that I don't have a server to make this online multiplayer game, is there a way to make it without having a server? Please help me (my game will be a vb.net program or c#) I want it just to send and receive info (some words (less than 1000 char)) and the game will understood the words and make actions (sorry for my bad ENG)
Posted
Updated 7-Sep-12 5:33am
v2

1 solution

You cant create a MMOG or MMORPG without using a Server,but you can create a simple two player game by keeping one of your player as the server.

Let me put an idea here.You create a executable which playe one opens to play the game.
1. Player 1 starts the game and generates the invitation token,ip address and port information and sends out invitation to other player using email.

2. Player 2 takes this information from email and feeds into the executable which inturn connects using TCP/IP to the ip address and port.

3. Now when the Player 1 executable receives the commincation from Player 2 it verifies the identity using the authentication token.

4.Once authentication comples they are conencted using TCP/IP Socket and continue playing.

Disadvantages:

1. Need Static IP's
2. Firewall need to be open for the Port exposed.
3. Email authentication is not reliable form.
 
Share this answer
 
v2
Comments
Abed AlSayed 7-Sep-12 13:52pm    
I have some qustions:
1- is this the fastest way to share data?
2- What should I do to Create it?
3- And how I can get more info about MMOG or MMORPG?
4- Is there a better way to make it with 8 players?
Ashraff Ali Wahab 7-Sep-12 14:09pm    
1. Yes this is the fastest way - having a Socket open between two systems is the fastest way.
2. Try creating a chat program fist within the same machine with different port in C#.Test it in two different machine in same network and try out in internet.Then you'll get an idea how this stuff works.
3.http://en.wikipedia.org/wiki/Mmorpg
4.With more players go for a Server approach.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900