Page 1 of 1

[Feature, Not Bug] Missing Config File Reports in Debug.Log

Posted: Fri Aug 22, 2008 1:32 am
by OldnGrey
Can I also bring up something that I thought was promised in an earlier core but maybe forgotten.

debug.log has entries complaining if a package does not have itemdesc.cfg and npcdesc.cfg files.
This is probably when we use such things as: :*:itemdesc and :*:npcdesc

Is this a simple fix?

Re: Bring out your bugs

Posted: Tue Dec 30, 2008 10:31 am
by MuadDib
OldnGrey wrote:Can I also bring up something that I thought was promised in an earlier core but maybe forgotten.

debug.log has entries complaining if a package does not have itemdesc.cfg and npcdesc.cfg files.
This is probably when we use such things as: :*:itemdesc and :*:npcdesc

Is this a simple fix?
Yes and no. I don't feel like coding in all the common config names to ignore the report on (hehe). So instead you get this:

Code: Select all

12-30 MuadDib:
        Added : POL.Cfg::ReportMissingConfigs 0/1 (Default 1). Handles if Missing Config File
                reports are printed to the Debug.Log file. These are reports for example, when
                you use :*:npcdesc to open all npcdesc files in a script but not all packages
                of course will have this file.