RatPoison-dev / RatPoison

Latest Ver: 1.7; Default Menu Key is F1; Charlatano's Successor; dn
GNU Affero General Public License v3.0
327 stars 95 forks source link

[BUG] HandleFireKey shoots through open console and steam overlay #716

Closed sotakoira closed 3 years ago

sotakoira commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

Since the introduction of HandleFireKey.kt (11th July 2020) RatPoison shoots through certain cursor enabled windows like console or steam overlay. CursorEnable check doesn't work for them.

To Reproduce Add steps on how to reproduce this issue/bug, if you don't this issue will be closed and won't be looked into.

Load any config with write aim aimbot. Open console, press left mouse button. Close console, press Shift+Tab, press left mouse button.

Same goes for bunnyhop or anything using dwForceAttack.

Pictures/Videos If applicable, add screenshots or link a video to help explain your problem.

https://user-images.githubusercontent.com/63243610/105910691-984c6080-6029-11eb-89bc-ab8ccdafc6f8.mp4

SPRAVEDLIVO commented 3 years ago

iirc, this was fixed in alpha

sotakoira commented 3 years ago

iirc, this was fixed in alpha

this was recorded in alpha 1.8.6