============================================================== Pine: Neural-Network…
- User
============================================================== Pine: Neural-Network Aimbot (v2.0 by Wendel for Apex Legends)
[INFO] press '0' to quit or ctrl+C in console... [INFO] loading neural-network from disk… [INFO] loading screencapture device… [OKAY] Aimbot enabled! [OKAY] OpenCL is working! [WARNING] CUDA acceleration is disabled!
Exception in thread Thread-1 (capture_screen): Traceback (most recent call last): File "C:\Users\Wendel\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1073, in _bootstrap_inner self.run() File "C:\Users\Wendel\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1010, in run self._target(*self._args, **self._kwargs) File "C:\Users\Wendel\Desktop\Apex_Aimbot_PY\teste\lib\pine.py", line 71, in capture_screen frame = np.array(sct.grab(region)) ^^^^^^^^^^^^^^^^ File "C:\Users\Wendel\AppData\Local\Programs\Python\Python312\Lib\site-packages\mss\windows.py", line 136, in grab bmi.bmiHeader.biWidth = monitor['width'] ~~~~~~~^^^^^^^^^ TypeError: tuple indices must be integers or slices, not str Traceback (most recent call last): File "C:\Users\Wendel\Desktop\Apex_Aimbot_PY\teste\pine.py", line 14, in pine.start(ENABLE_AIMBOT=True) File "C:\Users\Wendel\Desktop\Apex_Aimbot_PY\teste\lib\pine.py", line 149, in start frame = capture_screen(origbox) # Substituir esta linha pelo retorno da thread no vindo da captura de tela ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Wendel\Desktop\Apex_Aimbot_PY\teste\lib\pine.py", line 71, in capture_screen frame = np.array(sct.grab(region)) ^^^^^^^^^^^^^^^^ File "C:\Users\Wendel\AppData\Local\Programs\Python\Python312\Lib\site-packages\mss\windows.py", line 136, in grab bmi.bmiHeader.biWidth = monitor['width'] ~~~~~~~^^^^^^^^^ TypeError: tuple indices must be integers or slices, not str
meu codigo abaixo:
import numpy as np from termcolor import colored import timeit import thread import imutils import time import mss import cv2 import os import signal import sys import pynput import ctypes import pyautogui from lib.grab import grab_screen import matplotlib.pyplot as plt
import win32gui import win32api import win32con import mouse import keyboard import threading
sct = mss.mss() Wd, Hd = sct.monitors[1]["width"], sct.monitors[1]["height"] SendInput = ctypes.windll.user32.SendInput PUL = ctypes.POINTER(ctypes.c_ulong)
class KeyBdInput(ctypes.Structure): fields = [("wVk", ctypes.c_ushort), ("wScan", ctypes.c_ushort), ("dwFlags", ctypes.c_ulong), ("time", ctypes.c_ulong), ("dwExtraInfo", PUL)] class HardwareInput(ctypes.Structure): fields = [("uMsg", ctypes.c_ulong), ("wParamL", ctypes.c_short), ("wParamH", ctypes.c_ushort)] class MouseInput(ctypes.Structure): fields = [("dx", ctypes.c_long), ("dy", ctypes.c_long), ("mouseData", ctypes.c_ulong), ("dwFlags", ctypes.c_ulong), ("time", ctypes.c_ulong), ("dwExtraInfo", PUL)] class Input_I(ctypes.Union): fields = [("ki", KeyBdInput), ("mi", MouseInput), ("hi", HardwareInput)] class Input(ctypes.Structure): fields = [("type", ctypes.c_ulong), ("ii", Input_I)]
- Assistant
- User
[INFO] press '0' to quit or ctrl+C in console... [INFO] loading neural-network from disk… [INFO] loading screencapture device… [OKAY] Aimbot enabled! [OKAY] OpenCL is working! [WARNING] CUDA acceleration is disabled!
[ WARN:1@3.115] global net_impl.cpp:178 cv::dnn::dnn4_v20240521::Net::Impl::setUpNet DNN module was not built with CUDA backend; switching to CPU 1 FPS with 553 MS interpolation delay Traceback (most recent call last): File "C:\Users\Wendel\Desktop\Apex_Aimbot_PY\teste\pine.py", line 14, in pine.start(ENABLE_AIMBOT=True) File "C:\Users\Wendel\Desktop\Apex_Aimbot_PY\teste\lib\pine.py", line 167, in start box = detection[0: 4] * np.array([W, H, W, H]) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ TypeError: unsupported operand type(s) for *: 'float' and 'NoneType'
- Assistant
- User
[INFO] press '0' to quit or ctrl+C in console... [INFO] loading neural-network from disk… [WARNING] CUDA acceleration is disabled, switching to CPU! [INFO] loading screencapture device… [OKAY] Aimbot enabled! [OKAY] OpenCL is working! [WARNING] CUDA acceleration is disabled!
0 FPS with 1280 MS interpolation delay Traceback (most recent call last): File "C:\Users\Wendel\Desktop\Apex_Aimbot_PY\teste\pine.py", line 14, in pine.start(ENABLE_AIMBOT=True) File "C:\Users\Wendel\Desktop\Apex_Aimbot_PY\teste\lib\pine.py", line 206, in start set_pos(mouseX, mouseY) File "C:\Users\Wendel\Desktop\Apex_Aimbot_PY\teste\lib\pine.py", line 63, in set_pos ii.mi = MouseInput(x, y, 0, (0x0001 | 0x8000), 0, ctypes.pointer(extra)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: too many initializers
- Assistant