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

日志如下,未跑成功 #14

Open
panhaoyu opened this issue Aug 30, 2021 · 3 comments
Open

日志如下,未跑成功 #14

panhaoyu opened this issue Aug 30, 2021 · 3 comments

Comments

@panhaoyu
Copy link

可以正常打开炉石,然后选了一套卡组(第三套卡),然后进入游戏,然后在换牌的阶段卡住了,日志如下。

[22:01:29 INFO] Power.log does not exist
[22:01:29 SYS] Enter State Leave Hearth Stone
[22:01:29 WARN] HearthStone not found! Try to go back to HS
[22:01:32 WARN] Error while trying to move BattleNet foreground
[22:01:55 INFO] Power.log does not exist
[22:01:55 SYS] Enter State Main Menu
[22:02:31 SYS] Enter State Choosing Hero
[22:02:36 SYS] Enter State Match Opponent
[22:02:37 SYS] Enter State Choosing Hero
[22:02:41 SYS] Enter State Match Opponent
[22:02:43 SYS] Enter State Choosing Hero
[22:02:47 SYS] Enter State Match Opponent
[22:02:49 SYS] Enter State Choosing Hero
[22:02:53 SYS] Enter State Match Opponent
[22:02:55 SYS] Enter State Choosing Hero
[22:02:59 SYS] Enter State Match Opponent
[22:03:01 SYS] Enter State Choosing Hero
[22:03:05 SYS] Enter State Match Opponent
[22:03:07 SYS] Enter State Choosing Hero
[22:03:11 SYS] Enter State Match Opponent
[22:03:13 SYS] Enter State Choosing Hero
[22:03:17 SYS] Enter State Match Opponent
[22:03:18 SYS] Enter State Choosing Hero
[22:03:23 SYS] Enter State Match Opponent
[22:03:24 SYS] Enter State Choosing Hero
[22:03:28 SYS] Enter State Match Opponent
[22:03:30 SYS] Enter State Choosing Hero
[22:03:34 SYS] Enter State Match Opponent
[22:03:36 SYS] Enter State Choosing Hero
[22:03:40 SYS] Enter State Match Opponent
[22:03:42 SYS] Enter State Choosing Hero
[22:03:46 SYS] Enter State Match Opponent
[22:03:48 SYS] Enter State Choosing Hero
[22:03:52 SYS] Enter State Match Opponent
[22:03:54 SYS] Enter State Choosing Hero
[22:03:58 SYS] Enter State Match Opponent
[22:04:00 SYS] Enter State Choosing Hero
[22:04:04 SYS] Enter State Match Opponent
[22:04:05 SYS] Enter State Choosing Hero
[22:04:10 SYS] Enter State Match Opponent
[22:04:11 SYS] Enter State Choosing Hero
[22:04:16 SYS] Enter State Match Opponent
[22:04:17 SYS] Enter State Choosing Hero
[22:04:21 SYS] Enter State Match Opponent
[22:04:23 SYS] Enter State ERROR
[22:04:28 SYS] Enter State Leave Hearth Stone
[22:04:28 WARN] HearthStone not found! Try to go back to HS
[22:04:42 INFO] Power.log does not exist
[22:04:42 SYS] Enter State Main Menu
[22:05:19 SYS] Enter State ERROR
[22:05:24 SYS] Enter State Leave Hearth Stone
[22:05:24 WARN] HearthStone not found! Try to go back to HS

@Yiyuan-Dong
Copy link
Owner

选牌阶段是指选套牌的阶段吗。我看日志似乎脚本一直无法点击“开始”这个按钮。

你提到了选中套牌。但正常情况下脚本是不会去主动选择套牌的,他只会去点击套牌之间间隔的地方。如果你的脚本会选中套牌,那脚本应该无法正常运作。

你可以试着检查一下应用放大比例是不是100%, 分辨率是不是1920*1080。

如果你是说进入了换手牌阶段……我看日志实在想不出这样的情况。你可以试着多试几次……

@panhaoyu
Copy link
Author

事实是已经进入了游戏,点到了开始这个按钮了。

试了几次,没啥改变。

我的屏幕是25601440的,然后设置的19201080的分辨率,放大比例确认是100%的。

我回头再试一下吧,如果找到了问题我就给你提个pr。

@etemalwet
Copy link

有一次我炉石传说的游戏文件换到另外一个盘,结果出现问题如题主的表述,后面想起来,/constants/constants.py中Power.log的路径没有改,改完就可以继续正常使用了。题主的选牌阶段指的是掷幸运币之后选换初始手牌,本小白猜测,由于没有读取到Power.log,程序点击”开始“按钮了,但程序不知道游戏已经进入对战当中(状态码没更新?),所以一直重复点击开始按钮。

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