From bb6ade01b9d1665e3dbb03a8fb9e16152be1a338 Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Tue, 15 Jan 2008 10:36:37 +0100 Subject: [PATCH] Oops, it was Incoming that should be switched, not launch --- scripts/scans.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/scans.pl b/scripts/scans.pl index 30c4b59..dc5b575 100755 --- a/scripts/scans.pl +++ b/scripts/scans.pl @@ -128,7 +128,7 @@ while (my $scan = $newscans->fetchrow_hashref){ my ($target) = $dbh->selectrow_array($findplanet,undef ,$2,$3,$4,$t) or die $dbh->errstr; die "No target: $2:$3:$4" unless defined $target; - my $id = addfleet($1,$mission,undef,$target,$planet,$6 + my $id = addfleet($1,$mission,undef,$planet,$target,$6 ,$eta,$back,undef, ($x == $2 && $y == $3)); $fleetscan->execute($id,$scan->{id}) or die $dbh->errstr; }elsif($news eq 'Incoming' && $text =~ m/We have detected an open jumpgate from (.*?), located at (\d+):(\d+):(\d+). The fleet will approach our system in tick (\d+) and appears to have roughly (\d+) ships/g){ @@ -140,7 +140,7 @@ while (my $scan = $newscans->fetchrow_hashref){ my ($target) = $dbh->selectrow_array($findplanet,undef ,$2,$3,$4,$t) or die $dbh->errstr; die "No target: $2:$3:$4" unless defined $target; - my $id = addfleet($1,$mission,undef,$planet,$target,$5 + my $id = addfleet($1,$mission,undef,$target,$planet,$5 ,$eta,$back,$6, ($x == $2 && $y == $3)); $fleetscan->execute($id,$scan->{id}) or die $dbh->errstr; } -- 2.39.2