From f4e2ce2829b6a78745a2baa0de57c8bd75cd084b Mon Sep 17 00:00:00 2001 From: Shiar Date: Sat, 12 Jan 2008 02:57:48 +0000 Subject: [PATCH] screp: show slot numbers in player summary Useful to know player id for later processing. --- screp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/screp b/screp index edf643e..4b896b5 100755 --- a/screp +++ b/screp @@ -524,7 +524,8 @@ for my $player (sort keys %stats) { $row->{last} ||= $map->[-1][0]; # printf("%-16s%6d actions (%3d micro,%4d macro);%4d APM\n", my $name = showplayer($player); - printf("%-16s%6d actions in%7d frames (%s) = %d APM\n", + printf("%d %-16s%6d actions in%7d frames (%s) = %d APM\n", + $row->{slot}, $name, $row->{actions}, $row->{last}, showtime($row->{last}), # $row->{micro} / $row->{last} * 60 / .042 * 1.05, -- 2.30.0