goldsrc-cheat/README.org

85 lines
2.8 KiB
Org Mode
Raw Normal View History

2023-07-19 14:24:25 -04:00
#+title: Half-Life cheat
#+options: toc:nil
#+startup: showeverything
2023-09-19 10:40:05 -04:00
#+author: Wizzard (Original arthur: [[https://github.com/8dcc/][8dcc]])
2023-07-19 14:24:25 -04:00
2023-08-01 07:35:36 -04:00
*Linux cheat for goldsrc games.*
2023-07-19 14:24:25 -04:00
#+TOC: headlines 2
* Description
2023-08-01 07:35:36 -04:00
Simple linux cheat for most goldsrc games, made in C.
Supported games:
- [[https://store.steampowered.com/app/70/HalfLife/][Half-Life 1]]
- [[https://store.steampowered.com/app/10/CounterStrike/][Counter-Strike 1.6]]
- [[https://store.steampowered.com/app/20/Team_Fortress_Classic/][Team Fortress Classic]]
- [[https://store.steampowered.com/app/30/Day_of_Defeat/][Day of Defeat]]
2023-07-19 14:24:25 -04:00
This project was heavily inspired by [[https://github.com/UnkwUsr/hlhax][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 [[https://github.com/deboogerxyz/ahc][deboogerxyz/ahc]].
2023-07-24 11:39:54 -04:00
* Features
2023-07-26 10:35:55 -04:00
| Feature | Command | Values (0..n) |
|------------+---------------+------------------------|
2023-09-19 10:54:04 -04:00
| 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* |
2023-07-25 09:05:46 -04:00
#+begin_quote
*Note:* Aimbot FOV goes from 0 (off) to 180 (all enemies)
#+end_quote
2023-07-31 12:06:21 -04:00
#+begin_quote
2023-09-19 10:54:04 -04:00
*Note:* If =cv_autoshoot= is enabled, and =cv_aimbot= is enabled, it will stop
2023-07-31 12:06:21 -04:00
attacking if there is no visible target.
#+end_quote
2023-07-25 09:05:46 -04:00
#+begin_quote
*Note:* Chams color can be changed from the =h_glColor4f()= function inside
2023-09-19 10:42:56 -04:00
[[https://git.deadzone.lol/Wizzard/goldsource-cheat/src/branch/main/src/hooks.c][src/hooks.c]]. Since this cheat is not hard to compile, I rather have less
2023-07-25 09:05:46 -04:00
console variables than more customization at runtime.
#+end_quote
2023-07-24 11:39:54 -04:00
2023-07-31 09:57:23 -04:00
#+begin_quote
*Note:* Bullet tracer color, width and time can be changed at the bottom of the
2023-09-19 10:42:56 -04:00
=bullet_tracers()= function inside [[https://git.deadzone.lol/Wizzard/goldsource-cheat/src/branch/main/src/features/misc.c][src/features/misc.c]]. See previous chams note.
2023-07-31 09:57:23 -04:00
#+end_quote
2023-07-19 14:24:25 -04:00
* Building
#+begin_src console
2023-09-19 10:40:05 -04:00
$ git clone --recurse-submodules https://git.deadzone.lol/Wizzard/goldsource-cheat
2023-09-19 10:38:01 -04:00
$ cd goldsource-cheat
2023-07-19 14:24:25 -04:00
$ make
...
#+end_src
2023-07-20 12:10:45 -04:00
Note that you will need to clone with =--recurse-submodules= for the sdk. If you
have already cloned it, you can just:
#+begin_src console
2023-09-19 10:38:01 -04:00
$ cd goldsource-cheat
2023-07-20 12:10:45 -04:00
$ git submodule update --init --recursive
#+end_src
2023-07-19 14:24:25 -04:00
* Injecting
2023-07-19 14:26:12 -04:00
Uses the [[https://www.gnu.org/savannah-checkouts/gnu/gdb/index.html][gdb]] debugger for injecting the library.
2023-07-19 14:24:25 -04:00
#+begin_src console
$ ./injector.sh
[sudo] password for username:
...
2023-09-19 10:38:01 -04:00
goldsource-cheat loaded!
2023-07-19 14:24:25 -04:00
#+end_src