Comments (5)
from mhxy import *
if __name__ == '__main__':
init(idx=1)
while True:
t = Util.locateCenterOnScreen(r'resources/small/kuang.png')
if t is not None:
pyautogui.leftClick(t.x, t.y)
cooldown(0.1)
t = Util.locateCenterOnScreen(r'resources/small/select.png')
if t is not None:
pyautogui.leftClick(t.x, t.y)
cooldown(5)
t = Util.locateCenterOnScreen(r'resources/small/dig.png')
if t is not None:
pyautogui.leftClick(t.x, t.y)
cooldown(5)
cooldown(2)
这样看见矿就挖,挂三四次就两级了
from mhxy_script.
大佬 你是不是加了三个png图片在resouces/small目录下面。。。
from mhxy_script.
还有一个问题就是给脚本权限的问题 我之前脚本是可以控制鼠标的 今天用了一下脚本不知道为什么脚本无法控制鼠标
from mhxy_script.
大佬 你是不是加了三个png图片在resouces/small目录下面。。。
是的,就是对应mine/norm_grey_mine.png、mine/mine_select.png 、mine/collect.png 这三个
from mhxy_script.
还有一个问题就是给脚本权限的问题 我之前脚本是可以控制鼠标的 今天用了一下脚本不知道为什么脚本无法控制鼠标
除了没用管理员启动,别的我就不知道了
from mhxy_script.
Related Issues (20)
- 挖矿的机制 HOT 1
- mac 跑起来报错 HOT 1
- 有个问题望大佬指点下 HOT 2
- Issue with Recursion in Baotu Class HOT 8
- 1920*1080笔记本运行没效果 HOT 4
- 运行后点了一下任务后就直接停止了
- 安装依赖报错 HOT 1
- UI层执行mhxy_tkinter.py的“一键挖矿”的问题 HOT 1
- 直接改成手机里面运行
- 新版已经没有爬塔了,挖矿也没有必要弄了,有没有用过的弄个视频观摩下,我这mac跑不起来 HOT 2
- MUMU12模拟器 设置MD文件中的分辨率后 鼠标位置完全不对劲啊 HOT 2
- 这个必须用模拟器才能玩吗 HOT 2
- 更新 HOT 1
- 大佬能否教一下怎样运行,没时间就算了,无意冒犯 HOT 1
- 大佬,这个能多开吗,还是只能单开? HOT 2
- 脚本无法使用 HOT 1
- 在ui文件夹里 pip install -r requirments.txt
- 副本选择报错已经新增技能选择建议 HOT 3
- configparser.NoSectionError: No section: 'main' HOT 2
- 大佬求教下,DLL load failed while importing QtGui
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mhxy_script.