mirror of
https://github.com/RootKit-Org/AI-Aimbot.git
synced 2025-06-21 02:41:01 +08:00
Merge branch 'main' into dev
This commit is contained in:
commit
77206d18a1
@ -85,7 +85,8 @@ ANYTHING dealing with Machine Learning can be funky with your computer. So if yo
|
|||||||
|
|
||||||
4. To install `PyTorch` go to this website, https://pytorch.org/get-started/locally/, and Select the stable build, your OS, Pip, Python and CUDA 11.3. Then select the text that is generated and run that command.
|
4. To install `PyTorch` go to this website, https://pytorch.org/get-started/locally/, and Select the stable build, your OS, Pip, Python and CUDA 11.3. Then select the text that is generated and run that command.
|
||||||
|
|
||||||
6. Copy and past the command below into your terminal. This will install the Open Source packages needed to run the program. You will need to `cd` into the downloaded directory first. Follow step 2 in the Run section below if you need help.
|
5. Copy and past the command below into your terminal. This will install the Open Source packages needed to run the program. You will need to `cd` into the downloaded directory first. Follow step 2 in the Run section below if you need help.
|
||||||
|
|
||||||
```
|
```
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
2
main.py
2
main.py
@ -1,3 +1,4 @@
|
|||||||
|
from unittest import result
|
||||||
import torch
|
import torch
|
||||||
import pyautogui
|
import pyautogui
|
||||||
import gc
|
import gc
|
||||||
@ -82,6 +83,7 @@ def main():
|
|||||||
# Main loop Quit if Q is pressed
|
# Main loop Quit if Q is pressed
|
||||||
last_mid_coord = None
|
last_mid_coord = None
|
||||||
aimbot=False
|
aimbot=False
|
||||||
|
|
||||||
while win32api.GetAsyncKeyState(ord(aaQuitKey)) == 0:
|
while win32api.GetAsyncKeyState(ord(aaQuitKey)) == 0:
|
||||||
# Getting screenshop, making into np.array and dropping alpha dimention.
|
# Getting screenshop, making into np.array and dropping alpha dimention.
|
||||||
npImg = np.delete(np.array(sct.grab(sctArea)), 3, axis=2)
|
npImg = np.delete(np.array(sct.grab(sctArea)), 3, axis=2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user