Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 08-31-2006, 08:33 PM   #1
Baseband Member
 
Dnsgm's Avatar
 
Join Date: Jan 2006
Posts: 61
Default how to make a MMORPG

Hey everyone,
I've been programming a long time now, and now I want to make a MMORPG.
So how do I exactly connect the Client with the Server?
__________________

Dnsgm is offline   Reply With Quote
Old 09-01-2006, 08:56 PM   #2
Golden Master
 
borat_sagdiyev's Avatar
 
Join Date: Feb 2006
Posts: 8,986
Send a message via AIM to borat_sagdiyev Send a message via MSN to borat_sagdiyev
Default Re: how to make a MMORPG

are you even done making the game? lol
__________________

__________________
Core 2 Duo e4500 2.2ghz @ 2.8ghz
evga 650i ultra
2gb 400mhz ram OC'ed to 450
evga geforce 7600GT overclocked
borat_sagdiyev is offline   Reply With Quote
Old 09-02-2006, 06:03 PM   #3
Baseband Member
 
Dnsgm's Avatar
 
Join Date: Jan 2006
Posts: 61
Default Re: how to make a MMORPG

Not exactly, but whipping up one isn't the problem. We're only worried about connecting the Server with the Client.
Dnsgm is offline   Reply With Quote
Old 09-04-2006, 07:48 AM   #4
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 7,999
Default Re: how to make a MMORPG

Connecting the client with the server isn't realy a problem, the best thing I can say is check out how to do socket programming,

Basically you set up a server to listen for connections on a certain port, ou then set up a client to make connections on that port, you establish a connection and transfer data accordingly.
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 09-04-2006, 06:25 PM   #5
Baseband Member
 
Dnsgm's Avatar
 
Join Date: Jan 2006
Posts: 61
Default Re: how to make a MMORPG

Where would it be best for us to start off with this socket programming? and how should we approach it?
Dnsgm is offline   Reply With Quote
Old 09-04-2006, 06:35 PM   #6
BSOD
 
MarxSoccer's Avatar
 
Join Date: Jun 2005
Posts: 2,999
Send a message via ICQ to MarxSoccer Send a message via AIM to MarxSoccer Send a message via MSN to MarxSoccer Send a message via Yahoo to MarxSoccer
Default Re: how to make a MMORPG

What are you programming in?

What do you mean where to start or how to approach it.. Take a look at some games a PScode.com if you want, learn from the other source
MarxSoccer is offline   Reply With Quote
Old 09-04-2006, 07:59 PM   #7
Baseband Member
 
Dnsgm's Avatar
 
Join Date: Jan 2006
Posts: 61
Default Re: how to make a MMORPG

if you're taking about the actual game, we used visual basic, but as for the socket programming, we still don't know.

is socket programming like unix or C?
Dnsgm is offline   Reply With Quote
Old 09-05-2006, 05:40 AM   #8
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 7,999
Default Re: how to make a MMORPG

connections to sockets can be made with just about any program,

Visual basic has socket connection abilities, you need to look in the toolbox options, there is a winsock compnent that can be added to enable you to set up socket connections...

the server side could be written in any language, I think that Unix sockets in C are the easiest to deal with, but you might not think the same, it really depends on what you know.

have you decided what information you are going to send through the sockets yet? (e.g are you sending text and graphics if you can, or are you keeping network traffic to a minimum?)
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 09-05-2006, 06:49 PM   #9
Baseband Member
 
Dnsgm's Avatar
 
Join Date: Jan 2006
Posts: 61
Default Re: how to make a MMORPG

You're basically that both sides can understand each other even if the 2 are written in completely different languages?

Can you explain more of this Unix Sockets in C?

Yes, both Text and Graphics.
Dnsgm is offline   Reply With Quote
Old 09-07-2006, 06:25 AM   #10
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 7,999
Default Re: how to make a MMORPG

yes, both sides can understand each other even if they are written in different languages, that's how come you could make a web browser in VB and have to get information from an apache server written in C...

anyway...
Unix sockets. (I'm really not explaining everything, just giving you some stuff to google).

Unix sockets are Berkley Sockets. it's a standard open model for socket programming, (and one that is not available in windows).

There is a very standard way to set up a socket, basically you open the socket and have the socket listen for connections.

when the socket recieves a connection it creates what is called a fork, a new socket is created, (at a higher port usually), and the server send s a reply through the first socket telling the client to open the higher socket, (usually above port 1024), and the server then sends replies to the higher end of the socket, whilst recieving requests on it's regular service port.

ports are threaded, (fork basically means a new processor thread), this is how a server can both listen for new requests, and process and reply requests at the same time.
__________________

__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 01:01 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0