пытаюсь в этот же чит бхоп всучить но не понимаю у меня банни хоп работает а вх нет
import pymem, requests, time, keyboard
print ('>>> Запускается чит...')
pm = pymem.Pymem("csgo.exe")
client = pymem.process.module_from_name(pm.process_handle, "client.dll").lpBaseOfDll
def offsets():
global dwGlowObjectManager, dwLocalPlayer, dwEntityList, m_iTeamNum, m_iGlowIndex
print ('')
print ('>>> Получение оффсетов...')
offsets = '
'
response = requests.get(offsets).json()
dwForceJump = int(response["signatures"]["dwForceJump"])
dwGlowObjectManager = int(response["signatures"]["dwGlowObjectManager"])
dwEntityList = int(response["signatures"]["dwEntityList"])
dwLocalPlayer = int(response["signatures"]["dwLocalPlayer"])
m_iTeamNum = int(response["netvars"]["m_iTeamNum"])
m_iGlowIndex = int(response["netvars"]["m_iGlowIndex"])
m_fFlags = int(response["netvars"]["m_fFlags"])
print ('>>> Запуск WallHack...')
def BunnyHope():
while True:
if pm.read_int(client + dwLocalPlayer):
player = pm.read_int(client + dwLocalPlayer)
force_jump = client + dwForceJump
on_ground = pm.read_int(player + m_fFlags)
if keyboard.is_pressed("space"):
if on_ground == 257:
pm.write_int(force_jump, 5)
time.sleep(0.17)
pm.write_int(force_jump, 4)
def ESP():
while True:
player = pm.read_int(client + dwLocalPlayer)
glow_manager = pm.read_int(client + dwGlowObjectManager)
if (player):
team = pm.read_int(player + m_iTeamNum)
for i in range(1, 32):
entity = pm.read_int(client + dwEntityList + i * 0x10)
if entity:
entity_team_id = pm.read_int(entity + m_iTeamNum)
entity_glow = pm.read_int(entity + m_iGlowIndex)
if (entity_team_id != team):
pm.write_float(glow_manager + entity_glow * 0x38 + 0x8, float(1))
pm.write_float(glow_manager + entity_glow * 0x38 + 0xC, float(1))
pm.write_float(glow_manager + entity_glow * 0x38 + 0x10, float(1))
pm.write_float(glow_manager + entity_glow * 0x38 + 0x14, float(1))
pm.write_int(glow_manager + entity_glow * 0x38 + 0x28, 1)
print ('>>> Чит запущен.')
time.sleep(0.01)
BunnyHope()
ESP()
ошибка в конце кода?