Giter Site home page Giter Site logo

titanz9012 / ml-aimbot-halo-infinite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from officialprotondev/ml-aimbot-halo-infinite

0.0 0.0 0.0 114.96 MB

A machine learning aimbot for Halo Infinite, this is for educational purposes only!

Python 100.00%

ml-aimbot-halo-infinite's Introduction

ML-Aimbot-Halo-Infinite

A machine learning aimbot for Halo Infinite, this is for educational purposes only, if you use this in a game there is a possibility you might get banned!

(Windows Only)

AI.Demo.mp4

Requirements:

  • A Nvidia GPU, the better the GPU, the better the aimbot performance.

What it is:

  • This is a machine learning model that has been trained to detect enemies in halo infinite, it will then move your mouse to any enemies it detects, it functions rather well based on my testing. The AI itself is undetected by anti-cheat (at least according to my research), but the mouse movement libraries may be flagged by the anticheat, so far I have not been banned but there is always a possibility.

Installation Instructions:

  • Download this repository.
  • Install anaconda (https://www.anaconda.com/products/distribution) on your computer.
  • Open anaconda as administrator and cd to the directory of the deploy.py script in this repository.
  • Install pytorch and cuda (https://pytorch.org/get-started)
  • Create a virtual environment using this command conda create -n pytorch-gpu python==3.8
  • Activate the virtual env using conda activate pytorch-gpu
  • Install required packages by running pip install -r requirements.txt
  • IMPORTANT! You must set enemy outlines in halo to the colour pineapple or the model will not detect them!

Customizable Settings:

aimbot = True # Enables aimbot if True

screenShotWidth = 416 # Width of the detection box
screenShotHeight = 416 # Height of the detection box

lock_distance = 75 # Recommended over 60 (this is the minimum distance away the bot will lock from)

headshot_mode = True # Pulls aim up towards head if True

no_headshot_multiplier = 0.2 # Amount multiplier aim pulls up if headshot mode is false
headshot_multiplier = 0.35 # Amount multiplier aim pulls up if headshot mode is true

videoGameWindowTitle = "Halo Infinite" # The title of your game window

modelFile = "halo-1-(W).pt" # This is the AI model the program will use, multiple are included, (W) = working, (NW) = not working.

movement_amp = 1 # Recommended between 0.5 and 1.5 (this is the snap speed)

How to use:

  • Open anaconda as administrator and cd to the directory of the deploy.py script in this repository.
  • Run the command conda activate pytorch-gpu to start up the virtual environment
  • Run the command python deploy.py to start the bot, make sure you have halo infinite open and are preferably about to enter a game.
  • If your aimbot seems to be lagging behind, try reducing your games framerate until the CPS your command line will print gets to 30+ (I am currently running my game at 40fps in order to allow the ai to get 30+ CPS)

Future improvements:

  • Add support for using Arduino Leonardo + USB Host Shield to spoof mouse inputs and evade possible anticheat detection on mouse movement.

Credits:

ml-aimbot-halo-infinite's People

Contributors

officialprotondev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.