Script compiling error... but where is the error?
by Kaj Eijlers · in Technical Issues · 03/09/2006 (3:16 am) · 1 replies
Hi,
get the following error (from console):
Loading compiled script testgame/server/player.cs.
Loading compiled script testgame/server/flagpole.cs.
Loading compiled script testgame/server/bot.cs.
Compiling testgame/server/misc/perception.cs...
testgame/server/misc/perception.cs Line: 7 - Syntax error.
*** LOADING MISSION: testgame/data/missions/prototype.mis
from perception.cs (added linenumbers just for clearity)
///////////////////////////////////////////////////////////////////////////////1
//Defines the triggers 2
////////////////////////////////////////////////////////////////////////////////3
echo("debug2"); // 4
datablock TriggerData(ItemTrigger) // 5
{ // 6
echo("debug3"); // 7
tickPeriodMS = 40; //Is checked every 400 ms // 8
echo("debug4"); // 9
}; // 10
freaks me out. Even removing the whole body just gives an error on line 10...
Must be something simple that goes wrong, but I just don't see it.
get the following error (from console):
Loading compiled script testgame/server/player.cs.
Loading compiled script testgame/server/flagpole.cs.
Loading compiled script testgame/server/bot.cs.
Compiling testgame/server/misc/perception.cs...
testgame/server/misc/perception.cs Line: 7 - Syntax error.
*** LOADING MISSION: testgame/data/missions/prototype.mis
from perception.cs (added linenumbers just for clearity)
///////////////////////////////////////////////////////////////////////////////1
//Defines the triggers 2
////////////////////////////////////////////////////////////////////////////////3
echo("debug2"); // 4
datablock TriggerData(ItemTrigger) // 5
{ // 6
echo("debug3"); // 7
tickPeriodMS = 40; //Is checked every 400 ms // 8
echo("debug4"); // 9
}; // 10
freaks me out. Even removing the whole body just gives an error on line 10...
Must be something simple that goes wrong, but I just don't see it.
Torque Owner Kaj Eijlers
Now there's only the question remaining on HOW DID I LOSE THESE files (!) ?
Anyways, luckily it works. Now I'll just hope I don't encounter these things more...