I have made some tests and i find, that problems with
$game_version from
config.php has impacts to web stats.
Web stats results does not equal in-game stats (if i type rank, rankmenu, ...) In our case we have always higher PPM in-game (we play only L4D2 on our servers) than shown by web. I think that variable
$game_version should be declared global in functions to be accessible in functions scope and to have some effect.
For example: function gettotalplaytimecalc (common.php) always return total play time calculated from versus, coop, ... (all L4D1 game types), but scavenge, realism are never added, because $game_version is undefined in this function and statement
if ($game_version != 1) is always true (nice from php) (tested for $game_version = 1, 2).
Is it possible, that it is a bug or am i wrong?
PS: We use server only for L4D2, so there is no L4D1 data in DB
image with stats before and after editing (added
global $game_version;) function gettotalplaytimecalc (common.php)
http://kedlubna.prodejce.cz/stats.png