git.shiar.nl
/
perl
/
schtarr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
screp: show number of played frames
[perl/schtarr.git]
/
screp
diff --git
a/screp
b/screp
index 10a2554826707ef615ef04465ce76b808b43c8c2..4b1f033159b8614100d43d28a30f0b6121fdc7f2 100755
(executable)
--- a/
screp
+++ b/
screp
@@
-475,8
+475,6
@@
if ($SHOWWARN) {
}
}
}
}
-printf "duration: %s\n", showtime($map->[-1][0]);
-
my %cmdmacro = map {$_ => 1} (
(map {$_, "cancel $_"}
qw/train build hatch research upgrade arm/,
my %cmdmacro = map {$_ => 1} (
(map {$_, "cancel $_"}
qw/train build hatch research upgrade arm/,
@@
-498,9
+496,9
@@
for my $player (sort keys %stats) {
my $row = $stats{$player};
$row->{last} ||= $map->[-1][0];
# printf("%d:%6d actions (%3d micro,%4d macro);%4d APM\n",
my $row = $stats{$player};
$row->{last} ||= $map->[-1][0];
# printf("%d:%6d actions (%3d micro,%4d macro);%4d APM\n",
- printf("%d:%6d actions
;%4
d APM\n",
- $player,
-
$row->{actions}
,
+ printf("%d:%6d actions
in%7d frames (%s) = %
d APM\n",
+ $player,
$row->{actions}, $row->{last},
+
showtime($row->{last})
,
# $row->{micro} / $row->{last} * 60 / .042 * 1.05,
# $row->{macro} / $row->{last} * 60 / .042 * 1.05,
$row->{gameactions} / $row->{last} * 60 / .042 * 1.042,
# $row->{micro} / $row->{last} * 60 / .042 * 1.05,
# $row->{macro} / $row->{last} * 60 / .042 * 1.05,
$row->{gameactions} / $row->{last} * 60 / .042 * 1.042,