Changing this code in KKrcon.pm fixed this problem for me:
sub _sendrecv
{
my ($self, $msg) = @_;
my$host=$self->\{"server\_host"\};my$port=$self->\{"server\_port"\};my$ipaddr=$self->\{"\_ipaddr"\};my$proto=$self->\{"\_proto"\};\# Open socketsocket\(RCON,PF\_INET,SOCK\_DGRAM,$proto\)ordie\("KKrcon:socket:$\!\n"\);\# bind causes problems if hostname\(\) gets wrong
interface...
# and it doesn't seem to be necessary
#
#my $iaddr = gethostbyname(hostname());
#my $paddr = sockaddr_in(0, $iaddr);
#bind(RCON, $paddr)
# or die("KKrcon: bind: $!\n");
Logged In: NO
This same thing happens when trying to retrieve a user list,
if your server is full with 32 people. You only get 17 users
returned.
Logged In: NO
Changing this code in KKrcon.pm fixed this problem for me:
sub _sendrecv
{
my ($self, $msg) = @_;
interface...
# and it doesn't seem to be necessary
#
#my $iaddr = gethostbyname(hostname());
#my $paddr = sockaddr_in(0, $iaddr);
#bind(RCON, $paddr)
# or die("KKrcon: bind: $!\n");
trailing crap
$ans =~ s/^\xFF\xFF\xFF\xFFl//; #
HL response
$ans =~ s/^\xFF\xFF\xFF\xFFn//; #
QW response
$ans =~ s/^\xFF\xFF\xFF\xFF//; #
Q2/Q3 response
$ans =~ s/^\xFE\xFF\xFF\xFF.....//; #
old HL bug/feature
$ret = $ret . $ans;
}
}