Code Monkey home page Code Monkey logo

Comments (5)

YYF6789 avatar YYF6789 commented on June 2, 2024

You can check “videoGameWindow.activate()” on line 38 of the GameSelection.py.
In my tests in cs2, I found this error appeared when minimizing the window or other windows occluding the target window.

from ai-aimbot.

673339641 avatar 673339641 commented on June 2, 2024
Error I got 2 error , so I do not know which is the root reason.

from ai-aimbot.

FCKYuri avatar FCKYuri commented on June 2, 2024

Please enter the number corresponding to the window you'd like to select: 4
Successfully activated the game window...
(800, 380, 1120, 700)
Traceback (most recent call last):
File "C:\Users\xxx\Downloads\AI-Aimbot-main\AI-Aimbot-main\main_tensorrt.py", line 166, in
main()
File "C:\Users\xxx\Downloads\AI-Aimbot-main\AI-Aimbot-main\main_tensorrt.py", line 20, in main
camera, cWidth, cHeight = gameSelection.gameSelection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xxx\Downloads\AI-Aimbot-main\AI-Aimbot-main\gameSelection.py", line 73, in gameSelection
camera = bettercam.create(region=region, output_color="BGRA", max_buffer_len=512)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\python3.11\Lib\site-packages\bettercam_init_.py", line 115, in create
return _factory.create(
^^^^^^^^^^^^^^^^^
File "E:\python3.11\Lib\site-packages\bettercam_init
.py", line 72, in create
camera = BetterCam(
^^^^^^^^^^
File "E:\python3.11\Lib\site-packages\bettercam\bettercam.py", line 34, in init
self._duplicator: Duplicator = Duplicator(
^^^^^^^^^^^
File "", line 6, in init
File "E:\python3.11\Lib\site-packages\bettercam\core\duplicator.py", line 19, in post_init
output.output.DuplicateOutput(device.device, ctypes.byref(self.duplicator))
_ctypes.COMError: (-2005270524, '指定的设备接口或功能级别在此系统上不受支持。', (None, None, None, 0, None))
ERROR: (-2005270524, '指定的设备接口或功能级别在此系统上不受支持。', (None, None, None, 0, None))
Ask @wonder for help in our Discord in the #ai-aimbot channel ONLY: https://discord.gg/rootkitorg
Exception ignored in: <function BetterCam.del at 0x0000020711967CE0>
Traceback (most recent call last):
File "E:\python3.11\Lib\site-packages\bettercam\bettercam.py", line 248, in del
self.release()
File "E:\python3.11\Lib\site-packages\bettercam\bettercam.py", line 243, in release
self.stop()
File "E:\python3.11\Lib\site-packages\bettercam\bettercam.py", line 143, in stop
if self.is_capturing:
^^^^^^^^^^^^^^^^^
AttributeError: 'BetterCam' object has no attribute 'is_capturing'

from ai-aimbot.

Related Issues (20)

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.