This repository was archived by the owner on Nov 15, 2023. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork1
王者荣耀定时启动虚拟机刷信誉分、熟练度、组队友情币、领取每日奖励
License
NotificationsYou must be signed in to change notification settings
cndaqiang/WZRY_AirtestIDE_emulator
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
https://github.com/cndaqiang/AirTest_MobileAuto_WZRY
- 打开网页https://airtest.netease.com/ 下载安装
- 打开软件 软件最上面有一个 Options 点击 出现
Language
选择简体中文
- 打开软件 软件最上面有一个
文件
点击打开脚本
- 显示手机画面
- 使用
touch
,截取手机画面上的图片(代码格式) - 是用截取的图片替换原有代码中的图片
通过观察airtest的运行日志发现可以
#"/Applications/AirtestIDE.app/Contents/MacOS/AirtestIDE" pyrunner "/Users/cndaqiang/Desktop/WZRY_AirtestIDE-main/XiaoMI11.py"
duokai.py
模拟器并行多开,分辨率960*540,2G运行,5帧画面ln -s duokai.py monizhan.py; ./monizhan.py
模拟战刷信誉分ln -s duokai.py debug.py; ./debug.py
debug模式- XiaoMI11.py 以前的脚本,小米11专用
#多线程模式python -u .\duokai.py -totalnode#手动执行多线程,每个终端(共totalnode个终端)均执行下面的命令python -u .\duokai.py totalnode
- Windows Bluestack 多开adb都可以,还兼容hyper-v(Pie 64bit). 不兼容hyper-v的Nougat模式好像更省电,适合不用开wsl的笔记本,而且adb的端口也不会变
- Linux使用remote-android,支持arm服务器
- Mac .没发现好用还能无线adb调试的.
ADB连接
(base) cndaqiang@macmini mac$ pwd/Applications/AirtestIDE.app/Contents/Resources/plugins/firebase_plugin/tool/copy_app/airtest/core/android/static/adb/mac(base) cndaqiang@macmini mac$ ./adb devicesList of devices attached8553e6acdevice(base) cndaqiang@macmini mac$ ./adb tcpip 5555adb server version (40) doesn't match this client (39); killing...* daemon started successfully *restarting in TCP mode port: 5555
#parallel desktop安装bliss#bliss 开始adb#kernelSu 授予termux root权限#termux 执行(因为bliss无法识别wifi,把网络识别成了有线网卡,不能利用安卓本文的无线调试,所以只能这样)susetprop service.adb.tcp.port 5555stop adbdstart adbd#就可以用局域网调试了wm size 960x540wm density 120#上面这样设置完成后,重启也能保存,不用重新输入命令(base) cndaqiang@macmini ChromeDownload$ adb shellParallels Virtual Platform:/ $ wm sizePhysical size: 1024x768Override size: 960x540#重启后需要断开pc的adb重新连接adb kill-serveradb connect 10.211.55.19:5555#安装游戏adb install 10040714_com.tencent.tmgp.sgame_a2680838_8.4.1.6_fL2tC9.apk
注有些手机连接不上,找找原因
About
王者荣耀定时启动虚拟机刷信誉分、熟练度、组队友情币、领取每日奖励
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published