Console says: Cannot ready *.ecl file

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 098.

Moderator: POL Developer

Post Reply
User avatar
*Edwards
Forum Regular
Posts: 302
Joined: Fri Dec 28, 2007 11:19 pm
Location: Montreal, Canada

Console says: Cannot ready *.ecl file

Post by *Edwards » Mon Jan 19, 2009 9:38 am

Exemple:

Item x
(
Name x

Script :mainHitScript:mainHit
)

When pol starts and cannot read :mainHitScript:mainHit.ecl he warn us on the console that ''cannot read :mainHitScript:mainHit.ecl''. I would appreciate if he could tell us which item cannot load the script because right now I have a really small problem to research the item using this script that is no longer available on my project. (I handle combat in a different way... )

Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: Console says: Cannot ready *.ecl file

Post by Turley » Mon Jan 19, 2009 10:26 am

Why not simply use the "find in files"-function of your favorite texteditor tool? :)

User avatar
*Edwards
Forum Regular
Posts: 302
Joined: Fri Dec 28, 2007 11:19 pm
Location: Montreal, Canada

Re: Console says: Cannot ready *.ecl file

Post by *Edwards » Tue Jan 20, 2009 11:02 am

Yeah that would be smart!! But I probably have 50-60 pkg with itemdesc entries.

:deadhorse:

Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Re: Console says: Cannot ready *.ecl file

Post by Pierce » Tue Jan 20, 2009 11:22 am

For such a case i can recommend the following tool which does
a good job helping me converting 95 to 96:

http://www.harddisksearch.com/

You simple need to define searching .cfg files inside the pol directory
for e.g. the term mainHit and the tool lists all files that contain it ;)
You can open each file and it points to where that "mainHit" appear in that file.

Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: Console says: Cannot ready *.ecl file

Post by Turley » Tue Jan 20, 2009 2:01 pm

*Edwards wrote:Yeah that would be smart!! But I probably have 50-60 pkg with itemdesc entries.
Mmmh i have 72 itemdesc's and UltraEdit takes about 2s to search inside all of them.
What texteditor tool are you using? And if you use notepad, then the explorer has also an "search in files" feature...

User avatar
*Edwards
Forum Regular
Posts: 302
Joined: Fri Dec 28, 2007 11:19 pm
Location: Montreal, Canada

Re: Console says: Cannot ready *.ecl file

Post by *Edwards » Tue Jan 20, 2009 2:26 pm

I though it would be better for pol itself if the error returned could be more specific. I'm using an old tool called Scripter.exe found on this forum. And I've take a look to all my possible weapon entry in my files but didn't find anything. Nyways, it's only one single item that spam my console each time I start pol it's not the end of the world ( I hope so! ) but maybe I'll find it one day and bring this topic alive for one last time!! ;) Thanks or your help.. But it still a suggestion!

Nando
POL Developer
Posts: 262
Joined: Wed Sep 17, 2008 6:53 pm
Contact:

Re: Console says: Cannot ready *.ecl file

Post by Nando » Tue Jan 20, 2009 6:04 pm

I can see if it'd be easy to make POL more verbose on this error. If you just want to discover which item/itemdesc is doing that, just place a script where it's searching and make the script print the objtype and serial (if it's already in your datafiles) :)

User avatar
CWO
POL Expert
Posts: 1151
Joined: Sat Feb 04, 2006 5:49 pm
Location: Chicago, IL USA

Re: Console says: Cannot ready *.ecl file

Post by CWO » Tue Jan 20, 2009 11:15 pm

Probably the only thing that would be needed is the objtype of the item. You can then easily track it down.

Post Reply