Game Development Community

Console Problems

by Injae Jeong · in Torque Game Engine · 07/15/2003 (9:34 am) · 3 replies

Hi
I have run into problems with the console. first the problem description: When I try to enter a command in console like "quit();" or "echo("hi");", the application crashes. I can see stuff like "loading..." etc in the console window but the runtime commands seem to crash the application. I am using the release version of the engine. I added a few classes like Stefans AIplayer, Franks guiObjectview and some of my own. But I havent touched the console library. I have been trying to figure out the bug for some time now but I think I am looking in the wrong places. Has anyone encountered a similar problem ? Can somebody suggest or point me to something specific to look for? Any and all suggestions will be greatly appreciated. :)

#1
07/15/2003 (9:42 am)
As a side note you need ';' at the end of each command or else it won't work. I'll use your examples as examples: quit() should be quit(); and echo("hi") should be echo("hi");. :)

Edited: Me and my typos :(
#2
07/15/2003 (9:49 am)
Try building the unmodified release, this will at least tell you if the problem is in the added code.

John.
#3
07/15/2003 (9:50 am)
Nathan,
I missed out ";" here but I have used them in the console.
I will probably edit my previous post. thanks for pointing that out.