hlstatsx-community-edition
hlstatsx-community-edition copied to clipboard
Undefined subroutine &main::CSGO called at ./hlstats.pl
Describe the bug Undefined subroutine &main::CSGO called at ./hlstats.pl occurs and appears to need fixed for CSGO
Environment
- Webserver: apache2
- Hosting environment: dedicated
- PHP version: 7.4
- Browser: chrome 96
I had this from the hlstats logs:
#Undefined subroutine &main::CSGO called at ./hlstats.pl line 3121.
I'm not sure why but is it possible that the hlstats.pl requires to have the sub getServerMod
edited to add like:
} elsif ($gamename eq "Counter-Strike: GO") {
$playgame = "csgo";
or:
} elsif ($gamename =~ /^Counter-Strike: GO/i) {
$playgame = "csgo";
Let me know please if this needs fixed or if there is any way to resolve this solutions
Hello,
I checked the functionality of the daemon and everything works. Please see the documentation - prerequisites and running daemon part.
OS: Ubuntu 18.04 Game Server: CS:GO
OK I think i got it now. However I seem to be getting this error:-
Can't call method "set" on unblessed reference at .//HLstats_EventHandlers.plib line 564.
Not sure on what that means...