• Advertisement
Sign in to follow this  

General Server Design Question

This topic is 3040 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Alright you've all played MMORPG's such as WoW, Half Life, LOTRO, Ever Quest, etc etc. Now most of the MMO's have a server design something like this [Master Server] [Realm Server] basically the clients connect to the master first to login an then go to a selected realm. Now what I am asking is how is this done? I have a idea on how this could be done but I'd like a few insights on how it would be best to be done. here is how I think it could be done. Client->Connection to MS Client->Sends Login Info to MS MS->Checks Databank then sends Client info to Client Client->retrieves the info an does whatever MS->Sends Realm List with Status Client->Picks Realm and Disconnects from MS Realm->retrieves player information from MS and Client an does whatever Now am I way off here?

Share this post


Link to post
Share on other sites
Advertisement
hello I make game server in S.korea.
your idea is close to practical design of game server.
but most of game server have lot more than just two server(like master, game, npc etc..) to achieve things like speed, security issue, memory issue and so on..

I think there is no right answer to server design.
we just trying to make better(and also faster, more safe...) server.

merry x-mas.

:)

Share this post


Link to post
Share on other sites
You're pretty much right on target - the process you described is a fairly good match of how it's generally done.

Typically, the role of the master server is to authenticate the player (possibly providing some form of token which can be used to sign on to the "realm" server, to avoid repeating the often complex authentication process) and provide the client with the list of available shards (realms in WoW speak).

Share this post


Link to post
Share on other sites
So this Token concept to show that the player is logged in would be something similar to a cookie in PHP? saying that hey this client is logged in it's a real account an we can let it choose a realm.

Share this post


Link to post
Share on other sites
Look for "Kerberos" for the original implementation of the token-based authentication concept. Or read my article in Game Programming Gems 7 on authentication for multiplayer games :-)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement