Game Development Community

Broken Console with -dedicated flag (Truncation Issue)

by Dreamer · in Torque Game Engine · 08/01/2006 (10:50 am) · 1 replies

In 1.4.2 there is an issue where if you launch a game with the -dedicated flag, the console will syntax error out on all input.
So for instance
echo("Hello World!");
Syntax Error in input!

I added some debug spew and realized we have a truncation issue of some sort.
After doing some comparisons with the windows and mac winConsoles, I noticed a major difference.
In x86UNIXConsole.cc line ~273
eventSize = 1;

However the equivalent on the windows and mac platforms...
eventSize = ConsoleEventHeaderSize;

Replacing the line appears to fix it, but I haven't tried to do anything too complex on the console lately either.

Regards,
Dreamer