Skip to content
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

运行AI对局中会出现GUIInterface.discardTile tile not found. #29

Open
zwzwcz opened this issue Apr 25, 2021 · 3 comments
Open

运行AI对局中会出现GUIInterface.discardTile tile not found. #29

zwzwcz opened this issue Apr 25, 2021 · 3 comments

Comments

@zwzwcz
Copy link

zwzwcz commented Apr 25, 2021

send: b'\x00'
recv:
send: b'\x00'
recv:
send: b'\x00'
recv:
recv:
send: b'\x00'
send: b'\x00'
send: b'\x00'
recv:
send: b'\x00'
send: b'\x00'
send: b'\x00'
recv:
recv:
send: b'\x00'
send: b'\x00'
recv:
recv:
recv:
send: b'\x00'
send: b'\x00'
send: b'\x00'
send: b'\x00'
send: b'\x00'
recv:
send: b'\x00'
send: b'\x00'
recv:
send: b'\x00'
recv:
recv:
send: b'\x00'
send: b'\x00'
send: b'\x00'
recv:
recv:
send: b'\x00'
recv:
recv:
recv:
send: b'\x00'
send: b'\x00'
send: b'\x00'
recv:
send: b'\x00'
recv:
send: b'\x00'
send: b'\x00'
recv:
recv:
send: b'\x00'
recv:
send: b'\x00'
send: b'\x00'
recv:
send: b'\x00'
send: b'\x00'
send: b'\x00'
recv:
send: b'\x00'
send: b'\x00'
recv:
recv:
send: b'\x00'
send: b'\x00'
recv:
send: b'\x00'
send: b'\x00'
send: b'\x00'
send: b'\x00'
recv:
send: b'\x00'
send: b'\x00'
recv:
recv:
recv:
send: b'\x00'
send: b'\x00'
recv:
send: b'\x00'
send: b'\x00'
recv:
send: b'\x00'
recv:
send: b'\x00'
send: b'\x00'
send: b'\x00'
recv:
recv:
recv:
send: b'\x00'
send: b'\x00'
recv:
recv:
send: b'\x00'
send: b'\x00'
send: b'\x00'
recv:
send: b'\x00'
send: b'\x00'
recv:
clickCandidateMeld AI_combination ('0m', '4m')
clickCandidateMeld tiles: [('4m', (1211, 695)), ('0m', (1262, 695)), ('4m', (133
9, 695)), ('5m', (1391, 695))]
recv:
recv:
send: b'\x00'
recv:
recv:
recv:
recv:
recv:
send: b'\x00'
send: b'\x00'
recv:
recv:
recv:
send: b'\x00'
send: b'\x00'
recv:
send: b'\x00'
send: b'\x00'
recv:
send: b'\x00'
send: b'\x00'
recv:
recv:
send: b'\x00'
send: b'\x00'
recv:
send: b'\x00'
send: b'\x00'
recv:
send: b'\x00'
recv:
recv:
send: b'\x00'
recv:
Traceback (most recent call last):
File "G:\MajsoulAI-master\main.py", line 744, in
MainLoop(level=level)
File "G:\MajsoulAI-master\main.py", line 715, in MainLoop
aiWrapper.recv(data)
File "G:\MajsoulAI-master\main.py", line 134, in recv
self._eventHandler(msg.decode('utf-8'))
File "G:\MajsoulAI-master\main.py", line 159, in _eventHandler
self.on_DiscardTile(d)
File "G:\MajsoulAI-master\main.py", line 593, in on_DiscardTile
self.actionDiscardTile(tile)
File "G:\MajsoulAI-master\majsoul_wrapper\action\action.py", line 191, in acti
onDiscardTile
'GUIInterface.discardTile tile not found. L:', L, 'tile:', tile)
Exception: ('GUIInterface.discardTile tile not found. L:', [('3m', (857, 850)),
('6m', (918, 850)), ('6s', (979, 850)), ('6s', (1040, 850)), ('6s', (1101, 850))
], 'tile:', '5m')
就是正常打着偶尔会蹦出这个报错,没搞懂具体原因,我用置顶工具置顶了页面也还是会出现这个问题。。。

@zwzwcz
Copy link
Author

zwzwcz commented May 3, 2021

把所有装备替换成初始了能解决这个98%的问题,还有一种比较极端的情况是,AI大量副露之后摸牌可能会低概率出现这种情况,有可能两三把会遇到,也可能打一天也没遇到,看脸。。。

@bailuWX
Copy link

bailuWX commented Dec 9, 2021

我也是这个错误,很玄学,有时候不出现,有时候经常出现

@QsamaQ
Copy link

QsamaQ commented Jun 11, 2022

我触发是遇到了食替的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants