Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liches Variants #857

Closed
partharor opened this issue Oct 14, 2023 · 7 comments
Closed

Liches Variants #857

partharor opened this issue Oct 14, 2023 · 7 comments

Comments

@partharor
Copy link

I Make My Bot play variants but in CMD it says, Unexpected engine output: 'info string Found 0 tablebases. Please Help.

@AttackingOrDefending
Copy link
Member

This shouldn't cause the bot to crash. If you don't have tablebases for any variant you can comment out the line SyzygyPath: "./syzygy/" in config.yml.

@MarkZH
Copy link
Collaborator

MarkZH commented Oct 14, 2023

This might be related to this bug in python-chess: niklasf/python-chess#1049

Try removing info string output before a game starts.

@partharor
Copy link
Author

This shouldn't cause the bot to crash. If you don't have tablebases for any variant you can comment out the line SyzygyPath: "./syzygy/" in config.yml.

What Does Comment Out mean?

@MarkZH
Copy link
Collaborator

MarkZH commented Oct 18, 2023

Put a hash mark # at the beginning of that line. It will cause the line to be ignored by lichess-bot. The line would look like this:

# SyzygyPath: "./syzygy/"

@partharor
Copy link
Author

partharor commented Oct 20, 2023

Put a hash mark # at the beginning of that line. It will cause the line to be ignored by lichess-bot. The line would look like this:

# SyzygyPath: "./syzygy/"

I have done it But it now says " Backing off play_game(...) for 3.5s (chess.engine.EngineError: engine does not support UCI_Variant)" I am using Stockfish.

@AttackingOrDefending
Copy link
Member

Stockfish doesn't support playing variants. You can use Fairy-Stockfish instead.

@partharor
Copy link
Author

Stockfish doesn't support playing variants. You can use Fairy-Stockfish instead.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants