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

在macos下 maa-cli 启动的游戏无法正常代理作战 #202

Open
Tracked by #87
zzj0311 opened this issue Feb 15, 2024 · 3 comments
Open
Tracked by #87

在macos下 maa-cli 启动的游戏无法正常代理作战 #202

zzj0311 opened this issue Feb 15, 2024 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@zzj0311
Copy link

zzj0311 commented Feb 15, 2024

复现方法: 使用 maa-cli 配置task startup start_game_enable=true 此时运行 maa-cli 稳定复现
* 代理作战时弹战斗记录失效
* 肉鸽时报400错误

此时 手动重启客户端 可以正常进行代理,关闭客户端后使用maamacui启动 可以正常执行代理作战 关闭客户端后再次尝试使用maa-cli启动 上述问题复现

运行环境: mac mini m2 playcover 官服

@wangl-cc wangl-cc added bug Something isn't working help wanted Extra attention is needed labels Feb 16, 2024
@wangl-cc
Copy link
Collaborator

wangl-cc commented Feb 16, 2024

我知道这个bug,在终端启动 PlayCover 下的游戏会这样,无论是直接 open -a 明日方舟, 到游戏的文件夹里面手动运行 arknights,还是调用 osascript -e 'tell application "明日方舟" to activate' 都会这样。甚至通过 open -a PlayCover 启动 PlayCover, 然后在 PlayCover 里面手动点击打开游戏都会这样。然而如果这个命令不是从终端启动的,比如在快捷指令里运行 shell 脚本运行 maa,或者在 crontab 的定时任务里运行 maa 都是正常的。我不知道这个 bug 究竟是什么引起,所以我一直没有办法解决。目前来说如果你想定时运行,应该是可以正常使用的,但是如果你是交互使用,那么你可能需要手动启动游戏或者用 MAA GUI。

@zzj0311
Copy link
Author

zzj0311 commented Feb 17, 2024

那么神奇 crontab没问题倒也没事了 :)

@zzj0311 zzj0311 closed this as completed Feb 17, 2024
@wangl-cc
Copy link
Collaborator

因为这个问题还没有解决,所以我先把这个 issue 打开。一方面作为一个记录,另一方面也方便其他遇到相同问题的人查看。

@wangl-cc wangl-cc reopened this Feb 17, 2024
@wangl-cc wangl-cc mentioned this issue Feb 17, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants