🕸💡📝Fergus Duniho wrote on Sun, Nov 8, 2009 01:11 AM UTC:
Jose,
I looked at what the program was doing by having it display debugging code. I tried to set the constant to ARBQNNBKR, but its behavior indicated that it was using the constant RKBNNQBRA. I believe I have written the program so that you cannot replace a constant, only add one that isn't already in the log. Once you placed the constant in the log, you could not change it. That is why you got the same behavior with both values for firstrank. Considering that the value you gave to firstrank does place an R on h1, it makes sense that it would consider the move illegal if it was told to expect a different piece on that space. So it looks like you gave the preset the wrong order for the pieces. Before you try to fix a log, you should try out the piece order you think is right by entering it in without trying to save it. If it reports an illegal move, then you have the wrong order and should try again. Save it to the log only once you have confirmed that it actually works.