2 registered members (TipmyPip, 1 invisible),
18,699
guests, and 8
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Multiple users at once?
[Re: Quad]
#205005
05/02/08 21:25
05/02/08 21:25
|
Joined: Sep 2006
Posts: 58 California, USA
BorgNot
Junior Member
|
Junior Member
Joined: Sep 2006
Posts: 58
California, USA
|
As a newbie on this forum but someone who teaches online courses, using flash, admin'ing the server, what are the server requirements?
TIA PS.I use Ubuntu linux with apache and Windows XP with Abyss Web Server.
Some things are harder said than done, some not!
|
|
|
Re: Multiple users at once?
[Re: BorgNot]
#205013
05/02/08 22:50
05/02/08 22:50
|
Joined: Oct 2007
Posts: 5,211 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
|
@BorgNot: (and a litte to CrashBox) web servers and game servers are totally diffrent. To talk about GS, you have 2 options while creating your server. You can either program your server with another languge like c++ or you can build it with GS. Server implementation is entirely up to you, you should design a good solution that suits your game.
Like if you are creating a game like Counter-Strike (talking about server side not the type of game):
It is like there is a server all other players connects to server, when everything is over server shuts down, if you want to play again everything starts from zero. Server only makes clients communicate. Even you can embed server to client, so players can create servers too. You only run a server executable on the machine thats supposed to be the server, and clients connects to this server by using its ip etc..
If you are making something like mmo or a semi-mmo(made it up, but you know what i am talkin about.):
This time everything is diffrent. Your server(s) stores login info, player stats, some other records etc. And also does that communication between clients thingy. For this type of servers i think that it will be better not to create server in one application. You can make login server, ai server, and game server spare. [Spent months on creating private servers for MMO s and this is what they do.]
If you do it this way it will be better even if you run all the server apps on same pc.[respect to making it one app.] But they are supposed to run on diffrent machines.
Its like there is a MySQL server machine and there is a "login server" machine that controls login. Once user tries to login, client connects to login server then server checks if such user exists and password matches, using some sql queries. Then your server send some info to client. Like if server returned 0 this means login failed, if server returns 1 this time client says that "ok i saw you accepted my login" and asks for it's info or a gameserver list. Then Login sevrer returns a server list. Once client selected a server, it connects to game server and this time game server sends client his stats or stored characters etc that s gathered from the mysql server(same server as login server uses or another one). Game server does the communicating clients thingy after this point. Gets info from all clients and sends other clients' info to all (nearby) clients.
AI server only gets a little info from clients(doesnt send it to other clients) but it does the placing monsters, creating entites, and telling where are the entites to clients.
You can design it more complex or more simple, depending on your game.
If you want to use linux i.e for your login server, try building it in c++ and compiling it for linux. I suggest using GS itself to create a gameserver(i dont know if its reliable to handle a mmo, you may consider using external libraries instead of GS's mp system.) Maybe you can to entrie server programming in c++ using network libraries that optimized for games. In such project GS does the rendering graphics and gameplay part(i mean all the client side), you build server your self.
Again server reqs. is totally about how much data your server transfers from client to client, how may clients supposed to connect, how much system sources used by server etc. It about your game and design. You should think about server performance,try to more work with less sources and transfer more info with less bandwith usage, while designing your server.
I dont know if this answered your question, whatever. I tlk too much.
A web server company wont help you about running your server executables. You should hire a dedicated game server. Most game server conpanies(i mean that companies you can hire servers for CS,TF2,DOD,BF2 etc.) will hire you a server that you have remote access to it, this way you can run your servers on it. But if you are serious(like a big MMO) you should buy a server and the possible highest internet connection to take full control.
Last edited by Quadraxas; 05/02/08 22:55.
3333333333
|
|
|
Re: Multiple users at once?
[Re: CrashBox]
#205016
05/02/08 23:29
05/02/08 23:29
|
Joined: Oct 2007
Posts: 5,211 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
|
You can use gs for Master Server, client+server , or p2p clients or just client.
But as i said you may consider using an external library while building your server. If you use GS while building the game(clients), you need to use either gs or a server developed using a7 sdk.
Your clients doesnt have to include the server. Same applies to server. It doesnt have to include client.
I dont know how many users current mp system can handle, and i cant know what a superb machine is(it cahnges from person to person, i also cant know, how the game and server programmed, how they use sources etc.
Giving a exact or close nuber is impossible.
Good Night, Quadraxas.
3333333333
|
|
|
Re: Multiple users at once?
[Re: Quad]
#205024
05/03/08 01:05
05/03/08 01:05
|
Joined: Sep 2006
Posts: 58 California, USA
BorgNot
Junior Member
|
Junior Member
Joined: Sep 2006
Posts: 58
California, USA
|
Quadraxas,
Yes, that is most informative and I need to know which direction to go from the start. The servers I have, I am the admin. I had planned to design and develop a whole entire system with the server as a prototype so that I can demo for potential business partners. I started out trying servers in '98--first on dos/win98 then linux, using XP and Abyss Web Server to design on.
Now, the question for me is this: what do you mean build the server with the GS?
Does the Commercial/Pro come with Network programming libraries for Windows? Linux? Are there tutorials for setting and programming the server apps?
My Game is a Classroom setting for students. They register for a period of time . So, they would login to a server but they would also have their executables that they can do some things offline.
Some things are harder said than done, some not!
|
|
|
|