diff --git a/Features/Glow.hpp b/Features/Glow.hpp index 7745997..ff6be54 100644 --- a/Features/Glow.hpp +++ b/Features/Glow.hpp @@ -555,13 +555,6 @@ struct Glow { Memory::Write(currentWeapon + OFF_GLOW_HIGHLIGHT_ID, ViewmodelGlowID); } - - if (!Features::Glow::ViewModelGlow) { - uint64_t actWeaponID = Memory::Read(Myself->BasePointer + OFF_VIEWMODELS) & 0xFFFF; - uint64_t currentWeapon = Memory::Read(OFF_REGION + OFF_ENTITY_LIST + (actWeaponID << 5)); - - Memory::Write(currentWeapon + OFF_GLOW_HIGHLIGHT_ID, 0); - } } void ViewmodelGlowSettings() { diff --git a/Features/Radar.hpp b/Features/Radar.hpp index 099c523..b29b7a7 100644 --- a/Features/Radar.hpp +++ b/Features/Radar.hpp @@ -34,15 +34,13 @@ #define DEG2RAD(x) ((float)(x) * (float)(M_PI / 180.f)) struct Radar { - XDisplay *X11Display; Camera *GameCamera; Level *m_level; LocalPlayer *Myself; std::vector *Players; std::chrono::milliseconds LastUpdateTime; - Radar(XDisplay *X11Display, std::vector *Players, Camera *GameCamera, Level *level, LocalPlayer *localplayer) { - this->X11Display = X11Display; + Radar(std::vector *Players, Camera *GameCamera, Level *level, LocalPlayer *localplayer) { this->Players = Players; this->GameCamera = GameCamera; this->m_level = level; diff --git a/Features/Sense.hpp b/Features/Sense.hpp index b09925f..59b7d8f 100644 --- a/Features/Sense.hpp +++ b/Features/Sense.hpp @@ -530,20 +530,6 @@ struct Sense { Renderer::DrawLine(Canvas, Vector2D(x, y - Features::Sense::CrosshairSize), Vector2D(x, y + Features::Sense::CrosshairSize), Features::Sense::CrosshairThickness, ImColor(Features::Colors::CrosshairColor[0], Features::Colors::CrosshairColor[1], Features::Colors::CrosshairColor[2], Features::Colors::CrosshairColor[3])); // Top - bottom } - // Draw FOV Circle (Legitbot) - if (Features::Sense::DrawFOVCircle && Features::Aimbot::AimbotEnabled && Myself->IsCombatReady()) { - float FOV = std::min(Features::Aimbot::FOV, Features::Aimbot::FOV * (AimAssistState->GetFOVScale() * Features::Aimbot::ZoomScale)); - float Radius = tanf(DEG2RAD(FOV) / 2) / tanf(DEG2RAD(Features::Sense::GameFOV) / 2) * ScreenWidth; - Renderer::DrawCircle(Canvas, Vector2D(ScreenWidth / 2, ScreenHeight / 2), Radius, 40, ImColor(Features::Colors::FOVColor[0], Features::Colors::FOVColor[1], Features::Colors::FOVColor[2], Features::Colors::FOVColor[3]), Features::Sense::FOVThickness); - } - - // Draw Filled FOV Circle (Legitbot) - if (Features::Sense::DrawFilledFOVCircle && Features::Aimbot::AimbotEnabled && Myself->IsCombatReady()) { - float FOV = std::min(Features::Aimbot::FOV, Features::Aimbot::FOV * (AimAssistState->GetFOVScale() * Features::Aimbot::ZoomScale)); - float Radius = tanf(DEG2RAD(FOV) / 2) / tanf(DEG2RAD(Features::Sense::GameFOV) / 2) * ScreenWidth; - Renderer::DrawCircleFilled(Canvas, Vector2D(ScreenWidth / 2, ScreenHeight / 2), Radius, 40, ImColor(Features::Colors::FilledFOVColor[0], Features::Colors::FilledFOVColor[1], Features::Colors::FilledFOVColor[2], Features::Colors::FilledFOVColor[3])); - } - // Draw lot of things if (Features::Settings::ESPEnabled) { for (auto p : *Players) { diff --git a/Utils/Features.hpp b/Utils/Features.hpp index e58eba9..762262f 100644 --- a/Utils/Features.hpp +++ b/Utils/Features.hpp @@ -533,7 +533,7 @@ namespace Features { }; // Aimbot - bool DrawFOVCircle = true; + bool DrawFOVCircle = false; bool DrawFilledFOVCircle = false; float FOVThickness = 1.0; float GameFOV = 120; diff --git a/xap.cpp b/xap.cpp index 9bab7a5..3b485e4 100644 --- a/xap.cpp +++ b/xap.cpp @@ -51,7 +51,7 @@ std::vector *Players = new std::vector; // Features Sense *ESP = new Sense(Map, Players, GameCamera, Myself, X11Display); -Radar *MapRadar = new Radar(X11Display, Players, GameCamera, Map, Myself); +Radar *MapRadar = new Radar(Players, GameCamera, Map, Myself); Glow *GlowESP = new Glow(Map, Players, GameCamera, Myself); Legitbot *Legit = new Legitbot(X11Display, Map, Myself, Players); Triggerbot *Trigger = new Triggerbot(X11Display, Map, Myself, Players);