Menu

#4 Rcon Timeout displays after successful query (FIX)

open
nobody
None
5
2004-03-27
2004-03-27
No

If kkrcon.pl is run and the halflife server is
inaccessible, a command will display the error message:

kkrcon> stat
Error: Rcon timeout

When the halflife server becomes accessible, the same
command will run successfully but also return the error:

kkrcon> stat
hostname: Half-Life
version : 46/3.1.1.1 2378 insecure
tcp/ip : 127.0.0.1:27016
map : undertow at: 0 x, 0 y, 0 z
players : 0 active (6 max)

# name userid uniqueid
frag time p
ing loss adr
0 users
Error: Rcon timeout

This behavior can be fixed but adding the following to
line 170 of KKrcon.pl (version 2.11):

$self->{"error"} = undef;

This is right after the RCON handle is closed and right
before the phrase if ($ans eq "TIMEOUT").

Discussion


Log in to post a comment.

MongoDB Logo MongoDB