Game Development Community

T3D Beta 2 Bug:: Multiple Game instances from toolbox and torsion

by JesseL · in Torque 3D Professional · 05/23/2009 (6:33 am) · 1 replies

I was trying to have two T3D's up to do multiplayer testing on one computer. I have found through trial and error that if I open up One game instance from the Toolbox and then one from Torsion I can have both up at the same time.

If I try to open up one game instance in Torsion and then one game instance from the toolkit the toolkit freezes.

If you try to open two up from the toolkit it works just fine.

About the author

I just realized that if I wanted to create a cat that caught on fire and ran up a telephone pole and then burst into a blue waterfall. That wouldn't be to hard!


#1
05/23/2009 (4:16 pm)
When you launch from Torsion it inserts this line at the top of your root main.cs:
"dbgSetParameters( 6060, password, true );"

This is how Torsion tells torque to wait for it to connect on startup. That line is removed when torsion disconnects. But if you try to launch a second copy of torque, that line is still there and the exe will just sit there waiting for a telenet-debugger to connect.

I'm thinking that that line could potentially be removed as soon as torsion connects, rather than waiting for a disconnect, or alternatively, Torsion could communicate that info to the exe with command line arguments.