Skip to content
/ hl-cheat Public

Linux cheat for goldsrc games (HL1/CS 1.6/DoD/TFC)

License

Notifications You must be signed in to change notification settings

8dcc/hl-cheat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Half-Life cheat

Linux cheat for goldsrc games.

Description

Simple linux cheat for most goldsrc games, made in C.

Supported games:

This project was heavily inspired by UnkwUsr/hlhax, and would not have been possible without his help. Make sure to check out his repo too.

Also make sure to check out deboogerxyz/ahc.

Features

FeatureCommandValues (0..n)
Bhopcv_bhopoff/on
Autostrafecv_autostrafeoff/rage/legit
Aimbotcv_aimbotoff/fov*
Autoshootcv_autoshootoff/on*
ESPcv_espoff/3d-box/name/all
Chamscv_chamsoff/players/hands/all*
Crosshaircv_crosshairoff/length
Tracerscv_tracersoff/on*

Note: Aimbot FOV goes from 0 (off) to 180 (all enemies)

Note: If cv_autoshoot is enabled, and cv_aimbot is enabled, it will stop attacking if there is no visible target.

Note: Chams color can be changed from the h_glColor4f() function inside src/hooks.c. Since this cheat is not hard to compile, I rather have less console variables than more customization at runtime.

Note: Bullet tracer color, width and time can be changed at the bottom of the bullet_tracers() function inside src/features/misc.c. See previous chams note.

Building

$ git clone --recurse-submodules https://github.com/8dcc/hl-cheat
$ cd hl-cheat
$ make
...

Note that you will need to clone with --recurse-submodules for the sdk. If you have already cloned it, you can just:

$ cd hl-cheat
$ git submodule update --init --recursive

Injecting

Uses the gdb debugger for injecting the library.

$ ./injector.sh
[sudo] password for username:

...

hl-cheat loaded!