GeMercher.py 文件源码

python
阅读 34 收藏 0 点赞 0 评论 0

项目:RunescapeBots 作者: lukegarbutt 项目源码 文件源码
def examine_money(position):
    # this whole block just examines the amount of money
    point = pointfrombox.random_point((138, 94), (189, 109))
    # that the account has just for auto log out purposes
    money_pouch = (position[0] - point[0], position[1] - point[1])
    # so that it has a recording of the last time an action
    realmouse.move_mouse_to(money_pouch[0], money_pouch[1])
    # was taken and can keep track of this value in future to stop logouts
    # occuring
    pyautogui.click(button='right')
    point = pointfrombox.random_point((-75, -32), (74, -24))
    examine = (money_pouch[0] - point[0], money_pouch[1] - point[1])
    realmouse.move_mouse_to(examine[0], examine[1])
    pyautogui.click()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号