- Blind mode tutorial
lichess.org
Donate

How to install a BOT on Lichess?

How do you specify number of threads? It doesn't seem to take an integer value.

How do you specify number of threads? It doesn't seem to take an integer value.

Make it a string. "4" instead of 4

Make it a string. "4" instead of 4

That doesn't seem to work arex, when I use a string value I get a chess.engine.EngineTerminatedException.


Traceback (most recent call last):
File ".../lichess-uci-bot/main.py", line 200, in <module>
start(li, user_profile, engine_path, weights_path, CONFIG["threads"])
File ".../lichess-uci-bot/main.py", line 47, in start
play_game(li, game_id, weights, threads)
File ".../lichess-uci-bot/main.py", line 58, in play_game
engine, info_handler = setup_engine(engine_path, board, weights, threads)
File ".../lichess-uci-bot/main.py", line 142, in setup_engine
engine.uci()
File "...\Programs\Python\Python36-32\lib\site-packages\chess\uci.py", line 688, in uci
return self._queue_command(command, async_callback)
File "...\Programs\Python\Python36-32\lib\site-packages\chess\uci.py", line 666, in _queue_command
return future.result(timeout=FUTURE_POLL_TIMEOUT)
File "...\Programs\Python\Python36-32\lib\concurrent\futures\_base.py", line 432, in result
return self.__get_result()
File "...\Programs\Python\Python36-32\lib\concurrent\futures\_base.py", line 384, in __get_result
raise self._exception
File "...\Programs\Python\Python36-32\lib\concurrent\futures\thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "...\Programs\Python\Python36-32\lib\site-packages\chess\uci.py", line 686, in command
raise EngineTerminatedException()
chess.engine.EngineTerminatedException


That doesn't seem to work arex, when I use a string value I get a chess.engine.EngineTerminatedException. ------------------------------------------------------------------------------------------- Traceback (most recent call last): File ".../lichess-uci-bot/main.py", line 200, in <module> start(li, user_profile, engine_path, weights_path, CONFIG["threads"]) File ".../lichess-uci-bot/main.py", line 47, in start play_game(li, game_id, weights, threads) File ".../lichess-uci-bot/main.py", line 58, in play_game engine, info_handler = setup_engine(engine_path, board, weights, threads) File ".../lichess-uci-bot/main.py", line 142, in setup_engine engine.uci() File "...\Programs\Python\Python36-32\lib\site-packages\chess\uci.py", line 688, in uci return self._queue_command(command, async_callback) File "...\Programs\Python\Python36-32\lib\site-packages\chess\uci.py", line 666, in _queue_command return future.result(timeout=FUTURE_POLL_TIMEOUT) File "...\Programs\Python\Python36-32\lib\concurrent\futures\_base.py", line 432, in result return self.__get_result() File "...\Programs\Python\Python36-32\lib\concurrent\futures\_base.py", line 384, in __get_result raise self._exception File "...\Programs\Python\Python36-32\lib\concurrent\futures\thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "...\Programs\Python\Python36-32\lib\site-packages\chess\uci.py", line 686, in command raise EngineTerminatedException() chess.engine.EngineTerminatedException -------------------------------------------------------------------------------------------

Should I better install 64 bit Python? Or it's fine with 32 bit? I have 64 bit Windows 7, but when I downloaded Python from the official site, it installed 32 bit version.

Should I better install 64 bit Python? Or it's fine with 32 bit? I have 64 bit Windows 7, but when I downloaded Python from the official site, it installed 32 bit version.

@Chesstroll_Ingot I don't know much about your error (except that it's certainly not okay), but I strongly recommend you use something like https://pastebin.com/ to store large quantities of text and then post a link to it in your forum post. It makes things a lot less messy.

@Chesstroll_Ingot I don't know much about your error (except that it's certainly not okay), but I strongly recommend you use something like https://pastebin.com/ to store large quantities of text and then post a link to it in your forum post. It makes things a lot less messy.

If these accounts are bots then why are they not online 24/7 so we can challenge them whenever we please? Bots don't need sleep.

If these accounts are bots then why are they not online 24/7 so we can challenge them whenever we please? Bots don't need sleep.

@NeverBeenTimid Because the applications that run the bots are not hosted on Lichess' servers, but on the computers of anyone that runs a bot account. They might not want, or be able to, keep the bots alive 24/7.

@NeverBeenTimid Because the applications that run the bots are not hosted on Lichess' servers, but on the computers of anyone that runs a bot account. They might not want, or be able to, keep the bots alive 24/7.

hey Dudes, that is interesting news, thanks a lot to @thibault and friends!!!

Some questions:

  • Bot accounts: Can these also be humans using computers or must this exclusively be computers?
  • How to challenge? Where to find challenges? Do bots simply put challenges in Lobby?
  • is improving the opening book of a bot over time considered sandbagging? (see #4)

Cool new feature!

hey Dudes, that is interesting news, thanks a lot to @thibault and friends!!! Some questions: * Bot accounts: Can these also be humans using computers or must this exclusively be computers? * How to challenge? Where to find challenges? Do bots simply put challenges in Lobby? * is improving the opening book of a bot over time considered sandbagging? (see #4) Cool new feature!

This topic has been archived and can no longer be replied to.