-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix not aiming at target fixed return (doesn't work if there are more than 128 dice) backtrack optimization update no recoil and some minor fixes
- Loading branch information
Showing
23 changed files
with
201 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
#pragma once | ||
#include "../../hooks/hooks.h" | ||
|
||
namespace aimbot | ||
struct priority_info | ||
{ | ||
struct priority_info_t | ||
{ | ||
float fov = FLT_MAX; | ||
float distance = FLT_MAX; | ||
float health = FLT_MAX; | ||
}; | ||
float fov = FLT_MAX; | ||
float distance = FLT_MAX; | ||
float health = FLT_MAX; | ||
}; | ||
|
||
struct target_info_t | ||
{ | ||
c_base_entity* entity = nullptr; | ||
struct target_info | ||
{ | ||
c_base_entity* entity = nullptr; | ||
|
||
c_vector shoot_pos; | ||
q_angle shoot_angle; | ||
float simulation_time = 0.f; | ||
priority_info_t priority_info; | ||
}; | ||
c_vector shoot_pos; | ||
q_angle shoot_angle; | ||
float simulation_time; | ||
priority_info priority_info; | ||
}; | ||
|
||
inline target_info_t target_info; | ||
namespace aimbot | ||
{ | ||
inline target_info target; | ||
|
||
void run(c_user_cmd* cmd); | ||
target_info_t find_best_target(c_user_cmd* cmd, c_base_entity* local_player); | ||
target_info find_best_target(c_user_cmd* cmd, c_base_entity* local_player); | ||
bool check_hitbox_group(int group); | ||
bool get_hit_position(c_base_entity* local_player, c_base_entity* entity, c_vector& shoot_pos, matrix3x4* bone_to_world = nullptr); | ||
bool get_hit_position(c_base_entity* local_player, c_base_entity* entity, c_vector& shoot_pos, std::shared_ptr<matrix3x4[]> bone_to_world = nullptr); | ||
void smooth(const q_angle& view_angles, q_angle& angle); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.