PDA

View Full Version : pgnfen small hitch



Kevin Bonham
20-04-2004, 08:24 PM
Jeo - not sure if anyone else has this problem but I've had trouble getting pgnfen to work if I start from a move number other than 1. Not a big deal at all, the feature's really cool as it is, just wondered if there's a way to avoid this problem.

Bill Gletsos
20-04-2004, 08:45 PM
Jeo - not sure if anyone else has this problem but I've had trouble getting pgnfen to work if I start from a move number other than 1. Not a big deal at all, the feature's really cool as it is, just wondered if there's a way to avoid this problem.
Kev, I think I know what your problem is.

The end of the fen string must end with the move number that the pgn starts with.

Here is an example with the tags changed to have an x included so you can see it.

28.... Bxf4 29.Nf6+ Qxf6 30.gxf6 Nxg3+ 31.Kg2 Nxh1 32.Kxh1 Bg5 33.Rg2 Bxf6 34.Qe3 Re7 35.Qf4 Bd4 36.Qg5 Re1+ 37.Kh2 Re5 38.Qf4 Rxh5+ 0-1

In fact I changed my queen sac post to show tthe correct move numbers.

Kevin Bonham
21-04-2004, 11:34 AM
Ah, I thought it was a halfmove clock so I was doubling the move no. :doh:

Thanks Bill, I strongly suspect that will fix it.