Built from Skywing's Datafile Accessor Library ( Link ), this utility will scan every .bic file in the servervault, check it against data loaded from NWN2 and a provided module's 2DA files, and provide statistics.
Statistics are provided for gender, race, subrace, background, alignment, deity, levels, skill ranks, feats, tails, and wings.
Additionally, top lists (top 10 by default, configurable in the ini file) are provided for maximum health, armor class, base attack bonus, strength, dexterity, constitution, intelligence, wisdom, charisma, all skills, fort saves, reflex saves, willpower saves, experience, wealth, age (oldest and youngest), inventory size, and file size.
The ini file lets you enable/disable any of these reports by setting the field to 1 or 0. Additionally the ini file provides options for how many character files are listed for the top lists, and if it should ignore files older than an amount of days.
To use, set the module, nwn2-install, and nwn2-home settings in the ServervaultStatistics.ini file to the names/directories required, and launch the executable. It should only take a few seconds to run.
I have provided sources as well, in case anyone is interested.
Like it? Vote! Have a suggestion? Comment!
== Change log ==
2010-10-06: Added options in the ini file for outputting in a format to be used by MediaWiki. An example of the output can be found here: Link 2010-10-15: Rewrote a lot of the subsystems. Will run a bit slower (~15 minutes for 40,000 bics in my test), but will use less memory. Also added a section for skills, though right now it's only useful for catching exploiters.
2010-10-16: Fixed an issue with loading custom TLK files. No source update, as my edit was to Skywing's libraries.
2010-11-26: Stopped the application from crashing when a corrupt bic or 0-length bic file is found.
2010-02-21: Optimized the application to only run the data specified in the ini file. Before, it would still gather it, but not display it. Statistics on feat usage has also been added.
@Lunamaria:
I've taken a look at it, and run it against a sample of nearly 40,000 bic files. With the new code it doesn't crash (at least it doesn't for me). It takes a bit longer (~15 minutes for the sample), but worked fine. Let me know if it still crashes for you with the new version.
I have yet to look into the issue with TLK files... still need to put together a quick test module that uses one to run it against.
Posted by Lunamaria at 2010-10-14 09:57:47 Voted 10.00 on 10/11/10
FoamBats4All.. there was one other issue but we worked around it.
If you have time to look at this, great.
Otherwise not a big deal.
We fed about 30,000 BIC file's into this and it seemed to crash.
So we ended up having to split the load into two batches of about 15,000 BIC files and have it generate two separate reports.
Otherwise this was super useful.
Glad you made it. : )
I'll be releasing a new version soon that has much more manageable code, negligible improvements to performance and memory load, and skill statistics. A version after that might include taking current equipment into calculation.
@Lunamaria:
It should be in your TLK folder, and the module you want to run it for must have it properly linked as the Mod_CustomTlk property.
But I doubt that you have it linked wrong. I'll look into custom tlk loading - it should be working, according to Skywing.
Posted by Lunamaria at 2010-10-11 21:41:58 Voted 10.00 on 10/11/10
Nice utility. Easy to use.
I have one question..
It can't seem to find a custom TLK in the my docs TLK directory.
Do I need to put it somewhere else?
Basically I get bad str ref on some custom classes and what not.
You must be Logged In to post comments in this section.
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone