HLstatsX:CE 1.6.1 Released

Version 1.6.1 has been released

As usual, download links are up at our Google Code page and will be posted in the forum Downloads section shortly

This release is mostly bugfixes. The 1.6.0 release unfortunately had a few moderate bugs that slipped through, but that isn't totally unexpected with the number of huge changes that were made. Version 1.6.1 fixes all of this, addresses some other longstanding bugs that were found, and also adds even more optimization, mostly thanks to our newest code contributor, agent86 from =(ego)=.

Highlights:
The infamous player count issue is now resolved. The counting has been fully rewritten.
Added, optimized, and touched-up many images.
Added a few more helper scripts to the extras directory, such as Peace-Maker's alternative ban import script and Woody's log FTP script.
Added more reset/delete options and made game/server deletes not leave stale data behind.
Added new TF2 actions "killed_charged_medic" and "death_sawblade", TF2 weapon "telefrag", and new FF weapon code "backstab".
Many other misc small fixes and additions. See full changelog.

For more information, including upgrade instructions, read more or check out the release topic on the forum...

For upgrades, only upgrading directly from version 1.6.0 is supported.
1. stop daemon
2. backup db
3. backup any custom web files or images that you are using
4. run sql upgrade script
5. replace files with versions included in the upgrade package
6. copy any custom images back to web
7. port any custom web changes to the new file versions if they were overwritten
9. start daemon

Plugins:
The AMXX plugins had a minor update to correct the reported version number. The sourcemod ingame plugin (hlstatsx.sp) also had some important updates. In addition, many of the SuperLogs plugins have had updated since the last HLXCE release. There is also now finally a build of the version stub VSP plugin for ep1 linux for those running Mani or Beetlemod and not sourcemod and want to report their HLXCE install.

Thanks:
agent86 - tons of optimizations, insight, coding help, testing, etc.
BoNzO - general development
octo-dhd - general development, testing, finding last minute bugs ;), help with player count issue
Packhead - doing all the not-fun work that everyone hates such as keeping new sql/images/heatmaps/etc. up to date as well as testing
Rawh, Madmakz - tons of user assistance on the forums. Rawh may come off as harsh at times, but he's always here and always helping.
R3M - forum help and helping with some images
Viper and IW - forum/website/tracker hosting, our new logo, and providing access to the SteamFriends stats install making fixing quite easy to test.
psychonic - being so damn sexy.
Everyone else who has contributed images, code, other help, or whom show up on #hlxce to entertain us ^^

Changelog:
HLstatsX Community Edition 1.6.1
September 23

+ Added many new heatmap background images (stachi, Roman Sobol, HSFighter, Zuko, Extrim25, Patalete, Packhead)
+ Added missing Ventrilo images (compuwis)
+ Added Fistful of Frags award images (Mosalar)
+ Added alternate php ban import script to extras (Peace-Maker)
+ Added FTP script in extras to allow logs to be pulled on a schedule instead of streamed (Woody)
+ Added more DODS awards (BusteR, Packhead)
+ Added missing image for NTS DetPac (R3M)
+ Added much more granularity to options on Admin Reset page (psychonic)
+ Added HLstatsX:CE Settings option to Sourcemod's !settings menu (psychonic, Packhead)
+ Added parsing for TF2's new medic_death logging to create new killed_charged_medic action (psychonic)
+ Added parsing for TF2's sawblade death logging to create new death_sawblade action (psychonic)
+ Added Romania to Google Maps country list (Alexandru Bajdechi, KingJ)
+ Added total kill count to contents.php (psychonic)
+ Added InterWave Studios link to footer.php (psychonic)
+ Added compiled ep1 linux build of stub version plugin for installs without Sourcemod to report HLX:CE version (psychonic)
+ Added new FF weapon "backstab", including award (psychonic, Rawh)
+ Added more database indexes for optimization (agent86)
+ Added new tf2 "telefrag" weapon code and award (octo-dhd)
+ Added missing tf2 award for deflect_arrow (Packhead)
! Fixed player counts issues that started with release 1.6.0 (octo-dhd, agent86, psychonic)
! Fixed hlxce_ cvars becoming unset if game server restarted without a daemon restart (psychonic)
! Fixed "Unblessed reference 'increment'" that results from players with blank names (octo-dhd, psychonic)
! Fixed "data truncated for column 'pos_x'" error on plyrplyr actions (Mave Rick)
! Fixed GlobalBan query in importbans.pl (Peace-Maker)
! Fixed heatmap generation script hitting php memory limit (Kotonoha Katsura)
! Fixed "String found where operator expected at (eval 38) line 1, near "$ = ''"" error on startup since 1.6.0 (psychonic)
! Fixed web rendering error on game.php when showing multiple servers without javascript "glider" enabled (psychonic)
! Fixed error when running hlstats-resolve.pl since 1.6.0 (psychonic)
! Fixed issue with encodings on some pages (psychonic)
! Fixed floats not being cleared on playerinfo and claninfo causing display glitches on some sections in tabbed mode (psychonic)
! Fixed tables width on "Weapon Statistics" table on Weapons section on claninfo (psychonic)
! Fixed weapon statistics logged after player disconnect being ignored (psychonic)
! Fixed AutoTeamBalancer not working in CSS since 1.6.0 (stachi)
! Fixed L4D heatmaps not generating properly (Packhead)
! Fixed daemon crashing when receiving control packets since 1.6.0 (BoNzO)
! Fixed hidden clans being able to be shown on games list (BoNzO, Packhead)
! Fixed sql error in daemon that could arise if you have a game without servers but have past data from (Mave Rick)
! Fixed cases players earning a point for suicide or teamkill if point value was set to 0 (psychonic)
! Fixed potential sql errors on Player Event History page if events referenced players, servers, or any other data that no longer exists (psychonic)
! Fixed a potential unique key issue in hlstats_Servers_VoiceComm table (psychonic)
! Fixed number formatting in General Statistics on contents.php (psychonic)
! Added missing % sign after accuracy in kdeath command output (psychonic)
! Fixed variable names being printed on ingame load page (psychonic)
! Fixed typo in sql query on ingame weapons page causing sql query error (psychonic)
! Removed link to activity gantt scheme, since we don't use it in 1.6, it only generated an broken image (BoNzO)
! Fixed circular reference in TRcon.pm (agent86)
! Fixed scope issue with g_players_temp in hlstats.pl (agent86)
! Fixed missing label for hideranking 3 on tools_editdetails_player.php (psychonic)
! Fixed shots per kill count on playerinfo_general.php to more accurately use statsme table kills to match statsme table hits/shots, rather than comparing to total kills (psychonic)
! Fixed ventrilo server join link not working properly in some scenarios (Semikolon)
! Fixed default graph color to match default style (psychonic)
! Fixed weapon/role name not displaying on Weapons/Roles page if no image was found (if weapon) and code contained on or more spaces (psychonic)
! Fixed html characters in weapon names on Weapons page being escaped twice (psychonic)
! Servers and players for hidden games are no longer counted on contents.php (psychonic)
! Fixed a case where the incorrect top player for a game on contents.php could be shown if more than one player was tied for skill/kills (psychonic)
! Fixed country tooltip and image alt text being lowercase on flag beside player name on playerinfo_general.php (psychonic)
! Fixed issues with display of ingame chat where a name had a " or ' (psychonic)
- Removed redundant "Remove Game Settings" admin page since deleting a game on the Games page does the same thing, but correctly (psychonic)
? Touched up many images (R3M, Packhead, BoNzO, Unity, Violent Crimes)
? Optimized rank queries in web and daemon (agent86, psychonic, BoNzO)
? Player table updates in daemon are now buffered and flushed to greatly reduce number of queries being ran(agent86)
? Generation of heatmaps now works for duplicated games with manual changes (BoNzO)
? Ingame plugin now displays a notice to players that have HTML MOTDs disabled if they use a command that would require one (psychonic, Packhead)
? By popular request, adjusted game total player count to not exclude inactive players, pre1.6.0 behavior (psychonic)
? Updated run_importbans to allow for user to use either importbans.pl or Peace-Maker's php version (Packhead)
? Updated included DejaVu font to version 2.3
? When deleting a game via the Games page in the admin area, all associated data for that game is now removed. A warning was also added on that page (psychonic)
? When deleting a server via the Edit Servers page, server trend data for that server is now also deleted (psychonic)
? Moved db cleanup from hlstats.pl to hlstats-awards.pl (agent86, psychonic)