From: Steinar H. Gunderson Date: Fri, 15 Nov 2013 18:08:43 +0000 (+0100) Subject: Ignore upperbound and lowerbound scores (Stockfish originates these). X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=224bcaaa77ed980993f3c7818a1c7de730d0fbab Ignore upperbound and lowerbound scores (Stockfish originates these). --- diff --git a/remoteglot.pl b/remoteglot.pl index 8e04570..b480b80 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -188,6 +188,7 @@ while (1) { if ($nfound > 0 && vec($rout, fileno($engine->{'read'}), 1) == 1) { my @lines = read_lines($engine); for my $line (@lines) { + next if $line =~ /(upper|lower)bound/; handle_uci($engine, $line, 1); } $sleep = 0; @@ -197,6 +198,7 @@ while (1) { if ($nfound > 0 && vec($rout, fileno($engine2->{'read'}), 1) == 1) { my @lines = read_lines($engine2); for my $line (@lines) { + next if $line =~ /(upper|lower)bound/; handle_uci($engine2, $line, 0); } $sleep = 0;