Linux cheat for goldsrc games (HL1/CS 1.6/DoD/TFC/DMC)
Go to file
Wizzard 0e7f955c7d Fix cvars not showing up 2023-09-19 10:54:04 -04:00
src Change cvar from 'cv_' to 'dz_' 2023-09-19 10:45:57 -04:00
.gitignore Initial commit 2023-07-18 22:03:59 +02:00
.gitmodules Remove sdk folder, add as submodule in include 2023-07-20 17:59:26 +02:00
LICENSE Initial commit 2023-07-18 22:03:59 +02:00
Makefile Add the worst aimbot ever known to man 2023-07-29 17:35:45 +02:00
README.org Fix cvars not showing up 2023-09-19 10:54:04 -04:00
inject.sh Added cv_watermark 2023-09-19 10:38:01 -04:00

README.org

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

Feature Command Values (0..n)
Bhop cv_bhop off/on
Autostrafe cv_autostrafe off/rage/legit
Aimbot cv_aimbot off/fov*
Autoshoot cv_autoshoot off/on*
ESP cv_esp off/3d-box/name/all
Chams cv_chams off/players/hands/all*
Crosshair cv_crosshair off/length
Tracers cv_tracers off/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://git.deadzone.lol/Wizzard/goldsource-cheat
$ cd goldsource-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 goldsource-cheat
$ git submodule update --init --recursive

Injecting

Uses the gdb debugger for injecting the library.

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

...

goldsource-cheat loaded!