GithubHelp home page GithubHelp logo

Comments (6)

aqnaruto avatar aqnaruto commented on August 16, 2024

我不是写python的,找到这个应该是函数 改了
s.tap_hold(random.uniform(0, 320), random.uniform(64, 320), press_time)
正在跑,希望能成功。

from wechat_autojump.

aqnaruto avatar aqnaruto commented on August 16, 2024

改了代码后,刚刚掐了,成功了,希望答主不要更新这个了,否则腾讯会升级小程序检测程序。以上就作为一个门槛吧。看到这个issue的人 才能成功刷榜。不得不佩服我自己学习python的速度和debug检测的速度 哈哈哈哈

from wechat_autojump.

leon332157 avatar leon332157 commented on August 16, 2024

@aqnaruto PR一下我看看

from wechat_autojump.

triplekiller avatar triplekiller commented on August 16, 2024

@aqnaruto 分享下代码看看?

from wechat_autojump.

sjditadmin avatar sjditadmin commented on August 16, 2024
def jump(self, player_pos, target_pos):
    distance = np.linalg.norm(player_pos - target_pos)
    press_time = distance * self.sensitivity
    press_time = int(np.rint(press_time))
    press_h, press_w = int(0.82*self.resolution[0]), self.resolution[1]//2
    press_h += np.random.randint(-30,30)
    press_w += np.random.randint(-30,30)
    if self.phone == 'Android':
        cmd = 'adb shell input swipe {} {} {} {} {}'.format(press_w, press_h, press_w, press_h, press_time)
        print(cmd)
        os.system(cmd)
    elif self.phone == 'IOS':
        self.s.tap_hold(press_w, press_h, press_time / 1000.)亲测有效

from wechat_autojump.

Ahdw avatar Ahdw commented on August 16, 2024

就算改了随机值,分数超过1000还是被发现啦

from wechat_autojump.

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.