MahjongRepository / tenhou-python-bot

Bot for tenhou.net riichi mahjong server written in Python
MIT License
201 stars 52 forks source link

Crash #146

Closed Nihisil closed 3 years ago

Nihisil commented 3 years ago

Seeds:

0.3748740463682587
0.7186853970296103
0.40624240841102155
0.13413145489821854
0.2694950856407172
0.7858172067106088
0.6007576741827814
0.06657957227229006
0.25992322864686257

Error:

2020-11-11_04_01_29.log-Traceback (most recent call last):
2020-11-11_04_01_29.log-  File "bots_battle.py", line 63, in main
2020-11-11_04_01_29.log-    result = manager.play_game(total_results)
2020-11-11_04_01_29.log-  File "/app/game/bots_battle/game_manager.py", line 369, in play_game
2020-11-11_04_01_29.log-    result = self.play_round()
2020-11-11_04_01_29.log-  File "/app/game/bots_battle/game_manager.py", line 219, in play_round
2020-11-11_04_01_29.log-    result = self.check_clients_possible_ron(current_client, tile, is_tsumogiri)
2020-11-11_04_01_29.log-  File "/app/game/bots_battle/game_manager.py", line 347, in check_clients_possible_ron
2020-11-11_04_01_29.log-    tiles=client.player.tiles, win_tile=tile, winner=client, loser=current_client, is_tsumo=False
2020-11-11_04_01_29.log-  File "/app/game/bots_battle/game_manager.py", line 558, in process_the_end_of_the_round
2020-11-11_04_01_29.log-    raise ValueError("Not correct hand")