Releases: tyger07/BF4-Server-Stats
More Image Bug Fixes
Updated Server Banner Image
Updated server banner image to again show number of players in previous 24 hours; this time without using pChart.
Since I don't have a live database to test with, I will be dependent on others to tell me if the graph works properly.
Restoring Images
Slowly creating new compilations of images to replace the images which I removed when I removed pChart.
Specifically:
The average players per day image on the server page has been further improved.
The maps played pie chart has been recreated.
To do: add players per day chart back into server banner image.
Server Info Graph Fixes
Improved server info graph image a bit. It now has a header explaining what the graph is, and y scaling on the graph is better and more accurately described.
pChart Removed
Just removed pChart completely in order to solve issue #31.
Outstanding Issues
i-Stats.net no more
At the bottom of player stats pages, a link was provided to the i-Stats.net player check webpage. That website has appeared to be offline for an extended period of time, so the link has been changed to direct to a BF4Stats.com player search.
Compatibility Fixes
Fixes reported issue #25 regarding live scoreboard failing to work in some SQL environments.
Also fixes a reported pChart library issue ( https://forum.myrcon.com/showthread.php?6854-BF4-Stats-webpage-for-XpKiller-s-Stats-Logger-Plugin-(Updated-11-6-2017)&p=143272&viewfull=1#post143272 ) which affects using the pChart library to display the server banner image, map stats pie chart, and server stats graphs in php version 7 and up server environments due to php 7+'s deprecated use of function methods with the same name as the function class within which they are defined. pChart library support seems to have ended, otherwise I would have just updated to a newer version of pChart. Instead, I took matters into my own hands and made the simple and quick fix.
metabans no more
Since the Metabans service is defunct, I have altered a link at the bottom of player stats pages to direct to a player search of bf4db.com instead of metabans.com .
playtime is over
By popular demand, playtime has been added to the leaderboard and player stats pages.
As such, if you upgrade to this version from an older version, the top 20 leaderboard player caching will no longer function correctly until you drop the tyger_stats_top_twenty_cache
table from your stats database. Please do so. After doing so, the stats page will automatically rebuild that table with the extra missing column. If you do not drop the tyger_stats_top_twenty_cache
table, the stats page will do the slower calculation and try to recache the top 20 players at every view.
Additionally, a combined stats country stats addition issue was found and fixed.