Console says: Cannot ready *.ecl file

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 098.
Post Reply
User avatar
*Edwards
Forum Regular
Posts: 303
Joined: Fri Dec 28, 2007 11:19 pm

Console says: Cannot ready *.ecl file

Post by *Edwards »

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 »

Why not simply use the "find in files"-function of your favorite texteditor tool? :)
User avatar
*Edwards
Forum Regular
Posts: 303
Joined: Fri Dec 28, 2007 11:19 pm

Re: Console says: Cannot ready *.ecl file

Post by *Edwards »

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 »

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 »

*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: 303
Joined: Fri Dec 28, 2007 11:19 pm

Re: Console says: Cannot ready *.ecl file

Post by *Edwards »

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: 284
Joined: Wed Sep 17, 2008 6:53 pm

Re: Console says: Cannot ready *.ecl file

Post by Nando »

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: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Re: Console says: Cannot ready *.ecl file

Post by CWO »

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