I am running the CVS version of Webchess that is about
4 months old or so. You'll have to test this with the
most current version. An illegal move was permitted
where one player's pawn was allowed to jump straight
forward two places and take a peice.
Here is the flow of the game. Also, see attached
image. The illegal move was the last one.
1. e2-e3, d7-d6
2. Bf1-c4, Ng8-h6
3. Qd1-f3, Nh6-g4
4. g2xg4
Illegal move image.
Logged In: YES
user_id=1371540
I was unable to duplicate this error in Revision 5, so it is
either an intermittent error or was fixed prior to that release.
Unable to reproduce with latest from CVS.
Unfortunately the bug does indeed exist. Sometimes illegal moves do happen and seldom the position of the pieces does not match the prior positions.
Peter, what version of Webchess are you using?
I use the last version WebChess Version 1.0.0, August 15, 2010. Although I slightly modified it, dutch language files, dutch translations in php files where not used gettext in the php file and a small change on showing logged in users. This seems not to be the issue.
We discovered that most likely the following is the reason.
I've changed the refresh time to 15 seconds (don't know if this is relevant).
When on turn, sometimes the PGN part is updated, but the board isn't updated.
If the user than does a move, Webchess looks to be confused by the board not matching the actual position of the pieces.
This seems to be the moment that this effect appears.
If the user refreshes the page/board before making a move, it appears as not happening.
Best Regards,
Peter Kruger
Related
Bugs:
#55