From: Shiar Date: Sat, 12 Jan 2008 02:57:48 +0000 (+0000) Subject: screp: show slot numbers in player summary X-Git-Url: http://git.shiar.nl/perl/schtarr.git/commitdiff_plain/f4e2ce2829b6a78745a2baa0de57c8bd75cd084b screp: show slot numbers in player summary Useful to know player id for later processing. --- 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,