Giter Club home page Giter Club logo

Comments (7)

TheYoBots avatar TheYoBots commented on June 10, 2024

For this issue I think there might be two solutions.

Firstly, I had made this commit earlier d8199dd but wasn’t to sure of it and assume that I’ll have to reverse it and use USI itself instead of UCI.

Another thing is that you can edit the .yml files that uses shogi instead of just editing the config.yml.default file. I feel apreey.yml should work the best https://github.com/TheYoBots/Lishogi-Bot/blob/master/apery.yml or fairy.yml https://github.com/TheYoBots/Lishogi-Bot/blob/master/fairy.yml

from lishogi-bot.

 avatar commented on June 10, 2024

Most recent logs:
2021-01-10 18:06:05,671: Starting new HTTPS connection (1): lishogi.org:443
2021-01-10 18:06:06,229: https://lishogi.org:443 "GET /api/account HTTP/1.1" 200 916
2021-01-10 18:06:06,231: Welcome BlazikenBot2000!
2021-01-10 18:06:06,232: You're now connected to https://lishogi.org/ and awaiting challenges.
2021-01-10 18:06:09,235: Something went wrong. Game is starting and we don't have a queued process
2021-01-10 18:06:09,236: --- Process Used. Total Queued: 0. Total Used: 1

This reminds me of lichess-bot errors, something about engine not communicating with lichess-bot, or not at all (!).

from lishogi-bot.

TheYoBots avatar TheYoBots commented on June 10, 2024

Guess my edit in engine.py (c7a8bec) would have resulted in this. I’ve reverse the changes (5feb1b5), I don’t think it will happen again.

from lishogi-bot.

TheYoBots avatar TheYoBots commented on June 10, 2024

@zzhangb4 I have managed to resolve the ‘ping’ error. I am receiving the logs, control_queue event: connected. After which I don’t receive any ‘ping’ logs. But other than that I am recieving these logs on and on

FullSizeRender.mov

Sorry I had minimised the window during the recording.

from lishogi-bot.

 avatar commented on June 10, 2024

The "Not Found for url: ../api/seek" problem can be solved (ignored?) by just removing the create-challenge part altogether:

elif event["type"] == "connected":
(look at line 117). That way the bot won't randomly create challenges by itself.

from lishogi-bot.

TheYoBots avatar TheYoBots commented on June 10, 2024

I don’t think that would work as the variant (in this case shogi) will not be identified if it is removed.

from lishogi-bot.

TheYoBots avatar TheYoBots commented on June 10, 2024

Now that it’s working and the error doesn’t seem to happen, I’ll close this Issue.

Thanks for your help!!

from lishogi-bot.

Related Issues (14)

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.