8dcc
56fa55a751
Add g_punchAngles
2023-07-30 20:05:12 +02:00
8dcc
bb6c9efc50
Modify vec_copy so it supports float[]
2023-07-30 20:04:28 +02:00
8dcc
d5cfc33837
Change remainder func in vec_norm
...
remainderf -> remainder
2023-07-30 15:07:40 +02:00
8dcc
77e8b04214
Fix aimbot
...
cv_aimbot now indicates the aimbot fov
2023-07-30 15:07:10 +02:00
8dcc
772f4a1d7a
Remove unnecessary check
...
Already checked in get_player()
2023-07-29 18:58:43 +02:00
8dcc
e43eeb2d3b
Add the worst aimbot ever known to man
2023-07-29 17:35:45 +02:00
8dcc
762368d75f
Optimize some vector functions, replace vec_copy with macro
2023-07-29 17:34:18 +02:00
8dcc
67f4c5ed88
Change REGISTER_CVAR macro
...
Remove manual initialization, remove string arguments to macro (convert
to str inside it with #name)
2023-07-29 16:27:01 +02:00
8dcc
e83dad0409
Add aimbot cvar
2023-07-29 16:24:59 +02:00
8dcc
e9f3031ca1
Add vec_sub, vec_norm, vec_to_ang and RAD2DEG to util
2023-07-29 16:23:26 +02:00
8dcc
9f64f544de
Add event_api_s include to sdk.h
2023-07-29 16:23:11 +02:00
8dcc
3a514789a7
Add matrix_3x4 and bone_matrix to sdk.h
2023-07-28 23:12:20 +02:00
8dcc
8d735ece89
Add vec_copy and matrix_3x4_origin to util.c
2023-07-28 23:10:54 +02:00
8dcc
2a57c69444
Replace vector indexing with members
...
Use .x instead of [0]
Also add vec_add() to util.c
2023-07-28 22:15:25 +02:00
8dcc
8cfead04f9
Cast to extra_player_info_dod_t depending on game
2023-07-28 17:42:54 +02:00
8dcc
2c41a2b06b
Add extra_player_info_dod_t struct to sdk.h
2023-07-28 17:42:39 +02:00
8dcc
db29d35966
Cast player_extra_info depending on current game
2023-07-28 16:31:30 +02:00
8dcc
3080b4dc2d
Store player_extra_info as void*
2023-07-28 16:31:21 +02:00
8dcc
b0b54faf14
Add extra_player_info_cs_t struct
...
Same as extra_player_info_t but for cstrike
Change members of old one with stdint types
2023-07-28 16:30:24 +02:00
8dcc
91944e7f64
Typo
2023-07-28 15:49:01 +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
950c7e1cd5
Call custom_crosshair from HUD_Redraw
2023-07-27 14:23:11 +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
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
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