ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.6k stars 598 forks source link

[Half-Life - Bug] In-game cursor takes its previous position after opening and closing Esc menu #473

Closed ghost closed 11 years ago

ghost commented 11 years ago

related with https://github.com/ValveSoftware/halflife/issues/471 I was trying to reproduce this bug with HUD menus in HL, but I wasn't able to do it since I didn't find any HUD menu in HL, but I've found another related bug. If m_rawinput is set to 1, opening and then closing Esc menu will cause the in-game cursor to reset to its previous position. Video: http://youtu.be/-RaW76xFX9o

alfred-valve commented 11 years ago

I don't understand the bug, what do you expect the cursor to be doing?

ghost commented 11 years ago

Did you watch the video?

I expect the cursor to do nothing. But it moves to its previous coordinates when I close Esc menu (m_rawinput 1).

alfred-valve commented 11 years ago

Your video wasn't clear sorry.

This is by design, the cursor moves (within a constrained area) even when hidden.

ghost commented 11 years ago

Either you ignore me, or you do not understand me. Before this update it worked perfectly on both m_rawinput 0 and 1. Before The Big Update it worked perfectly. This bug appeard today, with 10:34:27 Feb 21 2013 (5964) Exe build.

alfred-valve commented 11 years ago

I do not understand you.

Egon-Spengler commented 11 years ago

@alfred-valve Actually, I think this should be re-opened as I just experienced it myself and it's definitely not normal behavior. I think it just needs to be better explained. I don't have a video but I think I can try with just two screenshots.

1

Let's look at the above picture. Now say I'm playing, I now press Esc to show the pause menu, my mouse cursor will be at point 1 as usual. Now let's say I move my cursor to point 2. My mouse cursor is now there (works with any other direction, by the way) and I press Escape again to go back to the game. This happens:

2

As soon as I exit from the menu, without touching my mouse at all, my view point will "skip" in the direction my mouse moved while I was in the menu, not even actual movement, it just skips from the first angle to the second in one frame.

This is definitely not intended behavior and it never used to happen.

Also, at least for me, it only happens with m_rawinput 0, changing it to 1 will stop it. Changing it back to 0 makes it happen again and so on.

alfred-valve commented 11 years ago

Ahh, your view is moving when you transition from the game menu back into game, now I understand.

Sorry @MaxKorz , I wish I spoke Russian so you could more easily explain issues you find.

ghost commented 11 years ago

Finally. What's wrong with my english, I need help :laughing:

But it is CS 1.6 bug https://github.com/ValveSoftware/halflife/issues/471. Half-Life has another bug.

view is moving back

It's okay @alfred-valve, I wish I spoke English better :laughing: