Comments (5)
Thanks @0xsuu I see where is an issue, will fix it in the next 2-3 days.
from tenhou-python-bot.
@0xsuu Can you, please, try to reproduce the bug on the master branch? I did a commit that should fix it, you can check it there: f13081d
from tenhou-python-bot.
@Nihisil Thanks for the quick fix, unfortunately, it still doesn't work. The bug can be reproduced by adding a sleep in the constructor of the AI. Sample output as follow:
2017-03-06 16:26:21 INFO: Bot AI enabled: True
2017-03-06 16:26:33 DEBUG: Send: <HELO name="NoName" tid="f0" sx="M" />
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 DEBUG: Get:
2017-03-06 16:26:33 INFO: Auth message wasn't received
2017-03-06 16:26:33 DEBUG: Send: <BYE />
2017-03-06 16:26:33 INFO: End of the game
I've managed to obtain a quick fix as a reference. Please check the PR.
from tenhou-python-bot.
@Nihisil Sorry about the coding style thing, was just trying to show what solves my problem.
And good news is your fix solves the problem!
Many thanks!
from tenhou-python-bot.
Thanks for the report)
from tenhou-python-bot.
Related Issues (20)
- Crash
- Crash
- Crash HOT 1
- Crash HOT 1
- Strange random
- Generate seeds before the game HOT 1
- Daburi is not chiho
- Don't calculate double yakumans
- Bot doesn't open honitsu hand believing it's atodzuke yakuhai
- hand builder doesn't account for open sets when calculating shanten
- Refactor estimate_hand_value_or_get_from_cache
- Allow same-shanten chi to get yaku
- riichi logic refactoring
- TypeError: can't pickle _thread.RLock objects HOT 2
- Crash [Live dora tiles can't be less than 0] HOT 1
- Open hand for tempai in oorasu when cost is enough to win
- [Question] Why and when socket connections was automatically? HOT 2
- [Question/Need help] How to watch a game based on python-socket communication with tenhou.net HOT 7
- Build pluggable AI HOT 2
- Tenhou Support Receives Bot Complaints HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tenhou-python-bot.