How to upgradeCode:
Compare the new hlstats.conf.ini with the existing one and add the new sections
Run the upgrde*.sql file
Restart hlstats.pl
Create an cronjob which executes the player-activity.pl once a day
As you run the sql update, all the players are active. This will change after the first run of player-activity.pl
AFTER running player-activity for the first time, players will be set to inactive
if they have no skillchange in the setup timeframe.
Player activity featureA player will now for every skillchange marked as active.
the player-activity.pl script scans through all players and updates those to inactive, which have no skillchange withing the given timeframe (hlstats.conf.ini).
As soon the player has a skillchange again it will be set to active again.
With this only active players will be shown in the statistics overview,
but the inactive ones can be show too. Those have a gray version if the player icon.
TranslationAs of 1.51 HLStats can be translated.
Available is English (default) and german.
To translate into a new language just copy the de.ini.php file to fr.ini.php for a france translation. Then translate the content and you are done.
The default languge can be set via config.
New configuration styleThe daemon uses now a new configuration system.
You have to install the Config-Tiny module (
http://search.cpan.org/~adamk/Config-Tiny/) otherwise you will get an error.