I implemented winboard interface with my engine and I have a problem showing custom PV.
From what I understood, it seems to me that WB expect at least one move in last part of the message. This is OK when you end up with exact scores or failhigh, as you can dump at least one move. But when failing low, as you don't really know what move you should do WB mixes up the messages:
This is a winboard.debug excerpt:
Code: Select all
7294 <first : 1 -110 0 453 c5d4 a5c6 b7c6 d1h5 h7g8 c3d4
7296 <first : 1 -107 0 979 c5c4 d1h5 h7g8
7296 <first : 1 -5 0 2714 h5h4 d1h5 h7g8
7297 <first : 1 0 0 3022 g7g6
7297 <first : 1 197 0 4029 d8a5 d1h5 h7g8
7298 <first : 1 197 0 4042 d8a5 d1h5 h7g8
7298 <first : 2 197 0 497 d8a5 d1h5 h7g8
7301 <first : 2 197 0 4658 d8a5 d1h5 h7g8
7309 <first : 3 197 1 11459 d8a5 d1h5 h7g8
7313 <first : 3 197 1 15781 d8a5 d1h5 h7g8
7315 <first : 4 194 2 3825 d8a5 d1h5 h7g8 h3f4 c5d4 c3d4
7320 <first : 4 194 2 10557 d8a5 d1h5 h7g8 h3f4 c5d4 c3d4
7335 <first : 5 120 4 18808 low
Impossible move d8a5, type = 0
7376 <first : 5 16 8 54590 low
Impossible move d8a5, type = 0
7770 <first : 5 -1 47 517707 g7g6 a5c6 b7c6 f2f4 d8a5 h3g5 h7h6
8234 <first : 5 -1 93 1148547 g7g6 a5c6 b7c6 f2f4 d8a5 h3g5 h7h6
9701 <first : 6 -4 240 1905887 g7g6 b2b4 c5c4 d1e2 d8h4 f2f4
10431 <first : 6 -4 313 2843546 g7g6 b2b4 c5c4 d1e2 d8h4 f2f47 -0.02 11.1M 0:11.36 g7g6 b2b4 c5b4 c3b4 d8e7 d1d2 f7f5 h3g5 h7h8
7 -0.02 6.5M 0:08.02 g7g6 b2b4 c5b4 c3b4 d8e7 d1d2 f7f5 h3g5 h7h8
6 -0.04 2.8M 0:03.13 g7g6 b2b4 c5c4 d1e2 d8h4 f2f4
6 -0.04 1.9M 0:02.40 g7g6 b2b4 c5c4 d1e2 d8h4 f2f4
5 +1.20 18808 0:00.04 low
5 +0.16 54590 0:00.08 low
5 -0.01 1.1M 0:00.93 g7g6 a5c6 b7c6 f2f4 d8a5 h3g5 h7h6
5 -0.01 517707 0:00.47 g7g6 a5c6 b7c6 f2f4 d8a5 h3g5 h7h6
4 +1.94 10557 0:00.02 d8a5 d1h5 h7g8 h3f4 c5d4 c3d4
4 +1.94 3825 0:00.02 d8a5 d1h5 h7g8 h3f4 c5d4 c3d4
3 +1.97 15781 0:00.01 d8a5 d1h5 h7g8
3 +1.97 11459 0:00.01 d8a5 d1h5 h7g8
2 +1.97 4658 0:00.00 d8a5 d1h5 h7g8
2 +1.97 497 0:00.00 d8a5 d1h5 h7g8
1 +1.97 4042 0:00.00 d8a5 d1h5 h7g8
The bold lines shows the problem, where you can see lines are in quite random order.
Am I missing something?
Best regards,
Natale.
