Moderator: Andres Valverde
Josu? Forte wrote:By the way, does Arena 1.1 support "currline" command? If so, how to activate it?
Are there any free UCI engines that support such command. If so, please tell me their names.
void uci_current_line(struct ply_parameters *p)
{
static char s[1024];
int i;
strcpy(s,"info currline");
for(i=0;i<(*p).ply;i++){
strcat(s," ");
strcat(s,move_string(search_parameters[i].current_move));
}
send_command(s);
}
Sun Apr 24 17:19:53 2005: to Monarch 1.47 (0): uci
Sun Apr 24 17:19:53 2005: from Monarch 1.47 (0): id name Monarch 1.48
Sun Apr 24 17:19:53 2005: from Monarch 1.47 (0): id author Steve Maughan
Sun Apr 24 17:19:53 2005: from Monarch 1.47 (0): option name Hash type spin default 1 min 1 max 128
Sun Apr 24 17:19:53 2005: from Monarch 1.47 (0): option name Ponder type check default true
Sun Apr 24 17:19:53 2005: from Monarch 1.47 (0): option name UCI_ShowCurrLine type check default false
Sun Apr 24 17:19:53 2005: from Monarch 1.47 (0): option name UCI_ShowRefutations type check default false
Sun Apr 24 17:19:53 2005: from Monarch 1.47 (0): option name UCI_LimitStrength type check default false
Sun Apr 24 17:19:53 2005: from Monarch 1.47 (0): option name UCI_Elo type spin default 1950 min 1200 max 1950
Sun Apr 24 17:19:53 2005: from Monarch 1.47 (0): option name Checks in QSearch type check default true
Sun Apr 24 17:19:53 2005: from Monarch 1.47 (0): option name Repeatable Search type check default false
Sun Apr 24 17:19:53 2005: from Monarch 1.47 (0): option name Show Strings type check default true
Sun Apr 24 17:19:53 2005: from Monarch 1.47 (0): option name ETC Depth type spin default 4 min 0 max 100
Sun Apr 24 17:19:53 2005: from Monarch 1.47 (0): option name IID Depth type spin default 4 min 3 max 100
Sun Apr 24 17:19:53 2005: from Monarch 1.47 (0): option name Extension to Zero type combo default 2.2 var 1.5 var 1.6 var 1.7 var 1.8 var 1.9 var 2.0 var 2.1 var 2.2 var 2.3 var 2.4 var 2.5 var 2.6 var 2.7 var 2.8 var 2.9 var 3.0 var 3.1 var 3.2 var 3.3 var 3.4 var 3.5 var 3.6 var 3.7 var 3.8 var 3.9 var 4.0 var Infinite
Sun Apr 24 17:19:53 2005: from Monarch 1.47 (0): uciok
Sun Apr 24 17:19:54 2005: to Monarch 1.47 (0): setoption name Hash value 128
Sun Apr 24 17:19:54 2005: to Monarch 1.47 (0): isready
Sun Apr 24 17:19:55 2005: from Monarch 1.47 (0): readyok
Sun Apr 24 17:19:55 2005: to Monarch 1.47 (0): setoption name Ponder value true
Sun Apr 24 17:19:55 2005: to Monarch 1.47 (0): setoption name UCI_ShowCurrLine value true
Sun Apr 24 17:19:55 2005: to Monarch 1.47 (0): setoption name UCI_ShowRefutations value false
Sun Apr 24 17:19:55 2005: to Monarch 1.47 (0): setoption name UCI_LimitStrength value false
Sun Apr 24 17:19:55 2005: to Monarch 1.47 (0): isready
Sun Apr 24 17:19:55 2005: from Monarch 1.47 (0): readyok
Sun Apr 24 17:20:00 2005: to Monarch 1.47 (0): ucinewgame
Sun Apr 24 17:20:00 2005: to Monarch 1.47 (0): isready
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): readyok
Sun Apr 24 17:20:00 2005: to Monarch 1.47 (0): position startpos
Sun Apr 24 17:20:00 2005: to Monarch 1.47 (0): go infinite
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): info depth 1 seldepth 1
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): info depth 1 seldepth 2
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): info depth 2 seldepth 2
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): info depth 3 seldepth 3
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): info depth 3 seldepth 4
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): info score cp 25 time 16 depth 3 seldepth 4 nodes 407 pv d2d4 g8f6 g1f3
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): info depth 4 seldepth 4
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): info depth 4 seldepth 5
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): info depth 4 seldepth 6
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): info depth 4 seldepth 7
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): info score cp 0 time 16 depth 4 seldepth 7 nodes 713 pv d2d4 g8f6 g1f3 d7d5
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): info depth 5 seldepth 5
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): info depth 5 seldepth 6
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): info depth 5 seldepth 7
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): info depth 5 seldepth 8
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): info depth 5 seldepth 9
Sun Apr 24 17:20:00 2005: from Monarch 1.47 (0): info depth 5 seldepth 10
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 5 seldepth 11
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info score cp 25 time 47 depth 5 seldepth 11 nodes 4947 pv d2d4 g8f6 g1f3 d7d5 b1c3
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 6 seldepth 6
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 6 seldepth 7
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 6 seldepth 8
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 6 seldepth 9
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 6 seldepth 10
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 6 seldepth 11
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 6 seldepth 12
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info score cp 0 time 47 depth 6 seldepth 12 nodes 11341 pv d2d4 g8f6 g1f3 d7d5 b1c3 b8c6
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 6 seldepth 13
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 7 seldepth 7
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 7 seldepth 8
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 7 seldepth 9
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 7 seldepth 10
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 7 seldepth 11
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 7 seldepth 12
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 7 seldepth 13
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 7 seldepth 14
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 7 seldepth 15
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info depth 7 seldepth 16
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info score cp 16 time 235 depth 7 seldepth 16 nodes 56952 pv d2d4 g8f6 g1f3 d7d5 b1c3 b8c6 c1e3
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info score cp 17 lowerbound time 422 depth 7 seldepth 16 nodes 86084 pv e2e4
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info currline e2e4 g8f6 e4e5 c7c5 e5f6 b7b6
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info score cp 20 time 750 depth 7 seldepth 16 nodes 120626 pv e2e4 b8c6 g1f3 g8f6 b1c3 d7d5 f1d3
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info nodes 120626 nps 160834
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info currmove e2e3 currmovenumber 3 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info nodes 120626 nps 160834
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info currmove d2d3 currmovenumber 4 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info nodes 120729 nps 160972
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info currmove c2c3 currmovenumber 5 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info nodes 120816 nps 161088
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info currmove b2b3 currmovenumber 6 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info nodes 120885 nps 161180
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info currmove f2f3 currmovenumber 7 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info nodes 120954 nps 161272
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info currmove a2a3 currmovenumber 8 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info nodes 121017 nps 161356
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info currmove c2c4 currmovenumber 9 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info nodes 121080 nps 161440
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info currmove b1c3 currmovenumber 10 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info nodes 121152 nps 161536
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info currmove g1f3 currmovenumber 11 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info nodes 121466 nps 111029
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info currmove b2b4 currmovenumber 12 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info nodes 122111 nps 111618
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info currmove g2g4 currmovenumber 13 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info nodes 122192 nps 111692
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info currmove f2f4 currmovenumber 14 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info nodes 122273 nps 111766
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info currmove g2g3 currmovenumber 15 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info nodes 122352 nps 111839
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info currmove h2h4 currmovenumber 16 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info nodes 122435 nps 111914
Sun Apr 24 17:20:01 2005: from Monarch 1.47 (0): info currmove h2h3 currmovenumber 17 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info nodes 122516 nps 111989
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info currmove a2a4 currmovenumber 18 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info nodes 122591 nps 94518
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info currmove b1a3 currmovenumber 19 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info nodes 122668 nps 94578
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info currmove g1h3 currmovenumber 20 depth 7 seldepth 16 hashfull 3
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info nodes 122747 nps 94639
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info depth 8 seldepth 8
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info currmove e2e4 currmovenumber 1 depth 8 seldepth 8 hashfull 3
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info nodes 122826 nps 94700
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info depth 8 seldepth 9
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info depth 8 seldepth 10
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info depth 8 seldepth 11
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info depth 8 seldepth 12
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info depth 8 seldepth 13
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info depth 8 seldepth 14
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info depth 8 seldepth 15
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info depth 8 seldepth 16
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info depth 8 seldepth 17
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info depth 8 seldepth 18
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info depth 8 seldepth 19
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info currline e2e4 b8c6 f1c4 g8f6 d1h5 f6h5 c4b5
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info depth 8 seldepth 20
Sun Apr 24 17:20:02 2005: from Monarch 1.47 (0): info score cp 3 time 1735 depth 8 seldepth 20 nodes 196434 pv e2e4 b8c6 b1c3 e7e5 g1e2 g8f6 d2d4 f8d6
Josu? Forte wrote:Do you know how to enable those check boxes in Arena 1.1?
Josu? Forte wrote:For instance, there is an option called "UCI_EngineAbout" that is not even mentioned in the protocol 2.
Dieter B?r?ner wrote:...
Btw. This discussion seems much more suited for "Programming" (if it is at all that welcome at the *Winboard* forum.
...
...This forum is also the place to discuss other chess GUIs, databases, tools, chess in general and other topics....
Volker Pittlik wrote:Dieter B?r?ner wrote:...
Btw. This discussion seems much more suited for "Programming" (if it is at all that welcome at the *Winboard* forum.
...
Please don't keep it personal Dieter:...This forum is also the place to discuss other chess GUIs, databases, tools, chess in general and other topics....
Dieter B?r?ner wrote:Volker, I cannot understand, what you mean by "please don't keep it personal".
Thanks (really) for the quote from the "readme" (I suppose). I even read it (some time ago), but could not remember it. I had somehow the vague memory from the past, that UCI/Arena/... were not always welcome here (by all posters). I appreciate, if they are. And I really see no reason to discuss it from my side .If my comment was inappropriate, I am sorry. Auf "Deutsch" - Sorry Hatte wirklich nicht vor, was Provozierendes oder Ans??iges zu sagen. Hatte das wirklich nur nebenbei bemerkt.
Gru?,
Dieter
Hi,
I would like to implement an UCI command called "currline" in
my engine. I have some questions about this subject:
1) Does Arena 1.1 support this feature? If so, how to enable
it in Arena?
2) Which commands should my engine send to Arena to display
the current line it is thinking about? A piece of code in C
language would be appreciated.
3) Can you tell me a couple of free UCI engines that support
this feature so that I can run them in my computer?
Regards,
Josu?
---------------------------------------------------------------------
Hi Stefan, Martin, Sune,
could you look in the second question of Josu?.
I am not able to give a right and good answer.
Topic is UCI II protocol.
Hi Josu?,
1. Arena Support all of the six new UCI II features.
Example: Currline
Load an UCI II compatible engine which support this feature.
I like Frenzee 2.0. Frenzee have for me the perfect UCI II support!
Load Frenzee 2.0 in Arena Chess GUI.
Right Mouse on the analzse windows under Arena.
You can see a new menu system.
Open:
View / Current Line !!
3. You can try it with Yace too, I believe with Monarch
and other UCI compatible engines.
To your questions 2:
I am not a programmer and can not answer of your second
question.
But I send a copy of your mail to Stefan Meyer-Kahlen and
Martin Blume. I am sure one of the programmers can give
you the information.
Thanks for your interest on UCI !!
You will like it !!
Best
Frank
---------------------------------------------------------------
Hi Josue,
I got a mail from Frank about a currline question.
Here is how it is done in Frenzee
To send a line use for instance:
void SearchUpdateStuff() {
if (uci_show_curr_line) {
static char buf[MAXBUF];
int len = 0;
for (uint i=0;i<uci_curr_ply;i++)
len += stack->undo[i].move.PrintUCI(&buf[len]);
printf("info currline %s\n",buf);
}
}
Then call this from inside the search like this:
int search(const int depth,...) {
if (time_to_search_update()) {
uci_curr_ply = depth;
SearchUpdateStuff();
}
So here "uci_curr_ply" is the current ply (or depth) of your search from the root.
It's a bit pseudo code, I hope you can understand it.
Let me know if you can't.
Btw. have you tried reading the CCC-forum?
Usually a good place to ask questions, although sometimes people
can be a bit lazy to answer.
-S.
Dieter B?r?ner wrote:...
Volker, I cannot understand, what you mean by "please don't keep it personal"...
Dieter B?r?ner wrote:...I had somehow the vague memory from the past, that UCI/Arena/... were not always welcome here (by all posters). I appreciate, if they are...
Dieter B?r?ner wrote:...Auf "Deutsch" - Sorry Hatte wirklich nicht vor, was Provozierendes oder Ans??iges zu sagen. Hatte das wirklich nur nebenbei bemerkt...
Roger Brown wrote:Dann Corbit and yourself were having a discussion on CCC about Yace being able to play a game against itself internally, within Yace, without a gui. Naturally I am curious as to how that works. Could you explain how to get Yace to do that from the ini file? Is it limited to one game only?
Josu? Forte wrote:Hi Ross and Rogger,
Yes, in the meantime I was contacting Arena support to clarify my doubts.
This morning I got two messages, from Frank Quisinsky and Sune Fischer (Frenzee), that definitely answered my questions.
I am attaching the messages just because the informations may be usefull to others.Hi,
I would like to implement an UCI command called "currline" in
my engine. I have some questions about this subject:
1) Does Arena 1.1 support this feature? If so, how to enable
it in Arena?
2) Which commands should my engine send to Arena to display
the current line it is thinking about? A piece of code in C
language would be appreciated.
3) Can you tell me a couple of free UCI engines that support
this feature so that I can run them in my computer?
Regards,
Josu?
---------------------------------------------------------------------
Hi Stefan, Martin, Sune,
could you look in the second question of Josu?.
I am not able to give a right and good answer.
Topic is UCI II protocol.
Hi Josu?,
1. Arena Support all of the six new UCI II features.
Example: Currline
Load an UCI II compatible engine which support this feature.
I like Frenzee 2.0. Frenzee have for me the perfect UCI II support!
Load Frenzee 2.0 in Arena Chess GUI.
Right Mouse on the analzse windows under Arena.
You can see a new menu system.
Open:
View / Current Line !!
3. You can try it with Yace too, I believe with Monarch
and other UCI compatible engines.
To your questions 2:
I am not a programmer and can not answer of your second
question.
But I send a copy of your mail to Stefan Meyer-Kahlen and
Martin Blume. I am sure one of the programmers can give
you the information.
Thanks for your interest on UCI !!
You will like it !!
Best
Frank
---------------------------------------------------------------
Hi Josue,
I got a mail from Frank about a currline question.
Here is how it is done in Frenzee
To send a line use for instance:
void SearchUpdateStuff() {
if (uci_show_curr_line) {
static char buf[MAXBUF];
int len = 0;
for (uint i=0;i<uci_curr_ply;i++)
len += stack->undo[i].move.PrintUCI(&buf[len]);
printf("info currline %s\n",buf);
}
}
Then call this from inside the search like this:
int search(const int depth,...) {
if (time_to_search_update()) {
uci_curr_ply = depth;
SearchUpdateStuff();
}
So here "uci_curr_ply" is the current ply (or depth) of your search from the root.
It's a bit pseudo code, I hope you can understand it.
Let me know if you can't.
Btw. have you tried reading the CCC-forum?
Usually a good place to ask questions, although sometimes people
can be a bit lazy to answer.
-S.
P.S. By the way Rogger, I completly agree with your words about Dieter.
Best regards,
Josu?.
Daniel Mehrmann wrote:The question is what are you doing if nullmoves in the played moves ?
Return to Programming and Technical Discussions
Users browsing this forum: No registered users and 5 guests