]> git.sesse.net Git - remoteglot/blobdiff - remoteglot.pl
Fix yet more castling issues.
[remoteglot] / remoteglot.pl
index ea1e13de9be03d4b1be1698eb931d2f6d18b10a4..c960bb247f63bf0744ebeee477567867715ba325 100755 (executable)
@@ -21,7 +21,7 @@ $SIG{ALRM} = sub { output_screen(); };
 $| = 1;
 
 my $server = "freechess.org";
 $| = 1;
 
 my $server = "freechess.org";
-my $target = "GMCarlsen";
+my $target = "Sesse";
 # my $engine = "/usr/games/toga2";
 my $engine = "wine Rybkav2.3.2a.mp.w32.exe";
 
 # my $engine = "/usr/games/toga2";
 my $engine = "wine Rybkav2.3.2a.mp.w32.exe";
 
@@ -52,8 +52,9 @@ while (<UCIREAD>) {
 
 uciprint("setoption name UCI_AnalyseMode value true");
 uciprint("setoption name NalimovPath value c:\\nalimov");
 
 uciprint("setoption name UCI_AnalyseMode value true");
 uciprint("setoption name NalimovPath value c:\\nalimov");
-uciprint("setoption name NalimovUsage value Normally");
-uciprint("setoption name MultiPV value 3");
+uciprint("setoption name NalimovUsage value Rarely");
+uciprint("setoption name Hash value 1024");
+# uciprint("setoption name MultiPV value 3");
 # uciprint("setoption name Contempt value 1000");
 # uciprint("setoption name Outlook value Ultra Optimistic");
 uciprint("ucinewgame");
 # uciprint("setoption name Contempt value 1000");
 # uciprint("setoption name Outlook value Ultra Optimistic");
 uciprint("ucinewgame");
@@ -303,7 +304,7 @@ sub prettyprint_pv {
                
                # rook
                substr($nb[0], 7, 1, '-');
                
                # rook
                substr($nb[0], 7, 1, '-');
-               substr($nb[0], 5, 1, 'R');
+               substr($nb[0], 5, 1, 'r');
                                
                return ('0-0', prettyprint_pv(\@nb, @pvs));
        }
                                
                return ('0-0', prettyprint_pv(\@nb, @pvs));
        }
@@ -318,7 +319,7 @@ sub prettyprint_pv {
                
                # rook
                substr($nb[0], 0, 1, '-');
                
                # rook
                substr($nb[0], 0, 1, '-');
-               substr($nb[0], 3, 1, 'R');
+               substr($nb[0], 3, 1, 'r');
                                
                return ('0-0-0', prettyprint_pv(\@nb, @pvs));
        }
                                
                return ('0-0-0', prettyprint_pv(\@nb, @pvs));
        }