Back to Majik 3D MMORPG information archive main page.
forum index

Online RPG

Message 2058

From: guest
Date: 2002-09-22 22:08:29


Just out of curiosity? Does anyone know how to create an rpg for online use instead of single player offline?

Message 2059

From: Archantes
Date: 2002-09-22 23:26:31
In-Reply-To: 2058


This indeed is a place to ask that.. I had to read the question couple of times to make sure I got it right.

Message 2063

From: Yendor
Date: 2002-09-23 13:27:29
In-Reply-To: 2058


I guess there is someone who can do stuff like that. I wouldn't be reading about all those MMORPGs on the net if there wasn't.
But in our team? Well I really hope so, because we are creating one. No point in creating an online rpg if no-one knows how to do it, unless you learn how to do it.

Message 2071

From: yorkaturr
Date: 2002-09-24 08:29:39
In-Reply-To: 2058


First you need a server, then you need clients. The client is the software on the player's machine, and the server is run by the people who create the game.

Clients connect to the server, and the server sends updates to the clients, notifying them of changes. The clients also send the server requests for things they'd like to do, and the server replies, generally with "Ok, you just did that", or "Sorry, no can do", which is then processed through an enormous amount of handling code that's only purpose is to somehow translate this information into something the person running the client can understand, such as graphics or text. The significant network protocols here are TCP/IP and UDP.

The system to learn is called "sockets", which has to do with connectivity. The server usually has a listening socket that accepts connections, and the client has a connecting socket that connects on demand. This is a fairly easy issue once you learn some programming first. I'd recommend an excellent book on the subject called "UNIX Network Programming" by W. Richard Stevens. I don't think I myself have read any other books pertaining to socket programming, and I'm doing this stuff for a living...

For a newcomer, I'd recommend first learning a proper programming language, like C, C++ or Java, then checking out MudOS or some other type of MUD driver. MUD drivers can take you pretty far in the concepts of game implementation itself, without having to worry about sockets, and several reference implementations are available.

Message 2073

From: hook
Date: 2002-09-24 09:03:46
In-Reply-To: 2058


Does anyone know how to create an rpg for online use instead of single player offline?

no