-
Notifications
You must be signed in to change notification settings - Fork 1
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
Backgammony crashes if game human against AI is started. #3
Comments
Hi, could you tell me a bit more about your system. At the moment backgammony naively waits for a short time before attempting to make a connection instead of checking periodically until there is one. If your computer is older or slower it may not give enough time for gnubg to start up. |
CPU: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz |
Thank you, I will attempt to write a fix this evening. Would you be able to compile the project and test the fix? |
I just tested it and I am able to compile the project (With |
The I will take a look at the AI bug this afternoon. I appreciate your patience. |
I have increased the maximum wait time to 5 seconds - On my machine it takes only about 150ms. Backgammony should also catch AI errors and display them to the user in a friendly way. Could you please rebuild and try again. If the software continues not to work - could you please try starting gnubg manually with |
If I compile and start backgammony now and choose the AI as an opponent, a window with the text
get opened. Yes, after the
and using a "taskmanager", it shows that Now to the direct test with
The last line appears very fast and after that, nothing happens. |
In the
|
Alright, it would seem that the error is being produced in the socket connection code however I am not sure why. I will be away for the next few days but I will investigate soon. Thank you for your patience. |
I have the current version from Flatpak (1.0.0, 02.07.2020).
Tested with intermediate and 4-ply.
It is the same with AI against AI games.
$ /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=backgammony uk.jnthn.backgammony
The text was updated successfully, but these errors were encountered: