On-line engine blitz tourney May

Discussion of chess software programming and technical issues.

Moderator: Ras

Joost Buijs
Posts: 1646
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: On-line engine blitz tourney May

Post by Joost Buijs »

amanjpro wrote: Sat May 08, 2021 11:24 pm Thank you again Joost. Is it possible to get the pgns for all the games? I'm interested in a few of them
Hi, I've mailed you the games. You have to edit them slightly to get them in PGN format, basically you only have to change the header. According to HGM there should be an option to get the games in PGN format, but I haven't found out yet how to do this.

I use the server software as it is. I only removed a few annoying bugs that appeared when it is compiled with later versions of GCC. It's not a hobby of mine to start working on that very old piece of software because I have other more interesting things to do.
User avatar
hgm
Posts: 28396
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: On-line engine blitz tourney May

Post by hgm »

I think it is determined by a user variable (set pgn 1 ?). In any case the ICS source has a routine set_pgn (in variable.c) which prints the message "Games will now be mailed to you in PGN.". I think this was original; all I did was include the engine score/depth in the PGN as comments. So it must be documented. Perhaps "help variables"?
Joost Buijs
Posts: 1646
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: On-line engine blitz tourney May

Post by Joost Buijs »

hgm wrote: Sun May 09, 2021 11:50 am I think it is determined by a user variable (set pgn 1 ?). In any case the ICS source has a routine set_pgn (in variable.c) which prints the message "Games will now be mailed to you in PGN.". I think this was original; all I did was include the engine score/depth in the PGN as comments. So it must be documented. Perhaps "help variables"?
Indeed you are right, there is a pgn variable, when it is set to 1 it outputs something that could be interpreted as PGN. It looks very messy though.

Code: Select all

[Event "NOT_CONFIGURED rated blitz game"] [Site "NOT_CONFIGURED, Almere, The Netherlands"] [Date "2007.09.28"] [Time "19:10:54"] [Round "-"] [White "feligres"] [Black "Zahak"] [WhiteElo "2129"] [BlackElo "1990"] [TimeControl "300+1"] [Mode "ICS"] [Result "1-0"]

1. d4 {0.00/1956435731} Nf6 2. c4 {0.00/1956435731} e6 3. Nf3 {0.00/1956435731} d5 4. Nc3 {0.00/1956435731} c6 5. Bg5 {0.00/1956435731} Be7 6. e3 {0.00/1956435731} Nbd7 7. Bd3 {0.00/1956435731} O-O 8. Rc1 {0.00/1956435731} h6 9. Bf4 {0.00/1956435731} dxc4 {-0.26/14} 10. Bxc4 {0.00/1956435731} Nb6 {-0.08/15} 11. Be2 {0.00/1956435731} Nbd5 {-0.16/14} 12. Bg3 {0.00/1956435731} Qa5 {+0.12/14} 13. Qc2 {0.00/1956435731} Nh5 {+0.04/14} 14. Ne5 {0.00/1956435731} Nxg3 {0.00/15} 15. hxg3 {0.00/1956435731} Nxc3 {+0.26/16} 16. bxc3 {0.00/1956435731} Bf6 {+0.33/15} 17. f4 {0.00/1956435731} Bxe5 {+0.16/15} 18. dxe5 {0.00/1956435731} Rd8 {+0.65/13} 19. Kf2 {0.00/1956435731} b6 {+0.45/15} 20. Rcd1 {0.00/1956435731} Ba6 {+0.28/15} 21. c4 {0.00/1956435731} c5 {+0.23/14} 22. Rd6 {0.00/1956435731} Bb7 {+0.07/16} 23. e4 {0.00/1956435731} Rac8 {+0.22/13} 24. Rhd1 {0.00/1956435731} Rf8 {+0.20/15} 25. R1d2 {0.00/1956435731} Bc6 {+0.10/14} 26. Qd3 {0.00/1956435731} Rfe8 {+0.05/14} 27. a3 {0.00/1956435731} Qa4 {0.00/15} 28. g4 {0.00/1956435731} Ba8 {+0.05/14} 29. Bd1 {0.00/1956435731} Qa6 {0.00/15} 30. Bf3 {0.00/1956435731} Bc6 {0.00/14} 31. Be2 {0.00/1956435731} Qb7 {+0.22/15} 32. Ke3 {0.00/1956435731} Qa6 {+0.18/13} 33. Qc3 {0.00/1956435731} Qb7 {+0.10/14} 34. Bf3 {0.00/1956435731} Qe7 {0.00/15} 35. g3 {0.00/1956435731} Qb7 {+0.16/15} 36. Rd1 {0.00/1956435731} Ba4 {+0.15/14} 37. R1d3 {0.00/1956435731} Bc6 {0.00/14} 38. Rd2 {0.00/1956435731} Ba4 {+0.02/15} 39. Bd1 {0.00/1956435731} Bc6 {0.00/15} 40. Bc2 {0.00/1956435731} Kh8 {+0.02/12} 41. Rd1 {0.00/1956435731} Qa6 {+0.02/13} 42. Kf2 {0.00/1956435731} Kg8 {-0.10/13} 43. Kf3 {0.00/1956435731} Rf8 {-0.11/13} 44. Kg2 {0.00/1956435731} Rfe8 {0.00/13} 45. Kf2 {0.00/1956435731} Qb7 {0.00/14} 46. Qe3 {0.00/1956435731} Qa6 {0.00/13} 47. Qd3 {0.00/1956435731} Qa5 {0.00/14} 48. Rb1 {0.00/1956435731} Rf8 {+0.10/13} 49. Kf3 {0.00/1956435731} Kh7 {+0.21/12} 50. Qb3 {0.00/1956435731} Rfe8 {+0.06/13} 51. Ke2 {0.00/1956435731} Kh8 {+0.07/13} 52. Kf2 {0.00/1956435731} Kg8 {+0.03/13} 53. Kg1 {0.00/1956435731} Qa6 {0.00/15} 54. Kh2 {0.00/1956435731} Qb7 {+0.20/13} 55. Qd3 {0.00/1956435731} Kf8 {+0.05/13} 56. Ra1 {0.00/1956435731} Qa6 {0.00/13} 57. Kh3 {0.00/1956435731} Qa5 {+0.08/13} 58. Rb1 {0.00/1956435731} Qa6 {+0.08/13} 59. Rd1 {0.00/1956435731} Kg8 {+0.13/14} 60. Qc3 {0.00/1956435731} Qb7 {+0.02/13} 61. Qe3 {0.00/1956435731} Qa6 {+0.04/13} 62. Qb3 {0.00/1956435731} Qb7 {+0.02/14} 63. Qf3 {0.00/1956435731} Rc7 {+0.12/12} 64. Qd3 {0.00/1956435731} Ree7 {+0.12/13} 65. Rd2 {0.00/1956435731} Red7 {+0.21/13} 66. Kh4 {0.00/1956435731} Qc8 {+0.26/12} 67. Qc3 {0.00/1956435731} Qd8+ {+0.27/12} 68. Kh3 {0.00/1956435731} Rb7 {+0.24/13} 69. Rd1 {0.00/1956435731} Rbc7 {+0.20/11} 70. R1d3 {0.00/1956435731} Qe8 {+0.22/11} 71. Rd2 {0.00/1956435731} Kf8 {+0.21/11} 72. Rd1 {0.00/1956435731} g5 {+0.10/12} 73. Qb3 {0.00/1956435731} Qd8 {+0.11/12} 74. f5 {0.00/1956435731} Qe8 {-0.08/13} 75. f6 {0.00/1956435731} Qa8 {+0.04/13} 76. Qd3 {0.00/1956435731} Kg8 {-0.14/13} 77. Qe3 {0.00/1956435731} Rxd6 {+0.13/13} 78. exd6 {0.00/1956435731} Rd7 {+0.06/12} 79. e5 {0.00/1956435731} Kh8 {-1.17/14} 80. Qd3 {0.00/1956435731} Qg8 {-1.34/15} 81. Rb1 {0.00/1956435731} Rb7 {-1.57/15} 82. Qc3 {0.00/1956435731} Rb8 {-1.23/14} 83. Kh2 {0.00/1956435731} Ra8 {-1.33/13} 84. Kg1 {0.00/1956435731} Rb8 {-1.34/14} 85. Qe3 {0.00/1956435731} Qe8 {-1.53/14} 86. Rb2 {0.00/1956435731} b5 {-2.38/13} 87. Bd3 {0.00/1956435731} Kg8 {-2.94/11} 88. Rh2 {0.00/1956435731} Qf8 {-6.04/13} 89. Rh5 {0.00/1956435731} a6 {-8.62/13} 90. Rxg5+ {0.00/1956435731} Kh8 {-99.82/14} 91. Rh5 {0.00/1956435731} Kg8 {-99.84/12} 92. Rxh6 {0.00/1956435731} Qg7 {-99.86/10} 93. fxg7 {0.00/1956435731} f5 {-99.88/9} 94. Qg5 {0.00/1956435731} bxc4 {-99.96/3} 95. Rh8+ {0.00/1956435731} Kf7 {-99.98/1} 96. Qf6+ {0.00/1956435731} {Black checkmated} 1-0
I wonder what these comments {0.00/1956435731} are. Time and date seem to be wrong as well. I guess it needs some work to get these glitches repaired.

It could be that this is what the engine (white) kibitzed, no idea, but I will take a look at fixing the header and time/date.
User avatar
hgm
Posts: 28396
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: On-line engine blitz tourney May

Post by hgm »

Could be the fault of your e-mail client that there are no linefeeds; the ICS runs on Linux, so it would use no CR to delimit lines, and Windows would not understand that.

As to the comments; these are the score/depth. Except that these seem not to be initialized in the game you showed. I will check how it can be that the mailstored command can think that score/depth is available, while it actually isn't.
Joost Buijs
Posts: 1646
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: On-line engine blitz tourney May

Post by Joost Buijs »

hgm wrote: Sun May 09, 2021 12:26 pm Could be the fault of your e-mail client that there are no linefeeds; the ICS runs on Linux, so it would use no CR to delimit lines, and Windows would not understand that.

As to the comments; these are the score/depth. Except that these seem not to be initialized in the game you showed. I will check how it can be that the mailstored command can think that score/depth is available, while it actually isn't.
It's not a problem of the mail client, pasting it at the forum is, the mail client shows the line breaks.

It could be that there are uninitialized variables, the source very much relies upon the compiler initializing variables at zero, maybe some of these auto initialization rules changed over time. At least I found several locations in the source where this was a problem.
amanjpro
Posts: 883
Joined: Sat Mar 13, 2021 1:47 am
Full name: Amanj Sherwany

Re: On-line engine blitz tourney May

Post by amanjpro »

Really really appreciated, I am not familiar with (F)ICS, and thought it is easy to get the PGN for the entire tourney in one single command, apparently I was terribly mistaken! I really didn't want you to go into so much trouble, sorry again. I will make sure to save the games on my end next time :)
jdart
Posts: 4410
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: On-line engine blitz tourney May

Post by jdart »

Yes, and probably there are others missing too. Arasan and HGM have the longest track-record, they were the first that came to my mind.
I just forgot about it. I expect Arasan will be back next month.
User avatar
hgm
Posts: 28396
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: On-line engine blitz tourney May

Post by hgm »

My PC is still broken, hence my absence.
Joost Buijs
Posts: 1646
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: On-line engine blitz tourney May

Post by Joost Buijs »

amanjpro wrote: Sun May 09, 2021 4:17 pm Really really appreciated, I am not familiar with (F)ICS, and thought it is easy to get the PGN for the entire tourney in one single command, apparently I was terribly mistaken! I really didn't want you to go into so much trouble, sorry again. I will make sure to save the games on my end next time :)
Don't worry, I had to fix sendmail anyway. Each time mail providers increase security levels, which is good but breaks something, now I send the mails to my own mail-server first to circumvent that I have to make changes more than once.

When I feel like it, I want to fix the issues in the PGN output. When this is fixed you can use 'set pgn 1' and 'set automail 1', and each game you play will be automatically mailed to you.

The only drawback is that the old ICS software is single threaded, when everybody starts using this there is a big chance that the server will go down on it's knees. Maybe better to disable automail completely and only use mailstored.
Joost Buijs
Posts: 1646
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: On-line engine blitz tourney May

Post by Joost Buijs »

It could be that the problem is not as severe as it looks. The mails are spooled to disk by the ICS and sent out by another process.