Add files via upload

This commit is contained in:
ALittlePatate
2021-02-24 12:54:38 +01:00
committed by GitHub
parent df32dae200
commit 5ed12e4c21
25 changed files with 1864 additions and 0 deletions

35
utils/noflash.py Normal file
View File

@@ -0,0 +1,35 @@
import pymem
import pymem.process
import time
import ctypes, sys
import warnings
warnings.simplefilter("ignore")
from Offsets import *
sys.path.insert(1, "classes/")
from features_reads import read
import features_check
class noflash() :
def __init__(self):
try :
pm = pymem.Pymem("csgo.exe")
except :
MessageBox = ctypes.windll.user32.MessageBoxW
MessageBox(None, 'Could not find the csgo.exe process !', 'Error', 16)
return
client = pymem.process.module_from_name(pm.process_handle, "client.dll").lpBaseOfDll
player = pm.read_int(client + dwLocalPlayer)
flash_value = player + m_flFlashMaxAlpha
read("misc")
while features_check.check.no_flash :
try :
read("misc")
pm.write_float(flash_value, float(0))
time.sleep(0.2)
except :
pass
pm.close_process()