Skip to content

silverhans/anti-aimbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Anti-Aimbot (Neural Network)

Anti-aimbot that uses YOLOv3-tiny to detect enemies and push your crosshair AWAY from them. The closer the enemy is to your crosshair, the stronger the repulsion — like an inverse magnet.

How it works

  1. Captures a 250×250 pixel region from the center of your screen (GDI BitBlt)
  2. Runs YOLOv3-tiny inference via OpenCV DNN to detect targets
  3. For each detected target, calculates a repulsion vector away from it
  4. Smoothly pushes the cursor in the opposite direction — closer enemy = stronger push
force = STRENGTH × (1 - distance / max_range)
push  = -normalized_direction × force × MAX_PUSH

Controls

Key Action
Right Shift Toggle anti-aimbot on/off

Configuration

Edit defines.h to tweak behavior:

#define ANTI_AIM_STRENGTH 1.0f       // repulsion multiplier (0.5 = subtle, 2.0 = aggressive)
#define ANTI_AIM_MAX_PUSH 15.0f      // max pixels per frame
#define ANTI_AIM_TOGGLE_KEY VK_RSHIFT // toggle key

Requirements

YOLO files needed

Place these in the same directory as the executable:

  • coco-dataset.labels — class labels
  • yolov3-tiny.cfgdownload
  • yolov3-tiny.weightsdownload

You can train on custom game-specific datasets: https://github.com/AlexeyAB/darknet

Quick Start

  1. Install OpenCV 4.5+ — follow this guide to set up OpenCV for Visual Studio
  2. Clone this repo
    git clone https://github.com/silverhans/anti-aimbot.git
    
  3. Open ez-neural-network-aim.sln in Visual Studio 2019+
  4. Set OpenCV paths in project properties:
    • C/C++ → Additional Include Directories → C:\opencv\build\include
    • Linker → Additional Library Directories → C:\opencv\build\x64\vc15\lib
    • (adjust paths to match your OpenCV installation)
  5. Build as Release x64
  6. Download YOLO files and place them next to the .exe:
  7. Run the exe, launch your game
  8. Right Shift to toggle on/off

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published