Menu

#5 2.11 - multiline response from server not working propperly

open
nobody
None
5
2005-01-24
2005-01-24
Anonymous
No

hi,
I'm using KKrcon 2.11 in combination with Enemy
Territory, which is a beefed up Quake3 Arena engine.
rcon commands which are returning several lines seem
not to work propperly. I tested it with "/rcon status".
this command should return mapname and a list of every
player on the server. instead it only returns 1 player
on the server and loses some lines.

output if only 1 player is on server:
5 lines

print
map: $mapname
num score ping name lastmsg address qport rate
--- ----- ---- --------------- -------
--------------------- ----- -----
$num $score $ping $player1 $lm $IP:$port $qport $rate

if there are 2 or more player on the server, the output
is somehow scrambled and looks like that:
2lines

print
$num $score $ping $player1 $lm $IP:$port $qport $rate

lines for map, header and separator missing. as well as
the 2nd player info line

should look like this:

print
map: $mapname
num score ping name lastmsg address qport rate
--- ----- ---- --------------- -------
--------------------- ----- -----
$num $score $ping $player1 $lm $IP:$port $qport $rate
$num $score $ping $player2 $lm $IP:$port $qport $rate

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I'm posting the output for better overview again

    output if only 1 player is on server
    5 lines

    print
    map: $mapname
    num score ping name lastmsg address qport rate
    ---separator---
    $num $score $ping $player1 $lm $IP:$port $qport $rate

    if there are 2 or more player on the server, the output is
    somehow scrambled and looks like that:
    2lines

    print
    $num $score $ping $player1 $lm $IP:$port $qport $rate

    output should look like:
    6 lines

    print
    map: $mapname
    num score ping name lastmsg address qport rate
    ---separator---
    $num $score $ping $player1 $lm $IP:$port $qport $rate
    $num $score $ping $player2 $lm $IP:$port $qport $rate

     
  • Nobody/Anonymous

    Logged In: NO

    output if only 1 player is on server:
    5 lines

    print
    map: $mapname
    num score ping name lastmsg address qport rate
    --separator--
    $num $score $ping $player1 $lm $IP:$port $qport $rate

    if there are 2 or more player on the server, the output is
    somehow scrambled and looks like that:
    2lines

    print
    $num $score $ping $player1 $lm $IP:$port $qport $rate

    should look like this:
    6 lines

    print
    map: $mapname
    num score ping name lastmsg address qport rate
    --separator--
    $num $score $ping $player1 $lm $IP:$port $qport $rate
    $num $score $ping $player2 $lm $IP:$port $qport $rate

     

Log in to post a comment.

MongoDB Logo MongoDB