jalpp / Chesslise

Open source Chess Discord Bot
MIT License
18 stars 8 forks source link

Legal move shown as illegal #59

Closed ThomasKaputa closed 4 months ago

ThomasKaputa commented 4 months ago

Describe the bug The bot tells me that a move is illegal though it's the solution.

To Reproduce Steps to reproduce the behavior:

  1. Added the bot to a private discord server over the Discord app directory
  2. /puzzle pick-puzzle Chess.com daily puzzle pick-mode solve it live! (05. June. 2024)
  3. wait till image is there
  4. /solve Qxh3+

Expected behavior Should show that I entered the right move. But it either shows:

That the bot doesn't react The move is illegal

Screenshots image

Desktop (please complete the following information):

Additional context just wanted to play around a little bit with the bot. Something wrong with my steps?

jalpp commented 4 months ago

Describe the bug The bot tells me that a move is illegal though it's the solution.

To Reproduce Steps to reproduce the behavior:

1. Added the bot to a private discord server over the Discord app directory

2. /puzzle pick-puzzle Chess.com daily puzzle pick-mode solve it live! (05. June. 2024)

3. wait till image is there

4. /solve Qxh3+

Expected behavior Should show that I entered the right move. But it either shows:

That the bot doesn't react The move is illegal

Screenshots image

Desktop (please complete the following information):

* OS: macOS

* Browser Chrome

Additional context just wanted to play around a little bit with the bot. Something wrong with my steps?

Hello, thanks for reporting this, Its a known bug actually, but it's not really related to Lise, but rather Stockfish rest API https://stockfish.online/ Sometimes the servers are working fine there, and sometimes they are not resulting in Lise breaking, I actually started working on my own Stockfish API to support Lise here https://github.com/jalpp/stockfish-rest-api but I been busy and not been able to get to it and eventually host it. I can change the warning message, and possible fix the Lichess version, but Chess.com one highly relies on the Stockfish rest server that we are not really responsible to maintain

jalpp commented 4 months ago

@ThomasKaputa this is partially fixed but as this was about wrong warning messages closing this, if you encounter something similar feel free to open one again!