- Status Closed
- Percent Complete
- Task Type Bug Report
- Category Client
- Assigned To No-one
- Operating System All / Undefined
- Severity Low
- Priority Very Low
- Reported Version Development
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#50 - kkrcon is timeouting
PLEASE FILL THIS FORM PROPERLY TO MAKE SURE WE HAVE ENOUGH INFORMATIONS TO REPRODUCE THE BUG AND TRY TO FIX IT !
THE FOLLOWING FORM HAS BEEN MODIFIED ON MARCH 12th 2011.
* N!tmod version : 2.2 final
* Build Date (!about cmd) : may 31 2012
* Map : more
* Omni-Bot enabled ? : yes
* If yes, bot count : 1-10
* Gametype : 6
* Any custom mapscripts ? If yes, provide link : no
* Any LUA modules ? If yes, provide link : no
* Happens in Warmup/Playing/Intermission ? : Anytimes
* Explain the bug :
kkrcon (http://sourceforge.net/projects/kkrcon/) can't connect via rcon to ET running N!tmod 2.2. The earlier version could do that,
* Additional informations :
I made a workarund indepenting by kkrcon in Perl:
$hostname = 'ip.ip.ip.ip'; #ip address
$port = '27960';
$protocol = "udp";
$et = IO::Socket::INET->new(
PeerAddr => $hostname,
PeerPort => $port,
Proto => $protocol,
#Type => SOCK_STREAM
) or die "Could not open port.\n";
print $et "\377\377\377\377rcon password exec command";
undef $data;
my $status = "";
local $SIG{ALRM} = sub { die "alarm\n"; }; # NB \n required
alarm(1);
eval {
while ( recv( $et, $status, 1024, 0 ) ) {
my $size = length($status);
$status =~ s/^\377\377\377\377//;
$status =~ s/print\n//;
$data .= $status;
}
};
alarm(0);
That is never lost the time and works, usable.
Actually I suppose, N!trox, please find kkrcon why doesn't get answer from 2.2 final...