2023-09-20 15:06:00 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								#+title : Half-Life cheat (Original author: [[https://github.com/8dcc/][8dcc]])  
						 
					
						
							
								
									
										
										
										
											2023-07-19 20:24:25 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								#+options : toc:nil  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#+startup : showeverything  
						 
					
						
							
								
									
										
										
										
											2023-09-20 19:03:32 +00:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								#+author : Wizzard  
						 
					
						
							
								
									
										
										
										
											2023-07-19 20:24:25 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-08-01 13:35:36 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								*Linux cheat for goldsrc games.*  
						 
					
						
							
								
									
										
										
										
											2023-07-19 20:24:25 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#+TOC : headlines 2  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								*  Description  
						 
					
						
							
								
									
										
										
										
											2023-08-01 13:35:36 +02: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-09-20 08:46:08 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  [[https://store.steampowered.com/app/40/Deathmatch_Classic/ ][Deathmatch Classic ]] 
						 
					
						
							
								
									
										
										
										
											2023-07-19 20:24:25 +02: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.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-07-20 16:03:57 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Also make sure to check out [[https://github.com/deboogerxyz/ahc ][deboogerxyz/ahc ]].
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-07-24 17:39:54 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								*  Features  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2025-04-04 17:35:27 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								| Feature     | Description                       |  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								|-------------|-----------------------------------|  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								| Bhop        | Automatically jump when landing   |  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								| Autostrafe  | Automatic strafing movement       |  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								| Aimbot      | Aim assistance with FOV control   |  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								| Autoshoot   | Automatically shoot at enemies    |  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								| ESP         | See enemies through walls         |  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								| Chams       | Colored player models             |  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								| Crosshair   | Custom crosshair                  |  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								| Tracers     | Show bullet paths                 |  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								| Namechanger | Automatically change player name  |  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								| ThirdPerson | Third-person camera view          |  
						 
					
						
							
								
									
										
										
										
											2023-07-30 15:09:49 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#+begin_quote
							 
						 
					
						
							
								
									
										
										
										
											2025-04-04 17:35:27 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								*Note:*  All features can now be controlled via the ImGui menu (press INSERT to open). 
						 
					
						
							
								
									
										
										
										
											2023-07-30 15:09:49 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								#+end_quote
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2025-04-04 17:35:27 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								*  GUI Menu  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The cheat includes a full graphical user interface that can be opened by pressing the *INSERT*  key. The menu includes several tabs:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  *Aimbot:*  Configure aimbot settings including FOV, smoothing, and autoshoot 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  *Visuals:*  ESP, chams, crosshair and other visual enhancements 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  *Misc:*  Various utilities including name changer 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  *Movement:*  Bunny hop and auto-strafe settings 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  *ThirdPerson:*  Configure third-person camera view and key binding 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  *Config:*  Save and load configurations, set default settings 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Key features of the menu:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  Press INSERT to toggle the menu on/off 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  Settings are automatically saved to =~/.config/dz-goldsrccheat/=  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  Default settings can be saved and will automatically load on startup 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  Bind custom keys for features like third-person toggle 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-07-31 18:06:21 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								#+begin_quote
							 
						 
					
						
							
								
									
										
										
										
											2025-04-04 17:35:27 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								*Note:*  Aimbot FOV goes from 0 (off) to 180 (all enemies) 
						 
					
						
							
								
									
										
										
										
											2023-07-31 18:06:21 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								#+end_quote
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-07-25 15:05:46 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								#+begin_quote
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								*Note:*  Chams color can be changed from the =h_glColor4f()=  function inside 
						 
					
						
							
								
									
										
										
										
											2023-09-21 15:08:13 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[[https://git.deadzone.lol/Wizzard/goldsrc-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 15:05:46 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								console variables than more customization at runtime.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#+end_quote
							 
						 
					
						
							
								
									
										
										
										
											2023-07-24 17:39:54 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-07-31 15:57:23 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								#+begin_quote
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								*Note:*  Bullet tracer color, width and time can be changed at the bottom of the 
						 
					
						
							
								
									
										
										
										
											2023-09-21 15:08:13 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								=bullet_tracers()=  function inside [[https://git.deadzone.lol/Wizzard/goldsrc-cheat/src/branch/main/src/features/misc.c ][src/features/misc.c ]]. See previous chams note. 
						 
					
						
							
								
									
										
										
										
											2023-07-31 15:57:23 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								#+end_quote
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-07-19 20:24:25 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								*  Building  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#+begin_src console
							 
						 
					
						
							
								
									
										
										
										
											2023-09-21 15:08:13 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								$ git clone --recurse-submodules https://git.deadzone.lol/Wizzard/goldsrc-cheat
							 
						 
					
						
							
								
									
										
										
										
											2023-09-19 10:38:01 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								$ cd goldsource-cheat
							 
						 
					
						
							
								
									
										
										
										
											2023-07-19 20:24:25 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								$ make
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#+end_src
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-07-20 18:10:45 +02: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 18:10:45 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								$ git submodule update --init --recursive
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#+end_src
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-07-19 20:24:25 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								*  Injecting  
						 
					
						
							
								
									
										
										
										
											2023-07-19 20:26:12 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Uses the [[https://www.gnu.org/savannah-checkouts/gnu/gdb/index.html ][gdb ]] debugger for injecting the library.
							 
						 
					
						
							
								
									
										
										
										
											2023-07-19 20:24:25 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								#+begin_src console
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								$ ./injector.sh
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								[sudo] password for username:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								...
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-09-19 10:38:01 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								goldsource-cheat loaded!
							 
						 
					
						
							
								
									
										
										
										
											2023-07-19 20:24:25 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								#+end_src