Game Development Community

Torsion and the new alpha..

by Jason Booth · in Torque Game Builder · 01/22/2006 (4:15 pm) · 27 replies

Has anyone else had problems using torsion with the new alpha release? I can't seem to get it to run with the debugger connected anymore; it just hangs after:

Loading compiled script common/main.cs.
Loading compiled script tools/main.cs.
Loading compiled script T2D/main.cs.
--------- Parsing Arguments ---------

I've tried everything I can think of, and the project looks as if is set up correctly. Has anyone else had this issue, or has it just worked?
Page«First 1 2 Next»
#21
03/07/2006 (8:46 am)
1) yes
2)dunno
3)dunno

leave those for Mr. Spilman
#22
03/07/2006 (8:55 am)
1) No, the resource mentioned above (the TelnetDebugger resource) has been baked into Torque 1.4 (the basis of TGB).

2) I don't think so.

3) Yes. Crack open your .xml file in the Torsion directory. It's not pretty but you can configure everything. I use the mighty "Consolas" font and have a different color scheme in my setup.
#23
03/07/2006 (10:56 am)
@Jason. Thankyou dor the #3 tip.
However the tab options doesn't work, maybe I'm wrong...
I set:
true
4

but the editor still shows tabs of one space.
Well just a minor cosmethic prob :)
I'm using editplus for all my editing.
#24
03/07/2006 (11:29 am)
@Adamn - The telnetdebugger resource is not needed for TGE 1.4 or for the latest TGB release.

The tabs issue is a new one... i'll look into that. You'll also be glad to know that all those options and more will be available from the editor in the next release. No more xml editing.

Also i have been toying with adding an "Edit and Continue" feature. I don't think i'll be able to get this into the 1.0 release, but i'll try. First i just want to automate the re-exec of a script by having the editor send a console command to the game. This would have to happen while not in a breakpoint i think. That would get us 50% of the way there as you can hit a breakpoint, find some error, fix the code, and continue which would trigger the optional re-exec of the changed code. The next time the changed functions would be called it would be with the updated code.

To do it right, i would need to add a new command to the TelnetDebugger that can reload a script and try to patch it up while the code is still on the stack. Tricky stuff, but would be a huge improvement in the Torque development process.

Now moving the code pointer looks easy to do... that i may do soon.
#25
03/07/2006 (11:55 am)
I ran into the same issue... it appears a little backwards, but if you have UseTabs set to true, the tabs are always 1 space. If you set it to false, then when you tab it will actually move int the specified number in TabWidth. Very backwards, but it works...
#26
03/07/2006 (12:46 pm)
@Spilman: wow terrific news indeed... glad to hear that. :)

@Eric: nothing is lost if I try. thank you
#27
03/21/2006 (4:16 pm)
FYI. Torsion has been updated. This release fixes the hanging that occurred with the latest release of TGB.
Page«First 1 2 Next»