Page 1 of 1

Counter and ACE promotion bug

PostPosted: 05 Apr 2007, 15:04
by George Lyapko
It seems strange but both relatively new UCI engines has the same promotion bug (when used with polyglot). Here are examples:
Code: Select all
1689938 <first : 9 +1958 0 777157
1689938 <first : move c2c1
1689938 >second: time 1778
1689938 >second: otim 754
1689938 >second: usermove 1689938 >second: c2c1q
1689938 <first : move_step(): illegal move "c2c1"
Fatal Error: Error: first chess program (polyglot counter.ini) exited unexpectedly
GameEnds(0, (null), 2)
1692282 >first : force
1692282 >first : ping 4
1692282 >second: force
1692282 >second: ping 4
Exiting: Match Counter 0.1 vs. Heracles 0.3.0: final score 1-0-1
1692282 >first : quit
1692282 >second: quit

and from ACE:

29812 >first : usermove 29812 >first : h7f6
29937 <first : move b7b8
29937 >second: time 39787
29937 >second: otim 40342
29937 >second: b8=Q
29937 <first : move_step(): illegal move "b7b8"
29968 <second: move f6d7
29968 >first : time 40342
29968 >first : otim 40784
29968 >first : usermove 29968 >first : f6d7
Fatal Error: Error: first chess program (polyglot ace.ini) exited unexpectedly
GameEnds(0, (null), 2)
30187 >first : force
30187 >first : ping 1
30187 >second: force
30187 >second: ping 2
30187 >first : quit
30187 >second: quit



Is this known issue and is there any workaround?

Best regards,
George

Re: Counter and ACE promotion bug

PostPosted: 06 Apr 2007, 00:31
by Ron Murawski
George Lyapko wrote:It seems strange but both relatively new UCI engines has the same promotion bug (when used with polyglot). Here are examples:
Code: Select all
1689938 <first : 9 +1958 0 777157
1689938 <first : move c2c1
1689938 >second: time 1778
1689938 >second: otim 754
1689938 >second: usermove 1689938 >second: c2c1q
1689938 <first : move_step(): illegal move "c2c1"
Fatal Error: Error: first chess program (polyglot counter.ini) exited unexpectedly
GameEnds(0, (null), 2)
1692282 >first : force
1692282 >first : ping 4
1692282 >second: force
1692282 >second: ping 4
Exiting: Match Counter 0.1 vs. Heracles 0.3.0: final score 1-0-1
1692282 >first : quit
1692282 >second: quit

and from ACE:

29812 >first : usermove 29812 >first : h7f6
29937 <first : move b7b8
29937 >second: time 39787
29937 >second: otim 40342
29937 >second: b8=Q
29937 <first : move_step(): illegal move "b7b8"
29968 <second: move f6d7
29968 >first : time 40342
29968 >first : otim 40784
29968 >first : usermove 29968 >first : f6d7
Fatal Error: Error: first chess program (polyglot ace.ini) exited unexpectedly
GameEnds(0, (null), 2)
30187 >first : force
30187 >first : ping 1
30187 >second: force
30187 >second: ping 2
30187 >first : quit
30187 >second: quit



Is this known issue and is there any workaround?

Best regards,

George


Hi George,

This is just a guess, but perhaps those engines want to see a move of the form:
"c2c1=q" or "b7b8=q"

In both of your examples there was no '='. You might have to test upper and lower case 'Q' as well.

Ron

Re: Counter and ACE promotion bug

PostPosted: 06 Apr 2007, 05:55
by George Lyapko
Ron Murawski wrote:
George Lyapko wrote:It seems strange but both relatively new UCI engines has the same promotion bug (when used with polyglot). Here are examples:
Code: Select all
1689938 <first : 9 +1958 0 777157
1689938 <first : move c2c1
1689938 >second: time 1778
1689938 >second: otim 754
1689938 >second: usermove 1689938 >second: c2c1q
1689938 <first : move_step(): illegal move "c2c1"
Fatal Error: Error: first chess program (polyglot counter.ini) exited unexpectedly
GameEnds(0, (null), 2)
1692282 >first : force
1692282 >first : ping 4
1692282 >second: force
1692282 >second: ping 4
Exiting: Match Counter 0.1 vs. Heracles 0.3.0: final score 1-0-1
1692282 >first : quit
1692282 >second: quit

and from ACE:

29812 >first : usermove 29812 >first : h7f6
29937 <first : move b7b8
29937 >second: time 39787
29937 >second: otim 40342
29937 >second: b8=Q
29937 <first : move_step(): illegal move "b7b8"
29968 <second: move f6d7
29968 >first : time 40342
29968 >first : otim 40784
29968 >first : usermove 29968 >first : f6d7
Fatal Error: Error: first chess program (polyglot ace.ini) exited unexpectedly
GameEnds(0, (null), 2)
30187 >first : force
30187 >first : ping 1
30187 >second: force
30187 >second: ping 2
30187 >first : quit
30187 >second: quit



Is this known issue and is there any workaround?

Best regards,

George


Hi George,

This is just a guess, but perhaps those engines want to see a move of the form:
"c2c1=q" or "b7b8=q"

In both of your examples there was no '='. You might have to test upper and lower case 'Q' as well.

Ron


The problem is that they say "illegal move" on their own move!

Maybe its polyglot who doesn't understand these c2c1 without piece?

Re: Counter and ACE promotion bug

PostPosted: 06 Apr 2007, 06:34
by George Lyapko
OK, I've found the solution...
All you need is to put

PromotionWorkAround=True

line in [Polyglot] section of .ini file.