From 224bcaaa77ed980993f3c7818a1c7de730d0fbab Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 15 Nov 2013 19:08:43 +0100 Subject: [PATCH] Ignore upperbound and lowerbound scores (Stockfish originates these). --- remoteglot.pl | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.2