Skip to content

A wallhack for Urban Terror 4.3.4 that reveals entities through walls by hooking the game's OpenGL function glDrawElements and disabling depth testing for OpenGL.

License

Notifications You must be signed in to change notification settings

GameHackingAcademy/UrbanTerror_OpenGLWallhack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Urban Terror OpenGL Wallhack

Referenced in https://gamehacking.academy/lesson/5/3.

A wallhack for Urban Terror 4.3.4 that reveals entities through walls by hooking the game's OpenGL function glDrawElements and disabling depth testing for OpenGL.

This is done by locating the glDrawElements function inside the OpenGL library and creating a code cave at the start of the function. In the code cave, we check the number of vertices associated with the element. If it is over 500, we call glDepthRange to clear the depth clipping plane and glDepthFunc to disable depth testing. Otherwise, we call these same functions to re-enable the depth clipping plane and re-enable depth testing.

This DLL must be injected into the Urban Terror process to work. One way to do this is to use a DLL injector. Another way is to enable AppInit_DLLs in the registry.

About

A wallhack for Urban Terror 4.3.4 that reveals entities through walls by hooking the game's OpenGL function glDrawElements and disabling depth testing for OpenGL.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages