Code Monkey home page Code Monkey logo

Comments (9)

aicezam avatar aicezam commented on June 11, 2024

MuMu模拟器不支持后台点击,要用兼容模式哈,后台截图是黑屏的,点击也发送不了点击事件,兼容模式是另一种截图和点击方法,所有窗口都支持

from smartonmyoji.

aicezam avatar aicezam commented on June 11, 2024

用特征点匹配方法,也不需要重新截图

from smartonmyoji.

xmhcmax avatar xmhcmax commented on June 11, 2024

我试了用特征点,开兼容模式,识别不上呜呜呜

from smartonmyoji.

aicezam avatar aicezam commented on June 11, 2024

不应该啊,有没有截图,调试打开有截图成功吗?

from smartonmyoji.

aicezam avatar aicezam commented on June 11, 2024

emmm,建议拉最新的代码试试,这两天有更新

from smartonmyoji.

xmhcmax avatar xmhcmax commented on June 11, 2024

我用老版本的电脑端试了一下新的(魂土),开
模板匹配:
正常模式匹配上了,显示了点击,没有进入;
兼容模式匹配不上;
特征值匹配:
正常模式匹配上了,显示了点击,没有进入;
兼容模式正常;

from smartonmyoji.

aicezam avatar aicezam commented on June 11, 2024

emmm,我也不清楚了,我在模拟器、云游戏、手机、电脑版测试都正常的,没出现过这种情况。。。。
另外兼容模式下,游戏窗口不能被遮挡,遮挡才会出现匹配不上的情况,理论上模板匹配用兼容模式也应该正常的;
正常模式不能点击了没生效,说明不兼容游戏窗口(发送点击事件给窗口失败了或者没有正常执行),可能是电脑性能原因,也可能游戏版本太老了,也可能系统原因(没试过在win7上能不能运行),我自己遇到的bug都想办法修复了,你这种情况我着实没办法,可以试试其他大佬写的脚本

from smartonmyoji.

xmhcmax avatar xmhcmax commented on June 11, 2024

大佬大佬,我发现正常模式和兼容模式的位置计算有点问题诶
第一张图片是正常模式
正常模式
第二张是兼容模式
兼容模式
匹配的是同一张图片,但是位置不一样呢

from smartonmyoji.

aicezam avatar aicezam commented on June 11, 2024

你是用了特征点匹配方法吗?匹配方法不同计算出来的位置不同是正常的,特征点匹配方法不是很精确,兼容模式下截图方法和后台截图的方法也不一样,截图大小不一样可能计算出的坐标点也不一样,只要能点击都是正常的

另外,建议拉最新的代码,更新了防检测的逻辑,之前的代码可能会收到鬼使黑的来信(之前的脚本默认偏移量太小了,连续一定时间内多次点同一个地方会被判定为作弊)

from smartonmyoji.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.