$ show SunOner/sunone_aimbot
Sunone Aimbot is an AI-powered aimbot for first-person shooter games that uses YOLO models to detect players and heads in real-time screen captures. The system captures frames via MSS, BetterCam, or OBS, processes them with Ultralytics YOLO, identifies targets (prioritizing heads unless disabled), calculates mouse movement to aim at targets, and optionally shoots automatically. It features a modular architecture with separate threads for capture, visualization, overlay, shooting, and hotkey monitoring. A helper API and React-based UI provide configuration management, model training/exporting, and testing capabilities. The aimbot supports multiple input methods including standard mouse, GHUB, Razer, and Arduino devices.
The LLM identified 2 files worth highlighting for reuse:
A robust configuration management system that handles thread-safe reading/writing of INI files, provides typed access to configuration values, maintains default values, and supports hot-reloading when the configuration file changes. Demonstrates skill in handling file I/O concurrency, providing a clean API for configuration access, and implementing change detection mechanisms.
A cross-platform input abstraction layer that provides a unified interface for keyboard and mouse input handling across Windows (using win32api) and Linux (using pynput). Encapsulates platform-specific details while offering consistent methods for checking key states and moving the mouse pointer. Shows skill in creating portable abstractions that hide platform-specific complexities behind a clean, consistent API.