Closed mo0nsniper closed 4 years ago
Hello, thanks for reporting the problem.
I forgot to re-add some parts of code for parsing clantags for other games (except CS:GO - uses different method).
Please download latest daemon files (https://github.com/NomisCZ/hlstatsx-community-edition/tree/master/scripts) and try it :)
Hello Nomis,
Thank you for the fix. I have updated HLstats_Player.pm, hlstats-awards.pl and hlstats.pl did a ./run_hlstats restart and now the clan appeard in the list. https://miez.ro/cstrike/HLstatsX/hlstats.php?mode=clans&game=cstrike&minmembers=1
However now when running ./hlstats-awards.pl I get this error:
++ HLstatsX:CE Awards & Maintenance script version 1.6.19 starting...
++ Cleaning up database: deleting events older than 28 days... DBD::mysql::db do failed: Table 'hlstats_Events_TeamBonuses' is marked as crashed and should be repaired at .//HLstats.plib line 198.
done
++ Cleaning up database: deleting player history older than 28 days... done
I don't know if the error was present before replacing the scripts tho.
It's probably MySQL thing ...
So try to repair table:
REPAIR TABLE hlstats_Events_TeamBonuses;
-> GO.mysql -u<db_user> -p<db_user_password> <db_name>
REPAIR TABLE hlstats_Events_TeamBonuses;
exit;
Ran the command and it repaired the database. Now the script runs fine.
Thank you
Also thank you for your whole work on HLStatsX, it's great that it lives on as it's a nice piece of software. I have a script for Linux that installs everything, maybe I can contribute it to the wiki if you think it will help.
I'll also file bug reports :)
@mo0nsniper If you want to share your script. You can fork Wiki - https://github.com/NomisCZ/hlstatsx-community-edition-wiki and create pull request :) I've set up auto repo and wiki sync.
Here you can found basic Markdown syntax - https://guides.github.com/features/mastering-markdown/
I have HLStatsX working and tracking players but the Clans page is empty: https://miez.ro/cstrike/HLstatsX/hlstats.php?mode=clans&game=cstrike