AI-Aimbot icon indicating copy to clipboard operation
AI-Aimbot copied to clipboard

AttributeError: 'BetterCam' object has no attribute 'is_capturing'

Open berserkguts458 opened this issue 5 months ago • 4 comments

tried a few things, i still have been getting this error

berserkguts458 avatar Jan 26 '24 10:01 berserkguts458

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.

YYF6789 avatar Jan 28 '24 16:01 YYF6789

Error I got 2 error , so I do not know which is the root reason.

673339641 avatar Mar 24 '24 02:03 673339641

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'

FCKYuri avatar Apr 10 '24 13:04 FCKYuri

changing from Fullscreen to Fullscreen Windowed fixed it for me

spacew0rmx avatar Apr 20 '24 14:04 spacew0rmx