Page 1 of 1

why?

Posted: Fri Dec 14, 2007 11:16 am
by strike99
Help me please. I compile file, and see: Unable to read include file 'd:/games/pol/scripts/include/include/random.inc'. Why /include/include/ ?

Posted: Fri Dec 14, 2007 11:52 pm
by coltain
I don`t know how You have it included but it should be like this:

when included file is in scripts/include

include "include/random";

Posted: Sat Dec 15, 2007 7:08 am
by AsYlum
How yours ecompile.cfg looks like?

Posted: Sun Dec 16, 2007 7:15 am
by Romeu
Strike99,

Open your ecompile.cfg in "D:/games/pol/scripts/"
Inside this CFG, search for the words: "IncludeDirectory".

You going to find "D:/games/pol/scripts/include/include", probably.
Repleace this for "D:/games/pol/scripts/include"

For more information read http://docs.polserver.com/pol096/config ... ompile.cfg

Posted: Fri Dec 21, 2007 5:16 am
by Romeu
Edited.
I wrote wrong, sorry. I think that is correct now.

If the problem isn't resolved, check your escript: find include and edit it.

If it writes include "include/include/your_include", replace with "include/your_include"

If it writes include "include/your_include", replace with "your_include"