Page 1 of 1

Problem with AICE under arena (uci mode)?

PostPosted: 23 Mar 2005, 16:58
by Michael Yee
I've been having a weird problem with AICE under arena. First some notes:

- works fine as winboard engine
- works fine when I play it (as a human)

But it gets in a funny state when in UCI mode against other engines. Here's an example where AICE moved first, FireFly replied, then AICE started thinking (for wrong side) even before receiving the "go" command.

Code: Select all
139701>1:stop
139701>1:quit
140292*1*---------------------Starting engine 1 Aice 0.91.1 UCI----------------------
140292*1*Configured Engine 1 Type:   UCI
140412*1*Engine 1 dir: C:\games\chess\aice0911
140452*1*Engine 1 commandline: C:\games\chess\aice0911\aice.exe
140693<1:feature done=0
140693<1:Welcome to AICE 0.91.1
140693<1:Author: Anastasios Milikas (milix).
140693<1:Hash size 24.0 Mb (1048578 entries)
140693<1:QHash size 8.0 Mb (524290 entries)
140693<1:Pawn hash size 1.0 Mb (13108 entries)
140693<1:Opening book aice.bk loaded (10678 positions).
140833>1:uci
140883<1:id name AICE 0.91.1
140883<1:id author Anastasios Milikas
140883<1:option name Hash type spin default 32 min 1 max 512
140883<1:option name PawnHash type spin default 1 min 1 max 32
140933<1:option name MaxDepth type spin default 50 min 1 max 96
140933<1:option name Ponder type check default false
140933<1:option name Resigns type check default true
140943<1:option name ResignValue type spin default 7 min 3 max 99
140943<1:option name AcceptsDraw type check default true
140953<1:option name Pondering type combo default GUI var GUI var Never var Always
140953<1:option name Logging type combo default None var None var Normal var Detailed
140953<1:option name BookUsage type combo default Normal var None var Tournament var Normal var Random
140963<1:uciok
141163>1:isready
141684<1:readyok
149956**-------------NewGame!!!-------------
154102*1*Start calc, move no: 0
154112>1:ucinewgame
154112>1:isready
154142<1:readyok
154232>1:position startpos
154232>1:go wtime 300000 btime 300000 winc 3000 binc 3000
154242<1:info depth 0 seldepth 0 score cp 25 time 0 nodes 0 pv e2e4
154242<1:bestmove e2e4
154252*1*Found move:e2-e4
154583**New move before message, game, Game: 0 Move: 1
154583**New move after message, game 0, should be: 0 engine to move:2
154593>2:isready
154613<2:readyok
154693*2*Start calc, move no: 1
154693>2:ucinewgame
154703>2:isready
154723<2:readyok
154803>2:position startpos moves e2e4
154803>2:go wtime 302995 btime 303000 winc 3000 binc 3000
155203<2:bestmove c7c5
155213*2*Found move:c7-c5
155554**New move before message, game, Game: 0 Move: 2
155554**New move after message, game 0, should be: 0 engine to move:1
155564>1:isready
155604<1:readyok
155604<1:info depth 1
155604<1:info depth 1 score cp -22 time 0 nodes 5 pv b8a6
155644<1:info depth 1 score cp 25 time 0 nodes 8 pv b8c6
155684<1:info depth 2
155684<1:info depth 2 score cp -24 time 0 nodes 77 pv b8c6 g1f3
155724<1:info depth 2 score cp -22 time 0 nodes 122 pv g8f6 b1c3
155764<1:info depth 3
155764<1:info depth 3 score cp 27 time 0 nodes 329 pv g8f6 b1c3 b8c6
155764<1:info depth 4
155794<1:info depth 4 score cp -16 time 0 nodes 904 pv g8f6 b1c3 d7d5 e4d5
155794<1:info depth 5
155794*1*Start calc, move no: 2
155804>1:position startpos moves e2e4 c7c5
155804>1:go wtime 302995 btime 302595 winc 3000 binc 3000
155804<1:info depth 5 score cp 0 time 10 nodes 3635 pv g8f6 b1c3 e7e5 g1f3 b8c6
155834<1:info depth 6
155844<1:info depth 6 score cp -22 time 50 nodes 12784 pv g8f6 e4e5 f6d5 g1f3 b8c6
...
163666<1:info depth 11
163676<1:info currmove e7e5
163676<1:currmovenumber 1
170375<1:info depth 11 score cp -32 time 14812 nodes 4422885 pv e7e5 g1f3 f8d6 b1c3 b8c6 f1c4 g8f6 e1g1 e8g8 d2d4 d6b4

170385<1:info currmove g8f6
170385<1:currmovenumber 2
173259<1:info depth 11 score cp -21 time 17696 nodes 5379976 pv g8f6 e4e5 f6d5 g1f3 e7e6 f1c4 d5b6 c4e2 f8b4
173269<1:bestmove g8f6
173269*1*---------> Arena:Illegal move! (bestmove g8f6)
173309<1:info depth 0 seldepth 0 score cp 25 time 0 nodes 0 pv b1c3
173309<1:bestmove b1c3
173319*1*---------> Arena:Illegal move! (bestmove b1c3)


Any ideas what's going on? Sorry if this is a known issue...

Michael

Re: Problem with AICE under arena (uci mode)?

PostPosted: 23 Mar 2005, 19:45
by milix
Hi Michael,
it is a bug in AICE. When AICE receives the 'isready' command for a second it starts to think. I'll fixed soon. My Arena (1.1) or Fritz8 does not send 'isready' for second time. Thanks for point it!

Re: Problem with AICE under arena (uci mode)?

PostPosted: 23 Mar 2005, 20:29
by Michael Yee
Thanks for looking into it! -- Michael