Game Development Community

Illegal CodeBlock path detected (no mod directory)

by J L · in Torque Game Engine · 07/26/2007 (9:53 pm) · 1 replies

Attempting to do a dedicated server and it is not working right, I have searched but there was only one post on this and it had to do with main.cs.

Could anyone explain what this means in idiot terms ?


*** LOADING MISSION: C:\TDO\TakeDown\data\missions\JungleAssault.mis
*** Stage 1 load
*** Stage 2 load
Executing C:\TDO\TakeDown\data\missions\JungleAssault.mis.
Illegal CodeBlock path detected (no mod directory): C:\TDO\TakeDown\data\missions\JungleAssault.mis
(TypeFilename) illegal filename detected: ./JungleAssault.ter
Illegal CodeBlock path detected (no mod directory): C:\TDO\TakeDown\data\missions\JungleAssault.mis

#1
07/28/2007 (7:28 am)
Hey, Jason
The illegal Codeblock path means; you have not define your mod directory "your game".
In your main.cs

your example <-main directory
main.cs
Added ->
//Golbal Variables
$defaultGame="game"; // location of where you are game; aka game mod
$modcount = 1;
$userMods = $defaultGame;