Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

王者荣耀定时启动虚拟机刷信誉分、熟练度、组队友情币、领取每日奖励

License

NotificationsYou must be signed in to change notification settings

cndaqiang/WZRY_AirtestIDE_emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

后续更新

https://github.com/cndaqiang/AirTest_MobileAuto_WZRY

代码开发airtest

安装

  1. 打开网页https://airtest.netease.com/ 下载安装
  2. 打开软件 软件最上面有一个 Options 点击 出现Language 选择简体中文
  3. 打开软件 软件最上面有一个文件 点击打开脚本

airtest修改代码和运行

  1. 显示手机画面
  2. 使用touch,截取手机画面上的图片(代码格式)
  3. 是用截取的图片替换原有代码中的图片

airtest版终端运行

通过观察airtest的运行日志发现可以

#"/Applications/AirtestIDE.app/Contents/MacOS/AirtestIDE" pyrunner "/Users/cndaqiang/Desktop/WZRY_AirtestIDE-main/XiaoMI11.py"

python版终端运行

  • 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调试)

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

mac模拟器[不推荐]

#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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp