{"id":28342473,"url":"https://github.com/nutria-kcu/aimbot-algorithm","last_synced_at":"2025-08-09T10:05:21.387Z","repository":{"id":288918272,"uuid":"967646116","full_name":"nutria-kcu/aimbot-algorithm","owner":"nutria-kcu","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-20T12:10:34.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"dev","last_synced_at":"2025-06-19T14:49:38.549Z","etag":null,"topics":["algorithm","linear-algebra","rendering"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nutria-kcu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-16T19:21:34.000Z","updated_at":"2025-04-22T13:51:17.000Z","dependencies_parsed_at":"2025-04-22T01:15:25.265Z","dependency_job_id":null,"html_url":"https://github.com/nutria-kcu/aimbot-algorithm","commit_stats":null,"previous_names":["nutria-kcu/aimbot-algorithm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nutria-kcu/aimbot-algorithm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nutria-kcu%2Faimbot-algorithm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nutria-kcu%2Faimbot-algorithm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nutria-kcu%2Faimbot-algorithm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nutria-kcu%2Faimbot-algorithm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nutria-kcu","download_url":"https://codeload.github.com/nutria-kcu/aimbot-algorithm/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nutria-kcu%2Faimbot-algorithm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269560835,"owners_count":24438195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","linear-algebra","rendering"],"created_at":"2025-05-27T05:21:44.853Z","updated_at":"2025-08-09T10:05:21.357Z","avatar_url":"https://github.com/nutria-kcu.png","language":"C++","readme":"# External Aimbot (AssaultCube)\n\nThis project implements an **external memory-based aimbot** for AssaultCube using Windows API and memory offsets. The aimbot automatically aims at the closest visible enemy when the user is holding the left mouse button. It uses world-to-screen projection and smooth aiming based on target distance.\n\n---\n\n## Features\n\n- External memory access via `ReadProcessMemory` / `WriteProcessMemory`\n- Smooth aiming using linear interpolation (LERP)\n- Automatically targets the closest visible enemy\n- Ignores dead enemies and players behind walls\n- FOV limit based on pixel distance from screen center\n- Aimbot toggled with a boolean flag (`aimbotEnabled`)\n\n---\n\n## File Structure\n\n| File | Description |\n|------|-------------|\n| `Aimbot.cpp` | Main implementation logic for the aimbot loop and memory handling |\n| `AimbotHeader.h` | Header file with structure declarations and function prototypes |\n| `constants.h` | Contains memory offsets specific to AssaultCube |\n\n---\n\n## How It Works\n\n1. Reads local player info, view matrix, entity list, and camera angle.\n2. Filters valid targets based on:\n   - Alive status\n   - Visibility via `WorldToScreen`\n   - FOV pixel range limit\n3. Calculates aim angle using `CalcAngle` and smoothly adjusts aim using `AimAtTarget`.\n4. Aimbot runs **only while left mouse button is held** and `aimbotEnabled` is `true`.\n\n---\n\n## How to Use\n\n1. Launch AssaultCube.\n2. Attach the program to the game's process and initialize `hProc` and `baseAddress`.\n3. Call `Tick()` in your main loop.\n4. Hold left mouse button to activate aiming.\n\n---\n\n## Configuration\n\n- Adjust `maxFOVPixels` in `Tick()` to change how far from the crosshair enemies are allowed to be targeted.\n- Tweak `priority` formula to add health or team-based weight if desired.\n- Replace the auto `percent` calculation with a custom smoothness value if UI input is integrated.\n\n---\n\n## Disclaimer\n\nThis code is intended for **educational and research purposes only**. Do not use it in online or competitive games.\n\n---\n\n## Author\n\nDowon Lee\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnutria-kcu%2Faimbot-algorithm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnutria-kcu%2Faimbot-algorithm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnutria-kcu%2Faimbot-algorithm/lists"}