Skip to content

CS:GO wallhack achieved by patching one byte of game memory. Written in Python 3.

License

Notifications You must be signed in to change notification settings

danielkrupinski/OneByteWallhack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

OneByteWallhack

CS:GO wallhack achieved by patching one byte of game memory. Written in Python 3.

This does the same as r_drawothermodels 2 command but without touching the cvar, so it's VAC - safe.

How it works

This program patches assembly code produced by compiling the following line of the game code:

int extraFlags = 0;
if ( r_drawothermodels.GetInt() == 2 )
{	
    extraFlags |= STUDIO_WIREFRAME;	
}

The r_drawothermodels check is modified to make the if expression evaluate to true when r_drawothermodels cvar is set to default value (1).