B]Help me with TEG debugger please!!![/b
by Yujiao Guo · in General Discussion · 05/09/2007 (7:28 pm) · 2 replies
In the book Advanced 3d game programming all in one, the author asks the reader to open both a client and a server torque in order to debug. However, my computer doesn't allow 2 instances of torque running. How on earth can I debug?
Help please. Thanks in advance.
Help please. Thanks in advance.
#2
or whatever mission is relevant to your project. You can then run that and use your normal torquedemo.exe to connect as a client to your server instance.
05/15/2007 (12:41 am)
You can run a Torque dedicated server and a client instance on the same machine - It's been I while since I looked at TGE as I'm doing all my dev in TGEA these days but I seem to remember 1.5 already having a batch file for a dedicated server. If not, just create a file called fps_server.bat (or something) containing:torqueDemo.exe -dedicated -mission starter.fps/data/missions/stronghold.mis
or whatever mission is relevant to your project. You can then run that and use your normal torquedemo.exe to connect as a client to your server instance.
Torque Owner game4Rest
colyd studio
I didn't have a chance to read that book. But when you install the TGE, you will notice that there are three folders made under each type of sample games. Those are client, data, server. The client folder holds stuffs related to client side while server folder holds stuffs related to server side. This strategy comes because TGE is both server and client simultaneously. It means when you run TGE game, in fact, you are running server and client.
So, if you want to debug, I recommand to use CodeWeaver, which is free. You can chose Torsion which is very popular. You can buy it in GG store. Once you get one of them, you will be introduced how to set it to debug, which is very simple.
Sorry for my poor English. But hope this helps.
Hong Jin