Skip to content

haigoux/python-antiflash-csgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

antiflash.py

antiflash.py - disable the effect of flashbangs using python in csgo.

Usage

import pymem
import requests


proc = pymem.Pymem("csgo.exe")
client = pymem.process.module_from_name(proc.process_handle, "client.dll").lpBaseOfDll
engine = pymem.process.module_from_name(proc.process_handle, "engine.dll" ).lpBaseOfDll

offsets = requests.get('https://raw.githubusercontent.com/frk1/hazedumper/master/csgo.json').json()
dwLocalPlayer = int(offsets['signatures']['dwLocalPlayer'])

while True:
    player= proc.read_int(client + dwLocalPlayer)
    proc.write_int(player + int(offsets['netvars']['m_flFlashDuration']), 0)

About

remove flashbang effect without sv_cheats

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages