Sign in to follow this  
coder84

Several questions about MMORPG development

Recommended Posts

Hi everybody! I'm working on a medieval fantasy small-scale MMORPG, using XNA GSE 1.0. As a matter of fact, I'm still making the design documents. But before continuing, I would like to understand how the Server side, the Client side and the Database interact with each other. What does the Server take care of, what does the Database stores, etc. Specifically I would like to know how the Server deals with the Client, how it controls every creature of the game, where the instances are stored (if they are stored in the Server or in some kind of Instance Database, creating a row for each object in the game). Anticipated thanks!

Share this post


Link to post
Share on other sites
Those are big questions and there are no simple answers.

The server does everything that affects multiple people. The client does the rest. However, there are other considerations like security, synchronization, and bandwidth issues that strongly affect where things are done.

The database stores all the persistent information. However, there are different levels are persistence, so it is not really that simple. Also, security, synchronization, and bandwidth issues strongly affect what is stored in the database.

Share this post


Link to post
Share on other sites
I'm in the middle of a design doc that calls for three individual servers:

Chatserver: keeps it separate from the game client, so it can be dumped/refreshed if need be without halting the game. Connecting on TCP.

DB Server: keeps all stats and world item locations, fewer calls to this server as a character only needs to update the server when a stat changes or a client needs a zone update. Connected as well on TCP.

Gameserver (actual server-side game engine): handles AI, collision, combat resolution, location, and mundane "game" tasks that aren't explicitly database fields. Connects on UDP as it can afford to lose info it will update again in 25ms.

Of course, all three also communicate to eachother on a separate NIC, as the gameserver needs to pull database info frequently and the client can interact with the environment via the chat console ("/" commands)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this