Resp sources request and fix needed...
Posted: 25 Apr 2006, 15:07
I found a big problem in Resps implementation of move counting
and time/otim, when running a game from a pgn file.
It seems not to count the already given moves internally.
This leads to the situation that Resp thinks it has made 40-x
moves instead of 40 moves. It happily accepts the new plus time
and consumes it until 40+x moves is reached (Resp itself thinks 40+x = 40).
Then it notices it doesn't get another plus time and plays all moves
between 40+x and 80 in 0.01 - 0.05 seconds...
(In my example below x = 6 ; 6 moves from pgn)
If someone still has the sources of Resp somewhere and could fix
the prob too it would be nice.
Also sending the sources to me for my own attempt of fixing would
be fine.
Best wishes,
Guenther
Example of the problem:
[Event "?"]
[Site "?"]
[Date "2006.04.25"]
[Round "1"]
[White "Colossus_2006b"]
[Black "Resp_019"]
[Result "1-0"]
[TimeControl "40/900"]
[PlyCount "122"]
[Annotator "13.8-10.7"]
1. Nf3 d5 2. c4 e6 3. b3 Be7 4. Bb2 Bf6 5. Nc3 c5 6. cxd5 exd5 7. d4
{+0.14/14 36.29s 24100039n 664.1Knps} cxd4 {-0.07/12 25.09s 8428012n 340.2Knps}
8. Nxd4 {+0.14/15 31.61s 21163117n 669.6Knps} Ne7
{-0.13/12 24.63s 3304510n 336.7Knps} 9. e3 {+0.24/13 19.90s 12866927n 646.6Knps}
Nbc6 {-0.05/12 24.55s 7513326n 325.1Knps} 10. Nxc6
{+0.18/13 39.99s 26385688n 659.8Knps} Nxc6 {-0.11/12 24.50s 6841922n 322.4Knps}
11. Bd3 {+0.34/12 22.80s 14642588n 642.1Knps} O-O
{-0.02/11 24.36s 5989699n 309.1Knps} 12. O-O
{+0.22/12 19.55s 13030583n 666.6Knps} Be6 {-0.15/10 24.33s 5918017n 304.1Knps}
13. Qc2 {+0.28/12 31.78s 20023255n 630.1Knps} Nb4
{+0.07/12 24.35s 7526067n 347.3Knps} 14. Qb1
{+0.08/13 28.69s 18599776n 648.3Knps} Nxd3 {+0.14/12 24.14s 6643473n 297.4Knps}
15. Qxd3 {+0.12/15 27.47s 18369525n 668.7Knps} Rc8
{+0.14/12 24.03s 5264414n 278.7Knps} 16. Rac1
{+0.12/13 36.42s 23973955n 658.2Knps} Re8 {+0.11/11 21.83s 5106745n 286.3Knps}
17. Rfd1 {+0.10/12 19.60s 12916638n 659.0Knps} Qa5
{+0.09/11 22.05s 4018812n 246.8Knps} 18. a3
{+0.10/13 18.30s 13346895n 729.5Knps} Be5 {-0.04/11 21.74s 2048249n 258.9Knps}
19. f4 {+0.30/14 26.44s 19669942n 744.0Knps} Bxc3
{-0.08/12 22.08s 3463691n 305.5Knps} 20. Rxc3
{+0.16/15 33.64s 24854612n 738.9Knps} f6 {-0.03/12 21.85s 6078396n 343.9Knps}
21. Rdc1 {+0.30/14 15.56s 11648372n 748.5Knps} Rxc3
{-0.10/12 21.81s 7565243n 377.7Knps} 22. Rxc3
{+0.28/15 24.43s 18091284n 740.7Knps} Qb6 {-0.12/12 21.94s 2563201n 401.2Knps}
23. b4 {+0.28/14 45.51s 33647690n 739.4Knps} a5
{-0.06/12 21.76s 7369928n 390.0Knps} 24. b5
{+0.24/15 30.53s 23288266n 762.7Knps} Bf7 {-0.08/12 21.85s 4669569n 398.2Knps}
25. Kf2 {+0.36/13 15.71s 11370994n 723.7Knps} Qd6
{+0.00/12 21.69s 6908168n 397.4Knps} 26. Qd4
{+0.38/13 25.31s 18174512n 718.2Knps} Qd7 {+0.00/11 21.77s 5100433n 398.8Knps}
27. Rc5 {+0.26/14 29.19s 21164460n 725.0Knps} Qd8
{-0.11/12 21.82s 7252334n 419.8Knps} 28. Qd2
{+0.52/14 15.84s 11792313n 744.3Knps} Qd6 {-0.25/12 21.78s 6874532n 429.0Knps}
29. Qc1 {+0.66/14 21.25s 16097297n 757.5Knps} Be6
{-0.30/12 21.81s 5523485n 424.3Knps} 30. Bd4
{+0.68/14 19.04s 14721971n 773.3Knps} Bd7 {-0.42/12 21.70s 1948087n 416.5Knps}
31. a4 {+0.68/15 26.58s 20747324n 780.6Knps} b6
{-0.38/12 21.67s 4453991n 413.4Knps} 32. Rc7
{+0.72/15 19.72s 14676014n 744.3Knps} Rb8 {-0.38/12 21.67s 2572743n 407.1Knps}
33. Qc2 {+0.70/15 32.45s 23756118n 732.2Knps} Qe6
{-0.45/12 21.73s 7269779n 408.1Knps} 34. h3
{+0.80/15 17.90s 13369329n 747.1Knps} Qd6 {-0.64/12 21.69s 5614004n 398.7Knps}
35. g4 {+1.10/14 28.21s 20610594n 730.6Knps} Qe6
{-0.69/12 21.67s 3227032n 391.6Knps} 36. Kg1
{+1.41/15 34.45s 25328611n 735.2Knps} h5 {-1.01/12 21.69s 6482268n 377.9Knps}
37. f5 {+1.10/14 11.90s 9169611n 770.7Knps} Qd6
{-0.85/12 21.83s 5530449n 362.4Knps} 38. Qh2
{+1.06/14 13.85s 10722334n 774.2Knps} Qb4 {-1.69/11 21.65s 4727896n 405.6Knps}
39. Qf4 {+1.01/14 34.27s 26019077n 759.3Knps} Rc8
{-1.67/11 21.59s 8697021n 406.2Knps} 40. Rxc8+
{+1.07/14 26.66s 20737859n 777.9Knps} Bxc8 {-1.71/12 21.64s 5338896n 496.4Knps}
41. Bxb6 {+1.03/15 17.03s 13615076n 799.3Knps} Qe1+
{-1.41/14 171.69s 78258030n 524.3Knps} 42. Kh2
{+1.08/15 19.10s 15583597n 816.0Knps} Qe2+ {-1.41/13 171.66s 388n 19.4Knps} 43.
Kg3 {+1.03/14 32.51s 25543904n 785.8Knps} Qd1
{-1.20/13 171.54s 8252103n 499.1Knps} 44. Bc7
{+0.46/13 41.92s 33994145n 810.9Knps} Qg1+
{-0.66/14 171.59s 79522146n 549.9Knps} 45. Kh4
{+0.38/15 11.11s 8971403n 807.8Knps} hxg4 {-0.71/15 171.87s 62229323n 549.0Knps}
46. hxg4 {+0.63/15 30.73s 25451622n 828.1Knps} Qh1+
{-0.91/14 171.32s 19820423n 553.8Knps} 47. Kg3
{+0.44/16 12.77s 10713170n 839.1Knps} Qg1+ {-0.91/13 0.03s 377n 18.9Knps} 48.
Kh3 {+0.23/17 21.79s 18235122n 836.8Knps} Qh1+ {-0.91/12 0.05s 360n 18.0Knps}
49. Qh2 {+0.26/17 13.98s 11649569n 833.3Knps} Qf3+
{-0.91/11 0.05s 1292n 43.1Knps} 50. Bg3 {+0.24/17 22.15s 18203802n 821.8Knps}
Qxe3 {-0.91/10 0.03s 243n 12.2Knps} 51. Qf2
{+0.24/15 39.32s 30714744n 781.2Knps} Qe4 {-0.71/5 0.03s 7245n 241.5Knps} 52.
Qg2 {+0.18/14 17.01s 14194707n 834.3Knps} Qc4 {-0.74/5 0.02s 4591n 229.6Knps}
53. Bf2 {+0.24/14 22.14s 18127495n 818.7Knps} Kf7
{-0.24/5 0.06s 17627n 352.5Knps} 54. Bb6 {+0.52/13 18.74s 14627724n 780.7Knps}
g6 {-0.16/5 0.03s 4164n 138.8Knps} 55. Qf3 {+0.32/14 14.84s 11295670n 761.1Knps}
gxf5 {-0.34/6 0.06s 9621n 320.7Knps} 56. gxf5
{+0.47/14 32.09s 23415277n 729.8Knps} Ke7 {-0.34/5 0.03s 4288n 214.4Knps} 57.
Kg3 {+0.66/13 20.20s 15807885n 782.6Knps} Qxa4 {-0.32/5 0.04s 9744n 324.8Knps}
58. Bc5+ {+4.10/13 23.65s 20222556n 854.9Knps} Ke8
{-1.55/7 0.04s 11496n 287.4Knps} 59. Qh5+ {+99.87/5 0.27s 8752n 32.3Knps} Kd8
{-999.00/6 0.02s 258n 25.8Knps} 60. Bb6+ {+99.89/4 0.27s 4487n 17.3Knps} Ke7
{-999.84/7 0.04s 8270n 413.5Knps} 61. Qh7+ {+99.91/3 0.26s 1317n 5.1Knps} Ke8
{-999.92/6 0.02s 453n 45.3Knps} 1-0 {Xboard adjudication}
and time/otim, when running a game from a pgn file.
It seems not to count the already given moves internally.
This leads to the situation that Resp thinks it has made 40-x
moves instead of 40 moves. It happily accepts the new plus time
and consumes it until 40+x moves is reached (Resp itself thinks 40+x = 40).
Then it notices it doesn't get another plus time and plays all moves
between 40+x and 80 in 0.01 - 0.05 seconds...
(In my example below x = 6 ; 6 moves from pgn)
If someone still has the sources of Resp somewhere and could fix
the prob too it would be nice.
Also sending the sources to me for my own attempt of fixing would
be fine.
Best wishes,
Guenther
Example of the problem:
[Event "?"]
[Site "?"]
[Date "2006.04.25"]
[Round "1"]
[White "Colossus_2006b"]
[Black "Resp_019"]
[Result "1-0"]
[TimeControl "40/900"]
[PlyCount "122"]
[Annotator "13.8-10.7"]
1. Nf3 d5 2. c4 e6 3. b3 Be7 4. Bb2 Bf6 5. Nc3 c5 6. cxd5 exd5 7. d4
{+0.14/14 36.29s 24100039n 664.1Knps} cxd4 {-0.07/12 25.09s 8428012n 340.2Knps}
8. Nxd4 {+0.14/15 31.61s 21163117n 669.6Knps} Ne7
{-0.13/12 24.63s 3304510n 336.7Knps} 9. e3 {+0.24/13 19.90s 12866927n 646.6Knps}
Nbc6 {-0.05/12 24.55s 7513326n 325.1Knps} 10. Nxc6
{+0.18/13 39.99s 26385688n 659.8Knps} Nxc6 {-0.11/12 24.50s 6841922n 322.4Knps}
11. Bd3 {+0.34/12 22.80s 14642588n 642.1Knps} O-O
{-0.02/11 24.36s 5989699n 309.1Knps} 12. O-O
{+0.22/12 19.55s 13030583n 666.6Knps} Be6 {-0.15/10 24.33s 5918017n 304.1Knps}
13. Qc2 {+0.28/12 31.78s 20023255n 630.1Knps} Nb4
{+0.07/12 24.35s 7526067n 347.3Knps} 14. Qb1
{+0.08/13 28.69s 18599776n 648.3Knps} Nxd3 {+0.14/12 24.14s 6643473n 297.4Knps}
15. Qxd3 {+0.12/15 27.47s 18369525n 668.7Knps} Rc8
{+0.14/12 24.03s 5264414n 278.7Knps} 16. Rac1
{+0.12/13 36.42s 23973955n 658.2Knps} Re8 {+0.11/11 21.83s 5106745n 286.3Knps}
17. Rfd1 {+0.10/12 19.60s 12916638n 659.0Knps} Qa5
{+0.09/11 22.05s 4018812n 246.8Knps} 18. a3
{+0.10/13 18.30s 13346895n 729.5Knps} Be5 {-0.04/11 21.74s 2048249n 258.9Knps}
19. f4 {+0.30/14 26.44s 19669942n 744.0Knps} Bxc3
{-0.08/12 22.08s 3463691n 305.5Knps} 20. Rxc3
{+0.16/15 33.64s 24854612n 738.9Knps} f6 {-0.03/12 21.85s 6078396n 343.9Knps}
21. Rdc1 {+0.30/14 15.56s 11648372n 748.5Knps} Rxc3
{-0.10/12 21.81s 7565243n 377.7Knps} 22. Rxc3
{+0.28/15 24.43s 18091284n 740.7Knps} Qb6 {-0.12/12 21.94s 2563201n 401.2Knps}
23. b4 {+0.28/14 45.51s 33647690n 739.4Knps} a5
{-0.06/12 21.76s 7369928n 390.0Knps} 24. b5
{+0.24/15 30.53s 23288266n 762.7Knps} Bf7 {-0.08/12 21.85s 4669569n 398.2Knps}
25. Kf2 {+0.36/13 15.71s 11370994n 723.7Knps} Qd6
{+0.00/12 21.69s 6908168n 397.4Knps} 26. Qd4
{+0.38/13 25.31s 18174512n 718.2Knps} Qd7 {+0.00/11 21.77s 5100433n 398.8Knps}
27. Rc5 {+0.26/14 29.19s 21164460n 725.0Knps} Qd8
{-0.11/12 21.82s 7252334n 419.8Knps} 28. Qd2
{+0.52/14 15.84s 11792313n 744.3Knps} Qd6 {-0.25/12 21.78s 6874532n 429.0Knps}
29. Qc1 {+0.66/14 21.25s 16097297n 757.5Knps} Be6
{-0.30/12 21.81s 5523485n 424.3Knps} 30. Bd4
{+0.68/14 19.04s 14721971n 773.3Knps} Bd7 {-0.42/12 21.70s 1948087n 416.5Knps}
31. a4 {+0.68/15 26.58s 20747324n 780.6Knps} b6
{-0.38/12 21.67s 4453991n 413.4Knps} 32. Rc7
{+0.72/15 19.72s 14676014n 744.3Knps} Rb8 {-0.38/12 21.67s 2572743n 407.1Knps}
33. Qc2 {+0.70/15 32.45s 23756118n 732.2Knps} Qe6
{-0.45/12 21.73s 7269779n 408.1Knps} 34. h3
{+0.80/15 17.90s 13369329n 747.1Knps} Qd6 {-0.64/12 21.69s 5614004n 398.7Knps}
35. g4 {+1.10/14 28.21s 20610594n 730.6Knps} Qe6
{-0.69/12 21.67s 3227032n 391.6Knps} 36. Kg1
{+1.41/15 34.45s 25328611n 735.2Knps} h5 {-1.01/12 21.69s 6482268n 377.9Knps}
37. f5 {+1.10/14 11.90s 9169611n 770.7Knps} Qd6
{-0.85/12 21.83s 5530449n 362.4Knps} 38. Qh2
{+1.06/14 13.85s 10722334n 774.2Knps} Qb4 {-1.69/11 21.65s 4727896n 405.6Knps}
39. Qf4 {+1.01/14 34.27s 26019077n 759.3Knps} Rc8
{-1.67/11 21.59s 8697021n 406.2Knps} 40. Rxc8+
{+1.07/14 26.66s 20737859n 777.9Knps} Bxc8 {-1.71/12 21.64s 5338896n 496.4Knps}
41. Bxb6 {+1.03/15 17.03s 13615076n 799.3Knps} Qe1+
{-1.41/14 171.69s 78258030n 524.3Knps} 42. Kh2
{+1.08/15 19.10s 15583597n 816.0Knps} Qe2+ {-1.41/13 171.66s 388n 19.4Knps} 43.
Kg3 {+1.03/14 32.51s 25543904n 785.8Knps} Qd1
{-1.20/13 171.54s 8252103n 499.1Knps} 44. Bc7
{+0.46/13 41.92s 33994145n 810.9Knps} Qg1+
{-0.66/14 171.59s 79522146n 549.9Knps} 45. Kh4
{+0.38/15 11.11s 8971403n 807.8Knps} hxg4 {-0.71/15 171.87s 62229323n 549.0Knps}
46. hxg4 {+0.63/15 30.73s 25451622n 828.1Knps} Qh1+
{-0.91/14 171.32s 19820423n 553.8Knps} 47. Kg3
{+0.44/16 12.77s 10713170n 839.1Knps} Qg1+ {-0.91/13 0.03s 377n 18.9Knps} 48.
Kh3 {+0.23/17 21.79s 18235122n 836.8Knps} Qh1+ {-0.91/12 0.05s 360n 18.0Knps}
49. Qh2 {+0.26/17 13.98s 11649569n 833.3Knps} Qf3+
{-0.91/11 0.05s 1292n 43.1Knps} 50. Bg3 {+0.24/17 22.15s 18203802n 821.8Knps}
Qxe3 {-0.91/10 0.03s 243n 12.2Knps} 51. Qf2
{+0.24/15 39.32s 30714744n 781.2Knps} Qe4 {-0.71/5 0.03s 7245n 241.5Knps} 52.
Qg2 {+0.18/14 17.01s 14194707n 834.3Knps} Qc4 {-0.74/5 0.02s 4591n 229.6Knps}
53. Bf2 {+0.24/14 22.14s 18127495n 818.7Knps} Kf7
{-0.24/5 0.06s 17627n 352.5Knps} 54. Bb6 {+0.52/13 18.74s 14627724n 780.7Knps}
g6 {-0.16/5 0.03s 4164n 138.8Knps} 55. Qf3 {+0.32/14 14.84s 11295670n 761.1Knps}
gxf5 {-0.34/6 0.06s 9621n 320.7Knps} 56. gxf5
{+0.47/14 32.09s 23415277n 729.8Knps} Ke7 {-0.34/5 0.03s 4288n 214.4Knps} 57.
Kg3 {+0.66/13 20.20s 15807885n 782.6Knps} Qxa4 {-0.32/5 0.04s 9744n 324.8Knps}
58. Bc5+ {+4.10/13 23.65s 20222556n 854.9Knps} Ke8
{-1.55/7 0.04s 11496n 287.4Knps} 59. Qh5+ {+99.87/5 0.27s 8752n 32.3Knps} Kd8
{-999.00/6 0.02s 258n 25.8Knps} 60. Bb6+ {+99.89/4 0.27s 4487n 17.3Knps} Ke7
{-999.84/7 0.04s 8270n 413.5Knps} 61. Qh7+ {+99.91/3 0.26s 1317n 5.1Knps} Ke8
{-999.92/6 0.02s 453n 45.3Knps} 1-0 {Xboard adjudication}