8dcc
c99976c5ef
Merge pull request #1 from 8dcc/player_extra_info
...
Player extra info
2023-07-28 15:47:25 +02:00
8dcc
3e28c655ea
Get the current game once when injecting
2023-07-28 15:44:31 +02:00
8dcc
418f1afaca
Add get_cur_game to util.c
...
Reverse is_alive method to avoid esp on some dead people
Add game check to is_friend, since the team method only works on certain games
2023-07-28 15:43:51 +02:00
8dcc
de578033f2
Add this_game_id global
...
For storing the current game we are playing
2023-07-28 15:43:35 +02:00
8dcc
f924628fd9
Add hook comments
2023-07-28 15:33:18 +02:00
8dcc
eff4c70739
Change is_alive checks
...
Add ent check to is_friend
2023-07-28 14:41:34 +02:00
8dcc
201bc466fb
Merge branch 'main' into player_extra_info
2023-07-28 14:30:32 +02:00
8dcc
75c909db46
Add code for 2d box esp
2023-07-28 00:19:39 +02:00
8dcc
66695a6dc3
Merge branch 'main' into player_extra_info
2023-07-27 22:15:26 +02:00
8dcc
260d6647e6
Check is_friend with player_extra_info
2023-07-27 22:13:54 +02:00
8dcc
fd0aea976f
Get player_extra_info symbol
2023-07-27 22:13:34 +02:00
8dcc
330c017600
Add extra_player_t struct to sdk.h
2023-07-27 22:13:06 +02:00
8dcc
5e09221241
Update non-visible friendly color
2023-07-27 22:03:48 +02:00
8dcc
5321ee311e
Revert cv_chams settings
...
Remove FRIEND_CHAMS and ENEMY_CHAMS, that way PLAYER_CHAMS always
displays both teams
2023-07-27 21:39:01 +02:00
8dcc
ab806a0a8f
Change default value of cv_chams
...
So it includes friends and enemies
2023-07-27 21:34:04 +02:00
8dcc
744a4d5527
Merge friendly 2 conditions in chams
2023-07-27 21:33:53 +02:00
8dcc
3a107737b9
Add friendly and enemy chams
...
Add 2 new chams settings (friendly only and all players)
Add 2 new colors to visible_flags enum (friend_visible and friend_not_visible)
Add friendly colors to glColor4f hook
2023-07-27 21:28:40 +02:00
8dcc
9743b58ae4
Add is_friend template to util.c
2023-07-27 21:27:21 +02:00
8dcc
4e3d1ce996
Add h_* prefix to globals.h comment
2023-07-27 15:42:14 +02:00
8dcc
cfc2d89b8a
README - Add crosshair to features
2023-07-27 14:25:26 +02:00
8dcc
950c7e1cd5
Call custom_crosshair from HUD_Redraw
2023-07-27 14:23:11 +02:00
8dcc
25962163e0
Add features/misc.c to Makefile
2023-07-27 14:23:02 +02:00
8dcc
07473c30b4
Add custom_crosshair function
2023-07-27 14:22:48 +02:00
8dcc
e1a56c7fb6
Get game_info global
2023-07-27 14:18:47 +02:00
8dcc
85233ce6e3
Add game_t struct to sdk.h
...
Thanks to @oixKKK for his time and for helping me
2023-07-27 14:17:57 +02:00
8dcc
7147ccc5fa
Format globals.c
2023-07-27 13:36:57 +02:00
8dcc
ebe30c091a
Add cv_crosshair cvar
2023-07-26 22:03:32 +02:00
8dcc
160aba82c1
Add error message to injector if no pid
2023-07-26 22:01:33 +02:00
8dcc
7e46e74b9e
Replace hand chams with non-flat ones
...
Credits to @oxiKKK
2023-07-26 17:25:50 +02:00
8dcc
083186b497
Change default value of cv_chams
...
From 3 to 1
2023-07-26 17:25:33 +02:00
8dcc
3b0e90b388
README - Add chams options
2023-07-26 16:35:55 +02:00
8dcc
7ad62b0fc4
Add hand chams
2023-07-26 16:34:14 +02:00
8dcc
b5981b1da3
Change default value of cv_chams
2023-07-26 16:33:53 +02:00
8dcc
ef29333d21
Update usehull check for crouched
...
Check its 1 instead of non-zero. Thanks to @oxiKKK
2023-07-26 14:26:09 +02:00
8dcc
dbc12b6fb5
Sync detour.h with upstream
...
Add GET_ORIGINAL()
2023-07-26 13:35:11 +02:00
8dcc
684f950509
Clean hooks.c
...
Organize includes
Add comments
Rename clmove_data -> detour_data_clmove
Rename clmove_t -> clmove_type_t
2023-07-25 23:03:04 +02:00
8dcc
7a2d7b9377
Call engine_draw_text
...
Instead of pfnDrawConsoleString
2023-07-25 22:51:13 +02:00
8dcc
6e640f483e
Add engine_draw_text to util
2023-07-25 22:50:29 +02:00
8dcc
56217cc7f3
Add cv_clmove cvar
2023-07-25 22:10:26 +02:00
8dcc
82580503ce
Call hooks_restore() from destructor
2023-07-25 20:38:06 +02:00
8dcc
74f222c1db
Hook CL_Move
...
Cheers, @Lak3!
Also add hooks_restore()
2023-07-25 20:37:45 +02:00
8dcc
a103a53fda
Add detour library for hooking
...
https://github.com/8dcc/detour-lib
2023-07-25 20:36:00 +02:00
8dcc
4b7cdc86b9
Add new_flags parameter to protect_addr
2023-07-25 20:35:50 +02:00
8dcc
d2d1f55d22
README - Add chams color note
2023-07-25 15:06:12 +02:00
8dcc
0b72235dea
Add visible_mode check to glColor4f hook
2023-07-25 14:46:37 +02:00
8dcc
889d9481aa
Make visible_mode global
2023-07-25 14:46:25 +02:00
8dcc
6e39b49c4b
Unhook glColor4f from destructor
2023-07-25 14:28:03 +02:00
8dcc
2caa3ae57e
Save and restore i_enginestudio
2023-07-25 14:24:50 +02:00
8dcc
b6cdb9a55d
Add glColor4f hook
...
Add GL_HOOK and GL_UNHOOK macros
2023-07-25 14:20:38 +02:00
8dcc
fdb5cdf356
Add change box esp size if player is crouched
2023-07-24 20:35:22 +02:00