why?

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
strike99
New User
Posts: 1
Joined: Fri Dec 14, 2007 11:07 am

why?

Post 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/ ?
coltain
Grandmaster Poster
Posts: 159
Joined: Tue Mar 20, 2007 7:17 am

Post 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";
User avatar
AsYlum
Grandmaster Poster
Posts: 115
Joined: Sun Feb 05, 2006 5:24 am

Post by AsYlum »

How yours ecompile.cfg looks like?
Romeu
New User
Posts: 10
Joined: Tue Feb 28, 2006 10:16 am

Post 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
Romeu
New User
Posts: 10
Joined: Tue Feb 28, 2006 10:16 am

Post 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"
Post Reply