Game Development Community


#1
08/06/2005 (3:16 pm)
Well, with the way Torque is set up, you can't have two missions running simultaneously on one server instance. I really doubt any games do it that way.

What most MMOs and such do is create a new server instance on another IP or port, and then you get changed to that server. Player1 would still be on MissionA (therefore Server[0]) and Player2 would be on MissionB (therefore Server[1]).

Of course, I believe that would be how you would do that. I am no expert, ;)

-- Robert
#2
08/06/2005 (4:05 pm)
There really isn't an engine on the market that gives you multi-mission hosting on a single server instance. As described above, you set multiple server instances on different ports.

That being said, MoM re-wrote the mission hosting portion of Torque to do exactly what you are talking about as far as I am aware.

You have the source code, you can do anything you like...but researching the problem puts you well on the way to understanding it!
#3
08/06/2005 (8:22 pm)
It's surely possible. The cheap solution is to just run multiple instances. The costly, but potentially more rewarding, solution is to run multiple connection interfaces and simulation loops. There's nothing intrinsically hard here - just a matter of multiplexing several aspects of the engine. It will require some familiarity with the engine to pull off, though, much as it would with any other engine out there.
#4
08/07/2005 (7:23 am)
Quote:With multiple server ports could they be hosted all on 1 computer?
In dedicated server mode, absolutely. That's what I was implying when I mentioned researching the problem--it appears that you are using the term "server" too loosely in your thoughts, equating it with an entire computer instead of a server instance.

As was mentioned, most of the online games use this technique (although not all).
#5
08/07/2005 (1:05 pm)
Do more research; these answers are within your reach! :)