We’ve had some requests to expose the engine within HeroStats so that folks could write their own utilities utilizing the facilities we’ve already programmed. Actually, the .NET events are already exposed, so what the request really means is, “how in the heck do I use it?”
That’s what this section is about.
We’ve written a very basic set of programs that use hooks into both the scanner and statistics engine, hooking the exposed events and simply doing some output. This should be enough to show you how you can use those objects to grab both raw chat messages and processed statistics and process them in any way you want.
We've also created programming documentation for use either on your computer or online. Click here to download an HTML2 help file (915kb zip file) that's suitable for inclusion into the Visual Studio help system, or for use as a standalone HTMLHelp file (.chm). The help is also available online by clicking here.
We have four fully commented projects available that hook into the scanner:
- a VB.NET console application
- a VB.NET WinForms application
- a C# console application, and
- a C# WinForms application.
and four fully commented projects that hook into the statistics engine:
- a VB.NET console application
- a VB.NET WinForms application
- a C# console application, and
- a C# WinForms application.
You can also download the complete source (72kb zip file), with a solution file for Visual Studio .NET 2003. The libraries that come from HeroStats are referenced in the projects, but aren’t included in the .zip file, so you'll have to fix the project references after opening the solution. Since these are constantly changing, it didn’t seem like it would make much sense to include a snapshot of them here. You can download the source (or binaries) of these from the Downloads page.
The comments should be self-explanatory, but if there are any questions, please post them to the developer’s list and we’ll add the answers to this page as an FAQ.


