-
Notifications
You must be signed in to change notification settings - Fork 378
AttributeError: 'BetterCam' object has no attribute 'is_capturing' #306
Description
What can I do to fix this? I've tried trying the only 1 way they have showed, but nothing is working. This is the code.
Please enter the number corresponding to the window you'd like to select: 7
Successfully activated the game window...
(320, 403, 640, 723)
Traceback (most recent call last):
File "C:\Users\mal_m\OneDrive\Desktop\AI-Aimbot-main\main.py", line 175, in
main()
File "C:\Users\mal_m\OneDrive\Desktop\AI-Aimbot-main\main.py", line 19, in main
camera, cWidth, cHeight = gameSelection.gameSelection()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mal_m\OneDrive\Desktop\AI-Aimbot-main\gameSelection.py", line 73, in gameSelection
camera = bettercam.create(region=region, output_color="BGRA", max_buffer_len=512)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mal_m\AppData\Local\Programs\Python\Python311\Lib\site-packages\bettercam_init_.py", line 115, in create
return _factory.create(
^^^^^^^^^^^^^^^^^
File "C:\Users\mal_m\AppData\Local\Programs\Python\Python311\Lib\site-packages\bettercam_init.py", line 72, in create
camera = BetterCam(
^^^^^^^^^^
File "C:\Users\mal_m\AppData\Local\Programs\Python\Python311\Lib\site-packages\bettercam\bettercam.py", line 34, in init
self._duplicator: Duplicator = Duplicator(
^^^^^^^^^^^
File "", line 6, in init
File "C:\Users\mal_m\AppData\Local\Programs\Python\Python311\Lib\site-packages\bettercam\core\duplicator.py", line 19, in post_init
output.output.DuplicateOutput(device.device, ctypes.byref(self.duplicator))
_ctypes.COMError: (-2005270524, 'The specified device interface or feature level is not supported on this system.', (None, None, None, 0, None))
ERROR: (-2005270524, 'The specified device interface or feature level is not supported on this system.', (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 0x0000024A5DEFC9A0>
Traceback (most recent call last):
File "C:\Users\mal_m\AppData\Local\Programs\Python\Python311\Lib\site-packages\bettercam\bettercam.py", line 248, in del
self.release()
File "C:\Users\mal_m\AppData\Local\Programs\Python\Python311\Lib\site-packages\bettercam\bettercam.py", line 243, in release
self.stop()
File "C:\Users\mal_m\AppData\Local\Programs\Python\Python311\Lib\site-packages\bettercam\bettercam.py", line 143, in stop
if self.is_capturing:
^^^^^^^^^^^^^^^^^
AttributeError: 'BetterCam' object has no attribute 'is_capturing'