tenhou-python-bot icon indicating copy to clipboard operation
tenhou-python-bot copied to clipboard

[Question] Why and when socket connections was automatically?

Open nara-ryoya opened this issue 3 years ago • 2 comments

Question

I use this repository in our Mahjong AI Project and plays mahjong game (game_type is 9, hanchan ari-ari), but sometimes game was ended unsuccessfully with the log "We are getting empty messages from socket. Probably socket connection was closed". I'm not sure why and when this happened?

nara-ryoya avatar Sep 21 '22 10:09 nara-ryoya

@Nihisil

nara-ryoya avatar Sep 21 '22 10:09 nara-ryoya

It is hard to say. Usually, I don't have such problems too often. They happened before, like once in a few dozen games.

I thought it was an issue with tenhou.net servers and just ignored this error.

But it could be something wrong with the bot code as well.

Nihisil avatar Sep 22 '22 01:09 Nihisil