General Improvements
**Head Tracker** - Makes head tracker distance based - Makes circle an outline of a circle rather than filled - Adjusted circle to be more oval shape to fit character heads - Added toggle feature to head tracker as requested by many **Handle Hijack** - Changed permissions for hijacked handle from all access to permissions of svchost.exe, which still allows read and write memory, but removes the all access permissions, looking more "legit" to VAC **Offsets** - Update offsets for game build 13968
This commit is contained in:
@@ -20,6 +20,8 @@ namespace config {
|
||||
if (data.empty())
|
||||
return false;
|
||||
|
||||
if (data["show_head_tracker"].is_boolean())
|
||||
show_head_tracker = data["show_head_tracker"];
|
||||
if (data["team_esp"].is_boolean())
|
||||
team_esp = data["team_esp"];
|
||||
if (data["automatic_update"].is_boolean())
|
||||
@@ -63,23 +65,18 @@ namespace config {
|
||||
};
|
||||
}
|
||||
|
||||
//if (data["show_distance"].is_boolean())
|
||||
// show_distance = data["show_distance"];
|
||||
//if (data["show_armor"].is_boolean())
|
||||
// show_armor = data["show_armor"];
|
||||
//if (data["rainbow"].is_boolean())
|
||||
// rainbow = data["rainbow"];
|
||||
//if (data["rainbow_speed"].is_number())
|
||||
// rainbow_speed = data["rainbow_speed"];
|
||||
//if (data["head_tracker"].is_boolean())
|
||||
// head_tracker = data["head_tracker"];
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void save() {
|
||||
json data;
|
||||
|
||||
|
||||
data["show_head_tracker"] = show_head_tracker;
|
||||
data["team_esp"] = team_esp;
|
||||
data["automatic_update"] = automatic_update;
|
||||
data["render_distance"] = render_distance;
|
||||
@@ -91,11 +88,8 @@ namespace config {
|
||||
data["esp_name_color"] = { esp_name_color.r, esp_name_color.g, esp_name_color.b };
|
||||
data["esp_distance_color"] = { esp_distance_color.r, esp_distance_color.g, esp_distance_color.b };
|
||||
|
||||
//data["show_distance"] = show_distance;
|
||||
//data["show_armor"] = show_armor;
|
||||
//data["rainbow"] = rainbow;
|
||||
//data["rainbow_speed"] = rainbow_speed;
|
||||
//data["head_tracker"] = head_tracker;
|
||||
|
||||
std::ofstream output(file_path);
|
||||
output << std::setw(4) << data << std::endl;
|
||||
|
||||
@@ -28,6 +28,7 @@ namespace config {
|
||||
inline float render_distance = -1.f;
|
||||
inline int flag_render_distance = 200;
|
||||
inline bool show_extra_flags = false;
|
||||
inline bool show_head_tracker = false;
|
||||
|
||||
inline RGB esp_box_color_team = { 75, 175, 75 };
|
||||
inline RGB esp_box_color_enemy = { 175, 75, 75 };
|
||||
|
||||
@@ -5,13 +5,13 @@ namespace render
|
||||
{
|
||||
void DrawCircle(HDC hdc, int x, int y, int radius, COLORREF color)
|
||||
{
|
||||
HBRUSH hBrush = CreateSolidBrush(color);
|
||||
HBRUSH hOldBrush = (HBRUSH)SelectObject(hdc, hBrush);
|
||||
HPEN hPen = CreatePen(PS_SOLID, 2, color);
|
||||
HPEN hOldPen = (HPEN)SelectObject(hdc, hPen);
|
||||
|
||||
Ellipse(hdc, x - radius, y - radius, x + radius, y + radius);
|
||||
Arc(hdc, x - radius, y - radius, x + radius, y + radius + 4, 0, 0, 0, 0);
|
||||
|
||||
SelectObject(hdc, hOldBrush);
|
||||
DeleteObject(hBrush);
|
||||
SelectObject(hdc, hOldPen);
|
||||
DeleteObject(hPen);
|
||||
}
|
||||
|
||||
void DrawBorderBox(HDC hdc, int x, int y, int w, int h, COLORREF borderColor)
|
||||
|
||||
Reference in New Issue
Block a user