Game Development Community

.dso not compiling

by Willbkool · in Torque Game Engine · 04/13/2004 (12:09 pm) · 2 replies

Hi, I made some changes to my rifle.cs, and went in game and everything worked fine. I decided to change the message that was sent to the screen, but the old message was still showing. I deleted the dso, and then nothing happened ingame, and when I checked, there was no rifle dso file. Is there any way to force the dso to compile?

#1
04/13/2004 (12:19 pm)
My guess would be you made a mistake changing the message - check it over and make sure you haven't made a typo. You can also look in the console.log file to see if it indicates any errors trying to compile.

If there's an error trying to compile a .cs file, it will simply use the old .dso file instead (which would be why nothing changed when you first tried it).
#2
04/13/2004 (12:23 pm)
Are you sure it even compiled. Pull down your console and look for some red text. Or search the log file for that file. Here's what i got putting in some code I knew wouldnt compile:

Compiling LAAP/client/scripts/client.cs...
LAAP/client/scripts/client.cs Line: 23 - Syntax error.
>>> Advanced script error report.  Line 45.
>>> Some error context, with ## on sides of error halt:
commandToServer('SADSetPassword', %password);
}

function noCompile()
{

^this should ##n##ot compile
}

//----------------------------------------------------------------------------
>>> Error report complete.