XB->depth_limit = FALSE;
XB->node_rate=-1;
+ if (option_find(Uci->option,"UCI_PlayByNodes")) {
+ uci_send_option(Uci,"UCI_PlayByNodes","%d",0);
+ }
XB->computer = FALSE;
my_string_set(&XB->name,"<empty>");
gui_send(GUI,"pong %s",Star[0]);
}
} else if (match(string,"nps *")) {
-
+
+ if (Star[0] > 0 && option_find(Uci->option,"UCI_PlayByNodes")) {
+
+ uci_send_option(Uci,"UCI_PlayByNodes","%d",Star[0]);
+
+ } else
// fake WB play-by-nodes mode
XB->node_rate = atoi(Star[0]);
} else if (match(string,"playother")) {
if(my_string_case_equal(opt->name,"UCI_ShredderbasesPath")) continue;
if(my_string_case_equal(opt->name,"UCI_SetPositionValue")) continue;
if(my_string_case_equal(opt->name,"UCI_DrawOffers")) continue;
+ if(my_string_case_equal(opt->name,"UCI_PlayByNodes")) continue;
if(my_string_case_equal(opt->name,"Ponder")) continue;
if(my_string_case_equal(opt->name,"Hash")) continue;
if(my_string_case_equal(opt->name,"NalimovPath")) continue;