sws888pvptools


- 需要管理员身份运行
- F10开/关 有beep提示音时为开启
PVP工具(稳定版)V0.2.2(无图标) MD5:b6b60999c9ce6b9136d6e2a4f7c3bafa
PVP工具(稳定版)V0.3.0 MD5:61fdef2978c7e7b70ffbbac4e5e64f58
PVP工具(稳定版)V0.3.2 备用链接1 备用链接2 备用链接3
PVP工具(稳定版)V0.4.0 密码:fswf
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
浙公网安备 33010602011771号