Just to expand on those:
"Servers having multiple net_ports":
For some reason that I haven't managed to find yet, tv_port variables get translated into net_port variables. It seems that between 0.7.1 and 0.7.2 you have changed the behaviour of tv_port to load from the server.cfg instead of the .launchrc, however the CPGS daemon still assigns this variable in the set_default_configs sub (in cstrikesrc.pm):
Code:
if(open(LAUNCHRC,'>',"$dir/.launchrc")) {
print LAUNCHRC "net_ip $defip\n";
print LAUNCHRC "game cstrike\n";
print LAUNCHRC "defmap cs_office\n";
print LAUNCHRC "net_port $lowport\n";
print LAUNCHRC "autoupdate 0\n";
print LAUNCHRC "maxplayers $maxc\n";
print LAUNCHRC "tv_enable 0\n";
print LAUNCHRC "tv_port \n";
close(LAUNCHRC);
}
When this changes to "net_port " by whatever does that, it results in a blank display in the port variable on the client's GameServ page. We've remedied this simply by removing that line that I've made large.
"GameServ Restart Script is broken"
My perl abilities aren't the greatest, but from my understanding the restartserver sub in the cpgsd.pl daemon wasn't updated to handle the new format of the startserver sub. Either way, this results in the following error in /var/log/cpgsd:
Code:
[Sun Dec 13 12:10:01 2009] user(root) Line(3842) Warning from decode_base64 (main,./cpgsd.pl,1098): insomniacod401 not a multiple of 4
If I run a restartserver command manually through the cpgs_comm script, this results in a successful server stop output, but absolutely no output after that (other than that line in the cpgsd log file).