Update to 1.51
With version 1.51 some important things have changed.
This page describes how to update your current HLStats installation to this version. Please read first and then do. Also make a backup if your current HLStats installation.
The [todo] tag tells you that you have to do something
The [info] tag describes information which can be usefull if you know it.
[info] Changed folder structure
Here is the explanation what this is all about:
- daemon/
The hlstats.pl daemon which collects the data from the game server and all necessary files and the configuration file (hlstats.conf) are stored here.
Keep this folder in a not web accessable place, or if you have to, protect it with a htaccess file. - docs/
Well there are the documentation files - install/
There are the required files to install HLStats - tools/
Little scripts which will help you running HLStats. ( I will go in detail later ) - upgrade/
If you are upgrading from a previous version you have to look into this folder. - web/
Those files are going be on the webserver. This is where you can show and manage your HLStats.
It's nothing special here, you can copy without any doubt the whole contents onto your webserver. - ChangeLog
In this file you can see all the changes made for each version. It also sometimes inlcude important information. So try to read it sometimes - LICENSE
The GPL License v2
[info] PHP MySQL functions used.
The old db class has been removed and replaced by standard mysql functions build in PHP.
Since MySQL was the only supported DB type, using a class is useless.
[info] Dropped web installer
The web installer has been dropped. No discussion needed.
Therefore the configuration will work this way:
For the tow configuration files, there is a *.example file which can be copied without the example in the filename.
hlstats.conf.ini.example -> hlstats.conf.ini
hlstats.conf.example.php -> hlstats.conf.php
Renaming those file will enable those in the system.
[todo] Changed requirements
You need the Config-Tiny Module for Perl now.
[todo] Changed configuration file for the daemon (hlstats.pl)
Move to the daemon folder (or if you have seperated the daemon to another location, to this location)
The hlstats.conf file has been now renamed and uses the ini syntax.
Backup your current hlstats.conf file (eg. rename it)
cp hlstats.conf.ini.example to hlstats.conf.ini
Please not just rename it. It is much safer to have the default file available, if you accidently foobar the configuration.
Go through the new hlstats.conf.ini file and alter the settings.
[todo] Renamed hlstats.conf.ini.php file
The configuration file for the web part has been renamed:
hlstatsinc/hlstats.conf.inc.php -> hlstatsinc/hlstast.conf.php
The syntax is the same. You can just rename your current configuration file.

