lucaschessR2 icon indicating copy to clipboard operation
lucaschessR2 copied to clipboard

Feature "play instead of me" stops working after takeback

Open medwatt opened this issue 4 months ago • 9 comments

I sometimes setup the board in some position and try to get the best move. I would then perform a takeback and choose "play instead of me" (Ctrl + 1) to see if my move was correct. "play instead of me" works fine but stops working after a move has been taken back. Please confirm if you can replicate this.

medwatt avatar Jul 25 '25 07:07 medwatt

I'm working on this. I can't replicate it, can you tell me the option from where you work, I guess "Create your own game" and if possible a position (or for example 3q1k2/p2rRp1p/1p4p1/2p5/3p3Q/1P1P3P/P1P2PP1/6K1 w - - 0 1), and exactly the moves you make and each moment you do the Ctrl+1.

lukasmonk avatar Sep 01 '25 17:09 lukasmonk

@lukasmonk, sorry for replying late. I just wasn't able to replocate it, but I probably found a way to replicate it. See the video. It seems to be tied to the number of moves. Hopefully you can replicate it.

https://github.com/user-attachments/assets/508ba663-d579-4536-affb-4ba4e8cc386c

medwatt avatar Oct 12 '25 09:10 medwatt

Test again with the next update. (FP-7) I have not been able to replicate the problem with your movements.

lukasmonk avatar Oct 15 '25 07:10 lukasmonk

Where do I get the FP-7 update ?

medwatt avatar Oct 15 '25 08:10 medwatt

Maybe today.

lukasmonk avatar Oct 15 '25 08:10 lukasmonk

I just tried the latest version. I noticed two issues.

  1. My config (userdata) no longer works with the new version. Basically, I can't move pieces in the chess board.
  2. When I use a new config (by allowing the tool to create one), the chess engines don't load. I think you forgot to make engines executable (+x) on linux.
Image
  1. I copied the Engine directory from the previous version into the new one and it starts to work. However, the problem I described previous (play instead of me) is still not fixed. It stops working after reinitializing after a couple of moves. Maybe, the number of moves you do matters. Try from the starting state below and make like 10 moves while using the "play instead of me" for the opponent. After that reinitialize and try the "play instead of me" again. In my case, this is always reproducable.
3k4/8/8/8/8/8/3P4/3K4 w - - 0 1

medwatt avatar Oct 16 '25 07:10 medwatt

Portable version in Linux: In LucasChessR/bin/OS/linux, there is a RunEngines script. You can run it and try again.

I believe that the reason is: I created the portable version by compressing it from Windows, and it did not save the execution permissions. Next time I will do it from Linux.

3. I copied the Engine directory from the previous version into the new one and it starts to work. However, the problem I described previous (play instead of me) is still not fixed. It stops working after reinitializing after a couple of moves. Maybe, the number of moves you do matters. Try from the starting state below and make like 10 moves while using the "play instead of me" for the opponent. After that reinitialize and try the "play instead of me" again. In my case, this is always reproducable.

Can you make me a screen dump of:

Image

lukasmonk avatar Oct 16 '25 08:10 lukasmonk

Image

medwatt avatar Oct 16 '25 08:10 medwatt

I was able to replicate it in Linux. Fixed in the next update. Thank you very much.

lukasmonk avatar Oct 16 '25 18:10 lukasmonk