Game Development Community

Multiple Client Instances on one machine

by Christoph Niederberger · in Torque Game Engine · 11/20/2001 (1:40 am) · 6 replies

Is there any possibility to run more than one instance of a client on one computer?
I tested this with the demo but it doesn't work.

#1
11/20/2001 (1:54 am)
If you copy your entire example folder (or whatever yours are called) and then start this game as well then you can.

// Clocks out
#2
11/20/2001 (2:21 am)
Cool, that works fine!
But I can't run one as a server and let the other instance connect to the server... does the server has to be on another hardware? Or does the server query overlooks localhost?
#3
11/20/2001 (4:18 am)
From memory, there was already a thread on this point. If I remembered correctly you have to change the port number of one of your client as it will be the same for the two clients. It's somewhere in the .cs file.
#4
11/29/2005 (8:22 pm)
Doesn't really work for me.
If i just copy the example folder and run this NEW instance of TorqueDemo, a new Console window will appear and then disappear, leaving the original window and client as it is.

Therefore only 1 client can be opened on my machine. Can someone verify this? Or do u have a solution?
#5
11/29/2005 (8:40 pm)
Try making Platform::excludeInstance do nothing.
#6
11/29/2005 (11:35 pm)
Whoah...thanks Ben, that's a pretty cool idea.