# ignore it.
if (defined($pos_calculating) && $pos->fen() eq $pos_calculating->fen()) {
$pos_calculating->{'result'} = $pos->{'result'};
+ for my $key ('white_clock', 'black_clock', 'white_clock_target', 'black_clock_target') {
+ $pos_calculating->{$key} //= $pos->{$key};
+ }
return;
}
# Splice the PV from the tablebase onto what we have so far.
for my $move (@{$pgn->moves}) {
+ last if $move eq '#';
my $uci_move;
($pos, $uci_move) = $pos->make_pretty_move($move);
push @moves, $uci_move;
return if ($tb_lookup_running);
$tb_lookup_running = 1;
- my $url = 'http://158.250.18.203:6904/tasks/addtask?auth.login=' .
+ my $url = 'http://tb7-api.chessok.com:6904/tasks/addtask?auth.login=' .
$remoteglotconf::tb_serial_key .
'&auth.password=aquarium&type=0&fen=' .
URI::Escape::uri_escape($pos->fen());