[General] Making MMOG logic

Joined
Mar 19, 2009
Messages
2
Reaction score
0
Hi,
I'm making a game sort of like dofus(http://www.youtube.com/watch?v=6Jk9UuYX1ek - gameplay video). This is my first time making a server, even though my goal is just a game for me and my friends to play, I would like to make a strong server that is able to support a large amount of players.

So this is my initial design so far:
*updated
izackrp - [General] Making MMOG logic - RaGEZONE Forums


If anyone more experience has suggestions for improvement, I would appreciate it :)

additional information:
left and right loops will be in separate threads
and command queue of course will use a lock method
lastly, cri = Criteria
 
I was thinking the info it needs to send back would be at the end of commands that needed it...

Wow, I just noticed a big problem. Locking the queue could make some lag... maybe I should make the queues in "pairs". One would be executed while the other gets written, almost like a screen buffer.

If anyone has examples of their own servers that would be great!
 
Back