PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
why?

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Scripting Help
Display posts from previous:   

Author Message
strike99



Joined: 14 Dec 2007
Posts: 1

PostPosted: Fri Dec 14, 2007 3:16 pm    Post subject: why? Reply with quote

Help me please. I compile file, and see: Unable to read include file 'd:/games/pol/scripts/include/include/random.inc'. Why /include/include/ ?

Author Message
coltain



Joined: 20 Mar 2007
Posts: 96
Location: Poland

PostPosted: Sat Dec 15, 2007 3:52 am    Post subject: Reply with quote

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";

Author Message
AsYlum



Joined: 05 Feb 2006
Posts: 30

PostPosted: Sat Dec 15, 2007 11:08 am    Post subject: Reply with quote

How yours ecompile.cfg looks like?

Author Message
Romeu



Joined: 28 Feb 2006
Posts: 10
Location: Brasil [Brazil] - State of Minas Gerais

PostPosted: Sun Dec 16, 2007 11:15 am    Post subject: Reply with quote

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/configfiles.php#ecompile.cfg

Author Message
Romeu



Joined: 28 Feb 2006
Posts: 10
Location: Brasil [Brazil] - State of Minas Gerais

PostPosted: Fri Dec 21, 2007 9:16 am    Post subject: Reply with quote

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 new topic   Reply to topic    PenUltima Online Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty