[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Comments/Ratings for a Single Item
@ Fergus:
In the following game log, the preset won't let me castle kingside as White, which I believe is a legal move:
In the following game log, the preset won't let me castle kingside as White, which I believe is a legal move:
GAME Code has become more strict about how it handles an insufficient number of arguments to a subroutine. To include optional arguments, you now need to copy values from the subargs array. So, I rewrote the subroutine to do that, and it now works.
Okay, thanks!
4 comments displayed
Permalink to the exact comments currently displayed.
I didn't mention it earlier, because I got sidetracked, but code is now in place for reconstructing the original position for games that lost this information when PHP changed its randomization algorithm. This seems to have happened in 2009. Games since that time store the original position in a constant, but older games relied on using a seed to guarantee the same selection of random numbers. I went through all the older games and did a lot of debugging to get things to work right. It did not work for a few games that were too short to provide enough information, but it should be working for most past games that didn't include the position in a constant.