Giter Club home page Giter Club logo

lichess-bot's People

Contributors

abhijato avatar deepsourcebot avatar lidevelopers avatar srimethan avatar theyobots avatar

Stargazers

 avatar

Watchers

 avatar

lichess-bot's Issues

Fix application logs if posible

2021-08-24T05:11:33.660977+00:00 app[worker.1]: 2021-08-24 05:11:33,660: except
2021-08-24T05:11:34.237663+00:00 app[worker.1]: 2021-08-24 05:11:34,237: except
2021-08-24T05:11:34.485379+00:00 app[worker.1]: 2021-08-24 05:11:34,485: except
2021-08-24T05:11:34.735432+00:00 app[worker.1]: 2021-08-24 05:11:34,735: except
2021-08-24T05:11:34.991372+00:00 app[worker.1]: 2021-08-24 05:11:34,991: except
2021-08-24T05:11:35.562105+00:00 app[worker.1]: 2021-08-24 05:11:35,561: except
2021-08-24T05:11:35.820503+00:00 app[worker.1]: 2021-08-24 05:11:35,820: except
2021-08-24T05:11:36.078763+00:00 app[worker.1]: 2021-08-24 05:11:36,078: except
2021-08-24T05:11:36.340188+00:00 app[worker.1]: 2021-08-24 05:11:36,340: except
2021-08-24T05:12:36.502672+00:00 app[worker.1]: 2021-08-24 05:12:36,502: except

problem

i made a bot with this repo and certainly the bot doesnot moves or play faster it is very slow can you tell me how to fix this and make bot faster

Use Config Vars For Token

It will be good if implement config vars for token otherwise others might able to see our token
thanks.

bot cannot play antichess

Application Logs:

2021-08-11T03:56:38.182852+00:00 app[worker.1]: 2021-08-11 03:56:38,182: You're now connected to https://lichess.org/ and awaiting challenges.
2021-08-11T03:57:30.493056+00:00 app[worker.1]: 2021-08-11 03:57:30,492: {'type': 'challenge', 'challenge': {'id': 'M8516FQN', 'url': 'https://lichess.org/M8516FQN', 'status': 'created', 'challenger': {'id': 'lglbot', 'name': 'lglbot', 'title': 'BOT', 'rating': 1500, 'provisional': True, 'online': True}, 'destUser': {'id': 'xxistcentury', 'name': 'XXIstCentury', 'title': 'BOT', 'rating': 2237, 'online': True}, 'variant': {'key': 'antichess', 'name': 'Antichess', 'short': 'Anti'}, 'rated': False, 'speed': 'bullet', 'timeControl': {'type': 'clock', 'limit': 60, 'increment': 0, 'show': '1+0'}, 'color': 'white', 'perf': {'icon': '\ue033', 'name': 'Antichess'}}}
2021-08-11T03:57:30.493378+00:00 app[worker.1]: 2021-08-11 03:57:30,493: Accept Antichess casual challenge from BOT lglbot(1500)
2021-08-11T03:57:30.777340+00:00 app[worker.1]: 2021-08-11 03:57:30,777: Giving up api_post(...) after 1 tries (requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://lichess.org/api/challenge/M8516FQN/accept)
2021-08-11T03:57:30.777543+00:00 app[worker.1]: 2021-08-11 03:57:30,777:     Skip missing  :Antichess casual challenge from BOT lglbot(1500)
2021-08-11T03:57:36.815756+00:00 app[worker.1]: 2021-08-11 03:57:36,815: {'type': 'gameStart', 'game': {'id': 'M8516FQN', 'source': 'friend'}}
2021-08-11T03:57:37.240889+00:00 app[worker.1]: 2021-08-11 03:57:37,240: Backing off play_game(...) for 0.4s (chess.engine.EngineError: engine does not support option EvalFile (available options: Protocol, Debug Log File, Contempt, Analysis Contempt, Threads, Hash, Clear Hash, Ponder, MultiPV, Skill Level, Move Overhead, Slow Mover, nodestime, UCI_Chess960, UCI_Variant, UCI_AnalyseMode, UCI_LimitStrength, UCI_Elo, UCI_ShowWDL, SyzygyPath, SyzygyProbeDepth, Syzygy50MoveRule, SyzygyProbeLimit, TsumeMode, VariantPath))
2021-08-11T03:57:38.128201+00:00 app[worker.1]: 2021-08-11 03:57:38,127: Backing off play_game(...) for 0.8s (chess.engine.EngineError: engine does not support option EvalFile (available options: Protocol, Debug Log File, Contempt, Analysis Contempt, Threads, Hash, Clear Hash, Ponder, MultiPV, Skill Level, Move Overhead, Slow Mover, nodestime, UCI_Chess960, UCI_Variant, UCI_AnalyseMode, UCI_LimitStrength, UCI_Elo, UCI_ShowWDL, SyzygyPath, SyzygyProbeDepth, Syzygy50MoveRule, SyzygyProbeLimit, TsumeMode, VariantPath))
2021-08-11T03:57:39.831687+00:00 app[worker.1]: 2021-08-11 03:57:39,825: Backing off play_game(...) for 2.2s (chess.engine.EngineError: engine does not support option EvalFile (available options: Protocol, Debug Log File, Contempt, Analysis Contempt, Threads, Hash, Clear Hash, Ponder, MultiPV, Skill Level, Move Overhead, Slow Mover, nodestime, UCI_Chess960, UCI_Variant, UCI_AnalyseMode, UCI_LimitStrength, UCI_Elo, UCI_ShowWDL, SyzygyPath, SyzygyProbeDepth, Syzygy50MoveRule, SyzygyProbeLimit, TsumeMode, VariantPath))
2021-08-11T03:57:42.926129+00:00 app[worker.1]: 2021-08-11 03:57:42,925: Backing off play_game(...) for 5.9s (chess.engine.EngineError: engine does not support option EvalFile (available options: Protocol, Debug Log File, Contempt, Analysis Contempt, Threads, Hash, Clear Hash, Ponder, MultiPV, Skill Level, Move Overhead, Slow Mover, nodestime, UCI_Chess960, UCI_Variant, UCI_AnalyseMode, UCI_LimitStrength, UCI_Elo, UCI_ShowWDL, SyzygyPath, SyzygyProbeDepth, Syzygy50MoveRule, SyzygyProbeLimit, TsumeMode, VariantPath))
2021-08-11T03:57:49.354501+00:00 app[worker.1]: 2021-08-11 03:57:49,354: Backing off play_game(...) for 8.8s (chess.engine.EngineError: engine does not support option EvalFile (available options: Protocol, Debug Log File, Contempt, Analysis Contempt, Threads, Hash, Clear Hash, Ponder, MultiPV, Skill Level, Move Overhead, Slow Mover, nodestime, UCI_Chess960, UCI_Variant, UCI_AnalyseMode, UCI_LimitStrength, UCI_Elo, UCI_ShowWDL, SyzygyPath, SyzygyProbeDepth, Syzygy50MoveRule, SyzygyProbeLimit, TsumeMode, VariantPath))
2021-08-11T03:57:50.801959+00:00 heroku[worker.1]: Process running mem=1190M(232.5%)
2021-08-11T03:57:50.812261+00:00 heroku[worker.1]: Error R15 (Memory quota vastly exceeded)
2021-08-11T03:57:50.814742+00:00 heroku[worker.1]: Stopping process with SIGKILL
2021-08-11T03:57:50.951886+00:00 heroku[worker.1]: Process exited with status 137
2021-08-11T03:57:51.091683+00:00 heroku[worker.1]: State changed from up to crashed
2021-08-11T03:57:51.094898+00:00 heroku[worker.1]: State changed from crashed to starting
2021-08-11T03:57:58.309876+00:00 heroku[worker.1]: Starting process with command `bash startbot.sh`
2021-08-11T03:57:59.021845+00:00 heroku[worker.1]: State changed from starting to up
2021-08-11T03:58:00.735586+00:00 app[worker.1]: total 69684
2021-08-11T03:58:00.735607+00:00 app[worker.1]: -rwx--x--x 1 u11103 dyno   646904 Aug 11 03:02 fsf
2021-08-11T03:58:00.735607+00:00 app[worker.1]: -rwx--x--x 1 u11103 dyno 21680640 Aug 11 03:02 lsf
2021-08-11T03:58:00.735607+00:00 app[worker.1]: -rwx--x--x 1 u11103 dyno 49023944 Aug 11 03:02 sf
2021-08-11T03:58:01.912328+00:00 app[worker.1]: 2021-08-11 03:58:01,912: 
2021-08-11T03:58:01.912354+00:00 app[worker.1]:     .   _/|
2021-08-11T03:58:01.912355+00:00 app[worker.1]:     .  // o\
2021-08-11T03:58:01.912355+00:00 app[worker.1]:     .  || ._)  lichess-bot
2021-08-11T03:58:01.912356+00:00 app[worker.1]:     .  //__\
2021-08-11T03:58:01.912357+00:00 app[worker.1]:     .  )___(   Play on Lichess with a bot
2021-08-11T03:58:01.912357+00:00 app[worker.1]:     
2021-08-11T03:58:02.226875+00:00 app[worker.1]: 2021-08-11 03:58:02,226: Welcome lglbot!
2021-08-11T03:58:02.227121+00:00 app[worker.1]: 2021-08-11 03:58:02,226: You're now connected to https://lichess.org/ and awaiting challenges.
2021-08-11T03:58:07.935242+00:00 app[worker.1]: 2021-08-11 03:58:07,934: {'type': 'gameStart', 'game': {'id': 'V9dDmQT2', 'source': 'friend'}}
2021-08-11T03:58:08.393631+00:00 app[worker.1]: 2021-08-11 03:58:08,384: Backing off play_game(...) for 0.7s (chess.engine.EngineError: engine does not support option EvalFile (available options: Protocol, Debug Log File, Contempt, Analysis Contempt, Threads, Hash, Clear Hash, Ponder, MultiPV, Skill Level, Move Overhead, Slow Mover, nodestime, UCI_Chess960, UCI_Variant, UCI_AnalyseMode, UCI_LimitStrength, UCI_Elo, UCI_ShowWDL, SyzygyPath, SyzygyProbeDepth, Syzygy50MoveRule, SyzygyProbeLimit, TsumeMode, VariantPath))
2021-08-11T03:58:09.590432+00:00 app[worker.1]: 2021-08-11 03:58:09,590: Backing off play_game(...) for 1.8s (chess.engine.EngineError: engine does not support option EvalFile (available options: Protocol, Debug Log File, Contempt, Analysis Contempt, Threads, Hash, Clear Hash, Ponder, MultiPV, Skill Level, Move Overhead, Slow Mover, nodestime, UCI_Chess960, UCI_Variant, UCI_AnalyseMode, UCI_LimitStrength, UCI_Elo, UCI_ShowWDL, SyzygyPath, SyzygyProbeDepth, Syzygy50MoveRule, SyzygyProbeLimit, TsumeMode, VariantPath))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.