ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.57k stars 596 forks source link

First mouse click ignored #447

Open zaludan opened 11 years ago

zaludan commented 11 years ago

When shooting, once in about five times first attempt get ignored, and weapon starts shooting only when I click for the second time.

Windows 7, x86 Mouse - x7 (don't remember what model exactly)

alfred-valve commented 11 years ago

I am unable to reproduce this so far, so if someone can find a clear sequence to make this happen that would help.

haGibear commented 11 years ago

happens on both m_rawinput 1 and 0, fps_max 99 and 101

zaludan commented 11 years ago

@alfred-valve sorry, but I can't find anything specific - it just happens randomly. Only other thing I can say is that it doesn't seem to happen with other mouse buttons. I have total of five on my mouse, and other four seem to be working fine, though, bear in mind I use those much less than mouse1.

MrSchism commented 11 years ago

I haven't been able to reproduce. Which game, specifically does this occur in? I can't replicate it in CS1.6.

zaludan commented 11 years ago

I only play CS 1.6 So far, it seems it happens only on mouse1, and it seems it happens with rapid-fire weapons - I don't usually play with awp or scout, but I've tried, and everything seems to be normal, and with pistols as well. I just spoke to a friend of mine, and he has it too.

alfred-valve commented 11 years ago

@zaludan , so it also only happens with one particular brand of mouse you have?

zaludan commented 11 years ago

No, that friend I've mentioned has Steel series mouse. Alfred, plz add me on steam - it's zaludan over there too - I think I might have found the source of problem, but I need someone else to confirm, and you qualify because you say you can't reproduce the bug :)

ketch1nators commented 11 years ago

Sorry, but it does happen with m4a1 and other weapons too! and it is happening just random with no reason at all.. once i tried to alt tab and see what is happening on my dekstop, then i switched to cs and the first round i was playing it wasnt shooting on my first mouse click.. 2nd time it happened to me was when i was ajusting my crosshair size on menu.. afterwards when i clicked my mouse1 on situation 1vs4 1st click did nothing.. i was like wtffff!!!! so this issue is kind of important.. Windows 7 x64, m_rawinput 1, Microsoft intellimouse 1.1

haGibear commented 11 years ago

could it be that it's a problem with the usb polling rate? my mouse polling rate is 1000hz

edit: -mousethread and m_mousethread_sleep 1 looks good so far

zaludan commented 11 years ago

After adding m_mousethread_sleep 1 I just got a new one - "my player" started shooting on his own, without me clicking anything, and didn't stop even when the clip was empty, so it didn't auto reload. Only after few clicks it stopped trying to shoot, and reloaded. Did anybody else have this?

Before you suggest - no, my mouse is not broken - I thought it might be the case too, and I actually downloaded hacked version of the game, and everything works just fine.

vjatseslav commented 11 years ago

Similar to #33.

ketch1nators commented 11 years ago

@zaludan ;) the same..

zaludan commented 11 years ago

Any news on this?

MaximilianKohler commented 11 years ago

Exe build: 17:09:07 Feb 18 2013 (5961) win7 -nofbo m_rawinput 1

I get both bugs.

  1. sometimes my first click doesn't register
  2. sometimes the gun doesn't auto reload
haGibear commented 11 years ago

still happens with -mousethread :(

haGibear commented 11 years ago

bug still occurs

alfred-valve commented 11 years ago

Can you post the output of the "version" console command and the value of "m_rawinput" please

haGibear commented 11 years ago

still happens:

m_rawinput 1

] version Protocol version 48 Exe version 1.1.2.7/Stdio (cstrike) Exe build: 18:02:44 Apr 3 2013 (6005)

MaximilianKohler commented 11 years ago

Same info as haGibear, it still happens(first click doesn't register) to me too. win 7 x64

Also, if I recall correctly, if I die while I'm shooting and then alt tab, when I respawn I'll start automatically shooting.

I think they're both caused by the same bug of +attack not releasing.

haGibear commented 11 years ago

it's the most annoying bug... please reopen the issue and fix it @alfred-valve

still happens with both m_rawinput 1 and 0

haGibear commented 10 years ago

@alfred-valve this is a gamebreaking bug, fix it!

zaludan commented 10 years ago

any news on this one?

joeangry commented 6 years ago

Was this ever fixed? I'm experiencing the same things with the Creators Update installed on HL1, HL2 and other Source games (CSGO is excluded).

Maxi605 commented 4 years ago

@mikela-valve this is still happening.

gusalecar commented 4 years ago

This still happens on Windows 10 with CS 1.6 (8196), I can reproduce this by:

  1. Switch raw mouse input (on or off, doesn't matter) and hit Apply
  2. Switch raw mouse input back and Apply
  3. Return to game
  4. Next fire with left mouse click will not work

Also executing amx_map command triggers this. Previous CS 1.6 builds work fine, 4554 for example.

haGibear commented 4 years ago

Will this ever be fixed?

Edit: @alfred-valve @mikela-valve This is still happening, and I think it also affects mouse2 (sometimes it needs two clicks to zoom in when using sniper rifles). I tried different startoptions, raw input 1 and 0, etc.

I gave 1.6 another go this week, because it's more fun than CSGO (which has no mouse issues) and I couldn't believe this bug is still there. Fresh install on a different system than back in 2013, also different mouse. I had 1 session out of ~10 where the issue didn't occur. Maybe something goes wrong on the start of hl.exe?

haGibear commented 3 years ago

It could really be related to intialization issues on startup of the game. Restarting the game does help sometimes.

younes-Zeus373 commented 3 years ago

did anyone fix this issue ? i have the same problem with all weapons and it makes playing with awp or scout so annoying , knowing that i love playing with those 2 weapons , pleaaase help

haGibear commented 3 years ago

did anyone fix this issue ? i have the same problem with all weapons and it makes playing with awp or scout so annoying , knowing that i love playing with those 2 weapons , pleaaase help

No, Valve doesn't care.

haGibear commented 1 month ago

@kisak-valve