• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

Zdz2005

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

View Post

sws888pvptools

 

 

 

 

  • 需要管理员身份运行
  • F10开/关 有beep提示音时为开启

 

PVP工具(稳定版)V0.1.1

PVP工具(稳定版)V0.2.0

PVP工具(稳定版)V0.2.1

PVP工具(稳定版)V0.2.2(无图标)   MD5:b6b60999c9ce6b9136d6e2a4f7c3bafa

PVP工具(稳定版)V0.3.0            MD5:61fdef2978c7e7b70ffbbac4e5e64f58

PVP工具(稳定版)V0.3.1 

PVP工具(稳定版)V0.3.2    备用链接1  备用链接2  备用链接3

PVP工具(稳定版)V0.4.0   密码:fswf

PVP工具(稳定版)V0.4.1   

PVP工具(稳定版)V0.4.3   密码:256r  B382B1E7F54E3A4832B8DC0820F15364


 

核心代码

VirtualKey_dict = {
  }

# press_list = ["x","z","numpad_0","g","w","v","q","e","t","y","left_control","d","f","a"]
press_list = ["x",]

dnf_once_presss_run_list = ["numpad_4","numpad_6"]

exit_flag = False
MapVirtualKey = ctypes.windll.user32.MapVirtualKeyA
#毫秒
SLEEP_TIME = 10

SWITCH_BUTTON = "F10"


#自定义sleep时间
class Timer(object):

    def __init__(self):
        freq = ctypes.c_longlong(0)
        ctypes.windll.kernel32.QueryPerformanceFrequency(ctypes.byref(freq))
        self.__freq = freq.value
        self.__beginCount = self.counter()

    def counter(self):
        freq = ctypes.c_longlong(0)
        ctypes.windll.kernel32.QueryPerformanceCounter(ctypes.byref(freq))
        return freq.value

    def beginCount(self):
        self.__beginCount = self.counter()

    # 时间差,精确到微秒
    def secondsDiff(self):
        self.__endCount = self.counter()
        return (self.__endCount - self.__beginCount) / (self.__freq + 0.)

    # 休眠,精确到毫秒
    def sleep(self, timeout):
        while True:
            self.__endCount = self.counter()
            if ((self.__endCount - self.__beginCount) / (self.__freq + 0.)) * 1000 >= timeout:
                return

keep_press = {
    
}

for _ in press_list:
    keep_press[_] = None

for _ in dnf_once_presss_run_list:
    keep_press[_] = None

def pressx(key,*args):
    MapVirtualKey_NUMBER = VirtualKey_dict[key]
    VirtualKey = MapVirtualKey(MapVirtualKey_NUMBER, 0)
    while True:
        if keep_press[key] == 1 and exit_flag == False:
            win32api.keybd_event(MapVirtualKey_NUMBER, VirtualKey, 0, 0)
            
            Timer().sleep(10)  #
            win32api.keybd_event(MapVirtualKey_NUMBER, VirtualKey, 2, 0)
            Timer().sleep(30)
        else:
            return

  md5计算工具

@echo off
set input=%1
certutil -hashfile %input% MD5
pause

 

posted on 2024-04-09 02:13  Zdz2005  阅读(88)  评论(0)    收藏  举报

刷新页面返回顶部
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3