View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 04-10-2020 , 15:50   Re: [L4D1/2] HxStats Coop Remastered
Reply With Quote #34

Updated.

Quote:
1.0.16 (10-Apr-2020)
- Database engine is upgraded to InnoDB to support transactions (more safe queries).
- hx_stats.log is now contains only last week / last month top, so not to confuse you.
- Added "sm_hx_unhide" command - Unhides all admins statistics. Useful to populate data after changing l4d_hxstat_hide_flag ConVar since db is not update offline admins.
- Added new stat points (thanks to Re:Creator for request):
* "Tank solo killed". New ConVar "l4d_hxstat_points_tank_solo". Default: 10.
* "Headshots" stat points. New ConVar "l4d_hxstat_points_headshot". Default: 1.
- Fixed chat messages are not coloring according to translation phrases color tags.
- Added "sm_rang" command, alias to "sm_rank".
- Some code simplification / optimization, "sm_hx_upgrade" is improved.

Web-site:
- Added ability to configure (in system/hx_config.php):
* Number of players displayed in top of site (see "limit" parameter).
* Table name, in case you need separate statistics for your several servers (see "table" parameter). In such case, ensure you also changed new ConVars "l4d_hxstat_table", "l4d_hxstat_table_backup".
* Added comments for better explanation for each option.
- Added ConVars:
* "l4d_hxstat_table" - Preferred table name in database. It should be different for other server if you don't want to share points.
* "l4d_hxstat_table_backup" - Preferred table name in database for your backups.
- Web-site files for L4D1 and L4D2 are merged now. Defaulting to L4D2. For L4D1 you must setup "L4D2" parameter to 0 (in system/hx_config.php).
- Web-site is translated into Russian. Defaulted to English. To switch to Russian, setup "language" parameter to "ru" (in system/hx_config.php).

Upgrade details:
- DataBase Table version is now 2.4. Use "sm_hx_upgrade" to upgrade.
- Don't forget overwrite hx_stats.phrases.txt file!
- Don't forget overwrite web-site file "index.php" and also manually update "system/hx_config.php"!
- If you have L4D1, setup "L4D2" parameter to 0 (in system/hx_config.php).
- To update ConVar config file "cfg/sourcemod/l4d_hx_stats.cfg" you can:
* use "Cvar Configs Updater": https://forums.alliedmods.net/showthread.php?t=188756
* or manually add new convars there
* or remove config file, change map, setup preferred ConVars again.
1.0.14
- fixed "l4d_hxstat_version" ConVar flag.
- added ability to create database backups automatically each week:
* ConVar "l4d_hxstat_week_backup" - def.: 0 - Enable full database backup every week? (1 - Yes, 0 - No)
* ConVar "l4d_hxstat_week_backup_rewrite" - def.: 0 - Should week backup be overwritten? (1 - Yes, 0 - No: each time create new table with YYYY-MM-DD in name)
- "sm_hx_backup" command is extended to hold 2 optional arguments: <0/1 - overwrite> <table_name>
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 04-10-2020 at 15:53.
Dragokas is offline