Game Development Community

Running 2 instances of TGB

by James Ford · in Torque Game Builder · 05/03/2007 (11:45 pm) · 9 replies

I'm working on learning networking with TGB 1.5 and I noticed this in the checkers tutorial:

Important Note - To test our simulated network environment you will need to run the game, as it grows, on a second PC (a laptop or anything else that will run TGB will work just fine) on the same network to test this.

Ok, so your saying to even test it I am going to have to copy my whole program over to another computer? Isn't there an easy way to do this on one computer?

#1
05/04/2007 (11:26 am)
Ok answering my own question: im trying to make a debug build, are there any issues with doing this in 1.5?
#2
06/07/2007 (7:45 pm)
I use vmware personally for testing between linux and windows interoperability as well as running another virtual instance of windows under my main instance for testing network.
#3
06/08/2007 (12:58 am)
It depends what you need the two instances for. If you are running a pure server instance (no gui,etc) then you can run two instances of TGB on the same system.

If its a P2P network game and you need two instances of the game running you can do it, but you'll need to modify the listening ports for each instance to be something different.

I think the checkers demo uses a hard coded port in the scripts, which is why it can't run two copies on the same computer.
#4
06/12/2007 (9:11 am)
If you have a Pro license you can compile a debug build and run a debug and a release build simultaneously. Alternatively we're looking into allowing you to run two instances of TGB for the future :)
#5
07/12/2007 (9:19 am)
In 1.5 you can now run multiple instances of TGB on the same PC... huuuuge improvement for testing networking :)
#6
07/12/2007 (10:42 am)
Yaay!
#7
07/13/2007 (8:31 am)
W00t! :) This was a much anticipated improvement -- so glad to hear it made it into 1.5, Matt.
#8
09/05/2007 (12:24 am)
Freaking cool, Matt, good to know. ;)

PS: It's still hot as hell down here in PHX.
#9
09/19/2007 (9:41 pm)
I bet... I definitely don't miss the heat lol :)