Okay, I’ve been reading the forums and pouring through posts and trying to figure out exactly how I should go about setting up my game networking and I really have come up with a lot of different answers and I’m not really positive which one I should go with or what would work best… so I figured I would ask here.
Basically the game I want to create would require the following:
Players create accounts that are stored in a database. They can log in to the client and will then enter a game lobby. This lobby would basically be a chat room and a place where players could create “rooms” to play in. The chat room would need to allow hundreds of players to chat with eachother, though it could be broken into channels if necessary. (probably more convenient for players anyway since trying to talk when 1000 people are talking wouldn’t work too well) So let’s just assume 100 players per chat channel.
When a player creates a room, they are taken to a room lobby for that particular room, and other players can join that room (from the main lobby which would list the rooms). Once all players are ready in the room, they would then go to an instanced map and play the game with eachother there (totally isolated from people in the main lobby and from everyone else)
The server needs to be secure and would need to host the games. So the player who started the room isn’t actually hosting the game from their computer.
Each instance would need to only support 10 players maximum. The game is action based and requires speed and accuracy as well as some physics, so lag needs to be kept to a minimum, and too much lag would ruin the experience.
So I’m curious as to what sort of setup (server wise) that I would need… and what is the best method of getting all of this to work?
How many physical servers would I need in order to handle these little 10 player instances?
I would expect to have thousands of players playing simultaneously, but not all in the same instance. I would assume since each instance would only deal with 10 players, that it wouldn’t be anywhere as difficult to implement compared to having a “massive” world where hundreds or thousands of people can be in one area. Am I correct in this assumption?
If any more details about the game are needed, I’ll be happy to add them. Basically my game follows the trend of those Korean based “mmos” like Gunbound, Gunz, etc which allow players to create rooms to play with small groups of players, all from the server so that it’s secure and fast.