OfficialProtonDev / ML-Aimbot-Halo-Infinite

A machine learning aimbot for Halo Infinite, this is for educational purposes only!
17 stars 6 forks source link

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)

https://user-images.githubusercontent.com/98558514/168407844-8fde6a0c-3609-453d-9350-6bf5bdb00014.mp4

Requirements:

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:
 - Thanks to the https://rootkit.org discord community for helping me out with parts of this!