Skip to content

Commit

Permalink
Aimbot Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Izocel committed Jan 7, 2025
1 parent d0f16e4 commit 6dc021e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Application/Instances/Player.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class Player

bool SetViewAngles(const Vector3 &targetAngles, float smoothValue = 1.00F)
{
smoothValue = smoothValue > 1 ? smoothValue : 1;
smoothValue = smoothValue > 0 ? smoothValue : 1;

Vector3 deltaAngle = targetAngles - viewAngles;
while (deltaAngle.y > 180.f)
Expand Down
8 changes: 4 additions & 4 deletions Application/Modules/AimBotModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ class AimBotModule : public Module
if (GetAsyncKeyState(VK_HOME) & 1)
config.showAimCircle = !config.showAimCircle;

// uses page up to increment smoothness
if (GetAsyncKeyState(SB_PAGEUP) & 1)
// uses up to increment smoothness
if (GetAsyncKeyState(VK_UP) & 1)
config.smoothness += 0.05F;

// uses page up to decrement smoothness
if (GetAsyncKeyState(SB_PAGEDOWN) & 1)
// uses down to decrement smoothness
if (GetAsyncKeyState(VK_DOWN) & 1)
config.smoothness -= 0.05F;

// VK_XBUTTON1 (Mouse 4) toggles aim lock
Expand Down
2 changes: 1 addition & 1 deletion Application/Modules/Configs.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ struct AimConfig : public ModuleConfig
{
bool isAimActive = false, isClickActive = false, showAimCircle = false;
Circle aimCircle = {.radius = 128.0F, .color = White12, .borderColor = White25};
float smoothness = 1.5F;
float smoothness = 1.25F;
};

0 comments on commit 6dc021e

Please sign in to comment.