ofeksadlo / CSGO-Aimbot-CNN

CS:GO Aimbot based on convolutional neural networks.
96 stars 26 forks source link

Aimbot is not actually moving the view in game #17

Open yDing121 opened 2 years ago

yDing121 commented 2 years ago

I'm currently developing a similar aimbot for fun using yolov5, and I couldn't get my mouse to move. I turned to the internet (and your repository) for ideas, and when I tried to run your aimbot, the view in game doesn't actually move. I have windowed fullscreen, windows 10, correct python environment etc. The detection working should be proof of this. Do you know if this is an issue with CSGO or with some configuration problem?

yDing121 commented 2 years ago

Update:

I just cloned the repo on my laptop and set up the environment and it works there. I'm not sure what is interfering with the operation of the aimbot on my PC.

ofeksadlo commented 2 years ago

Update:

I just cloned the repo on my laptop and set up the environment and it works there. I'm not sure what is interfering with the operation of the aimbot on my PC.

Maybe the resolution is diffrent between your pc and the laptop. I only tested this project on 1920x1080 anything else would probabbly won't work well.

The key to make this project work for you besides the python env is: 1) Full screen windowed cs:go 2) raw input disabled

yDing121 commented 2 years ago

The resolution was set to 1920x1080. Also other resolutions work - my laptop is 1920x1200 and I got the detection to be in the right place by changing screenWidth and screenHeight