当前位置:网站首页>Using auto.js to realize fifaol3 brush teaching assistant
Using auto.js to realize fifaol3 brush teaching assistant
2022-07-28 13:20:00 【Flechazo】
utilize auto.js Realization fifaol3 Brush teaching assistant
auto.js as well as fifaol3 The mobile terminal will not be installed. You can see my last article , I'm just going to go over it here .
First step : open auto.js
open auto.js, Click new script , Enter the code and save .
"auto";
app.launchApp("FIFA Online 3 M");
setScreenMetrics(1080, 1920);
sleep(3000);
// Request vertical screenshot
requestScreenCapture(false);
sleep(1500);
//(130,500) (400,500), (670,500),(940,500)
//(130,800),(400,800),(670,800)
//(130,1250),
var selectX=130;
var selectY=800;
var count = 0;
while(true){
buy();
strength();
count++;
toastLog(" Completed "+count+" operations ");
sleep(500);
}
function getTeacher(){
click(200,400);// Choose the type of teaching assistant bag
sleep(100);
click(875,1380);// Select quantity
sleep(100);
swipe(800,1400,800,1100,200);// Decline in
sleep(100);
click(800,1800);// Click on 10
sleep(100);
click(600,1750);// Click general introduction
//164,321 #fff8cc31
sleep(3000);
// Wait for the completion of the introduction
while(true){
var a=isfinished1();
if(a==1){
break;
}else{
sleep(100);
}
}
sleep(100);
back();// Return to the import employee interface
sleep(400);
}
function practice(){
sleep(100);
for(i=0;i<5;i++){
// Choose the first line 5 Teaching assistants
click(20+260*i,1100);
sleep(30);
}
for(i=0;i<5;i++){
// Select the second line 5 Teaching assistants
click(20+260*i,1400);
sleep(30);
}
sleep(50);
click(750,1650);// Click practice
sleep(5000);
// Wait for the enhancement to complete
while(true){
// Screenshot
var img1 = captureScreen();
// Get the color value of coordinate points
var color1 = images.pixel(img1, 800, 1800);
var strcolor1 = colors.toString(color1);
if(strcolor1=="#ff263d4f"){
// Strengthen completion
break;
}else{
sleep(500);
}
}
sleep(200);
back();// Return to the practice interface
sleep(300);
}
function buy(){
click(325,1819);// Click on the lower left corner to introduce players
sleep(1000);
for(i=0;i<5;i++){
getTeacher();
}
sleep(500);
back();// Return to the TA general interface
sleep(800);
}
// Complete a teaching assistant operation
function strength(){
//(130,500) (400,500), (670,500),(940,500)
//(130,800),(400,800),(670,800)
//(130,1250),
click(selectX,selectY);// Click the TA to be strengthened 1
sleep(200);
click(540,1820);// Click the practice button
sleep(1500);
for(j=0;j<5;j++){
practice();
}
sleep(200);
back();// Return to the TA general interface
sleep(300);
}
function isfinished1(){
// Request vertical screenshot
requestScreenCapture(false);
// Screenshot
var imgR = captureScreen();
// Get the color value of coordinate points
var colorR = images.pixel(imgR, 164, 321);
var strcolorR = colors.toString(colorR);
if(strcolorR=="#fff8cc31"){
// Refresh complete yellow
return 1;
}else{
return 0;
}
}
The second step : open fifaol3 Mobile terminal
open fifaol3 Mobile terminal , Find team management ---- Assistant , Stay on this page .
The third step : Run script
Return to the main screen , open auto.js, Run script . The program will open automatically fifaol3 Mobile terminal , Automatic operation .
Look at it all , Brothers and sisters, please give me a compliment .
边栏推荐
- Vditor 渲染器如何做到服务端渲染(SSR)?
- Tidb 6.x in action was released, a summary of 6.x practices that condense the collective wisdom of the community!
- Kotlin是如何帮助你避免内存泄漏的?
- 【嵌入式C基础】第9篇:C语言指针的基本用法
- Databinding+livedata can easily realize skin changing without restart
- Interview must ask, focus! Tell me about the Android application startup process and its source code?
- Resolve browser password echo
- Fast classification of array.group() in ES6
- Chapter 6 promotion
- Use and source code of livedata in jetpack family bucket
猜你喜欢

Form for real-time custom verification

Risk analysis of option trading

Ruan Bonan of Green Alliance Technology: cloud native security from the open source shooting range
![[graduation design] oscilloscope design and Implementation Based on STM32 - single chip microcomputer Internet of things](/img/c7/87027ded6d9e522952827fae0fccbd.png)
[graduation design] oscilloscope design and Implementation Based on STM32 - single chip microcomputer Internet of things

MySQL practice -- master-slave replication

How does kotlin help you avoid memory leaks?

Code layered management of interface testing based on RF framework

RGB game atmosphere light touch chip-dlt8s04a-jericho

SSM框架网上书城全套

Change the document type in endnode and import it in word
随机推荐
Analysis of Andriod low on memory printing principle
[embedded C foundation] Part 5: original code / inverse code / complement code
机器学习基础-集成学习-13
Why is crypto game changing the game industry?
I copied the bottom of the liquidated NFT, but was locked by opensea
黑猫带你学eMMC协议第27篇:什么是eMMC的动态容量(Dynamic Capacity)?
Shell基础概念和变量
How to use databricks for data analysis on tidb cloud | tidb cloud User Guide
[FPGA]: AD sampling problem
[embedded C foundation] Part 2: binary conversion and BCD coding
Kotlin是如何帮助你避免内存泄漏的?
【嵌入式C基础】第8篇:C语言数组讲解
Shenwenbo, researcher of the Hundred Talents Program of Zhejiang University: kernel security in the container scenario
2020-12-27
2020-12-13
9、 Kubernetes configuration and storage
【嵌入式C基础】第1篇:基本数据类型
Risk analysis of option trading
Call / put option price curve
How to design a second kill system?