Open twoplan opened 1 year ago
Thanks for the report! I tried to reproduce the crash but couldn't. MayhemDuck plays normally. I think it could be the "judge" engine. As "e7e8;h5q" after this promotion. But I tried to handle all variations of promotions now v1.7 + some improvements. If MayhemDuck was crashing. Not 100% sure.
position fen 4r1k1/1pp3p1/2p2pbp/p2r4/3PR*1q/2P2Q2/PP4PP/5RK1 w - - 0 1 moves e4e8,e8f7 go btime 1000000 info depth 1 nodes 3849 time 1 nps 3849000 score cp -230 pv g8h7@e4 info depth 2 nodes 134537 time 19 nps 7080894 score cp -25 pv g8h7@c4 info depth 3 nodes 508132 time 51 nps 9963372 score cp -75 pv g8h7@a1 info depth 4 nodes 193074264 time 18545 nps 10411122 score cp -106 pv a5a4@f8 info depth 5 nodes 213835159 time 20474 nps 10444229 score cp -114 pv a5a4@f8 info depth 6 nodes 235286750 time 22449 nps 10480945 score cp -111 pv a5a4@f8 info depth 7 nodes 298393060 time 28103 nps 10617836 score cp -111 pv a5a4@f8 info depth 8 nodes 413237083 time 38457 nps 10745432 score cp -111 pv a5a4@f8 bestmove a5a4@f8
Same issue with version 1.7 ... seems indeed related to promotion. I was using mayhemduck-1.7-x86-windows-64bit.exe
[Event "Computer Chess Game"] [Site "Home"] [Date "2022.12.09"] [Round "-"] [White "TwoPlan"] [Black "MayhemDuck 1.7 (UCI2WB)"] [Result "*"] [TimeControl "40/300"] [Variant "duck"] [Annotator "1... -0.16"]
I finally found and fixed the crash. See v1.8. MayhemDuck worked flawlessly but WinBoard sent bad moves:
76 Move: e6c6,c6c3
77 Move: e5c6,c6b7
78 Move: f4f3,f3c3
79 Move: c6e5,e5a8
80 Move: f3f2,f2f1
81 Move: e5f7,f7a8
82 Move: f2f1,f1c3qf7h6,h6g7
83 Move: f7h6,h6g7
84 Move: g8h7,h7g4
85 Cmd: position
86 Cmd: go
87 Cmd: quit
Thanks for the new MayhemDuck! It feels weaker than the previous versions. The move 16. .. Bxh3 was surprising, but 20. ..Kd8 with duck to d4 (??) leads to an immediate loss.
Is the final illegal move message after my king capture to be expected?
Hello. I noticed it too. I played test games vs DuckSlayer and saw these blunders. 1.9 is stronger than 1.8 but I don't think much. It all comes down to ease of testing. Illegal move (0000) message is due Winboard sending moves after the king is captured.
Recently I played this game against MayhemDuck 1.6 and got the message from the screenshot after my 27th move:
[Event "Computer Chess Game"] [Site "Home"] [Date "2022.12.05"] [Round "-"] [White "TwoPlan"] [Black "MayhemDuck 1.6 (UCI2WB)"] [Result "*"] [TimeControl "40/300"] [Variant "duck"] [Annotator "1... -0.16"]
Don't know if gui or engine is responsible for the bug.