Quote:
What is HLstats?
HLstats consists of a Perl script (the HLstats logging daemon) and a set of PHP scripts (which generate the statistics Web pages). HLstats provides player and clan rankings for Half-Life servers.
HLstats collects log data using Half-Life's "logaddress_add" facility (which sends log data as UDP packets from the Half-Life server to an arbitrary remote address), and inserts that data directly into a MySQL database. This makes it easy to maintain the data by eliminating the costly process of scanning large numbers of log files to regenerate statistics, and allows virtually limitless potential for customisation on the front-end. It also has the benefit that the statistics are updated in "real-time" -- if a player makes a kill, they can immediately view the statistics and see that kill reflected in their player details.
Additionally, because HLstats collects data using "logaddress_add", it can receive data from multiple diverse Half-Life servers simultaneously, compiling the data into a single set of statistics. Adding another Half-Life server to the statistics is simply a matter of configuring HLstats to accept data from the server's address, and then configuring the server to send log data to the HLstats logging daemon using the "logaddress_add" command.
all sql calls have been converted to the $xoopsDB structure
i've modified pretty much every file related to hlstats, including the non-web perl scripts (for database needs to be compliant with xoops)
it can be viewed at
http://cvsdev.csmapcentral.com/html/ <<
there is a project for xHLStats open at
http://dev.xoops.org, with anonymous CVS access for anyone interested (by proxy, the module is hosted at sourceforge.net under the XOOPS project)
this port to XOOPS is branching off from the HLStats official releases, since so many changes are needed.
What I plan on doing before an official port release: (no particular order)
1. add more game support files if i come across them (for other mods like The Specialist, etc), as well as better weapon graphics.
2. admin is to be altered to remove any settings that are available to change the html color/layout, so that HLStats is fully controlled by css (all the hlstats files have been altered to remove the admin layout variables and replaced with basic tags)
3. admin login will be removed, authentication will be controlled by XOOPS authorized admin. admin cp will be moved into the XOOPS admin for the module.
4. user skill graphics will be added (like psychostats)
5. hlstats will be combined with AMXBans (another port to XOOPS that i'm working on), so that banned users will be auto-hidden from the stats as the main feature, plus other features, such as combining any data between the tables if possible.
6. optimization of sql routines to reduce excess queries.
7. option to detect if a user has multiple names (aka, smurfing), and temp ban the user (using AMXBans) with a warning message that smurfing is not allowed. number of names limit would be set by admin for temp ban and ban actions.