Topic: [3.63] "NUMPAD 0" registering as "0"  (Read 612 times)


BlankPaper

« on: August 21, 2020, 10:23:36 PM »
Version: Unreal World 3.63, Steam build, modded

What happened: Rarely, pressing "NUMPAD 0" acts as if pressing "0" (kick), bringing up the "Where To Kick" prompt menu.

What's expected: "NUMPAD 0" should always register as "NUMPAD 0".

Steps to reproduce: Hit "NUMPAD 0" several times in rapid succession or keep it pressed down, the kick prompt should appear eventually.

Notes: Interval between two misregistered keypresses is very inconsistent, it can take 1 to 10 seconds of holding down the key for the prompt to appear with a Keyboard character repeat set to short delay and fast repeat rate.
« Last Edit: October 04, 2020, 03:53:48 PM by Sami »

Sami

  • UnReal World creator
  • Administrator
  • Member
  • *****
  • Posts: 688
  • Total likes: 1515
  • UnReal World creator
    • View Profile
    • UnReal World
« Reply #1 on: September 21, 2020, 04:00:53 PM »
Can't reproduce. Anybody else can see this happening?
Sounds quite a bit system/setup related, and I don't see too much possibilities we could check or do about it.
- Sami | UnReal World creator

trowftd

« Reply #2 on: September 21, 2020, 05:03:30 PM »
This one also happens to me, also I seem to have problems with the NUMPAD 9 button too. I thought this was a problem with my keyboard. As my keyboard chatters sometimes(repeating clicks without intention). I use Logitech G810 maybe the model has something to do with it I don't really know. It doesn't happen that often but I get different commands like "Throw", "Eat" also with this(maybe because it really is a setup problem).

I also can't really reproduce it but the longer I play, the higher chance of this happening it seems to me at least.

Forgot to add: NUMPAD 9 prompts for punch NUMPAD 3 I believe prompts for last repeated attack for me(This information maybe wrong because I usually immediately click ESC and not check the command).
I edited again with checking something and numpad 3 actually registers as "3" not throw.
« Last Edit: September 21, 2020, 05:31:49 PM by trowftd »

Sami

  • UnReal World creator
  • Administrator
  • Member
  • *****
  • Posts: 688
  • Total likes: 1515
  • UnReal World creator
    • View Profile
    • UnReal World
« Reply #3 on: September 27, 2020, 05:45:23 PM »
Thanks for the follow-up, trowftd. Very vague issue, especially if the chances for failures accumulate the longer you play. These gotta be be quite rare problems, and theirs origin remains a mystery to me.
I checked SDL2 bugzilla and there's bunch of reports about wrong keys getting registered AND multiple keyboard events getting triggered at once, but these were mostly related to virtual keyboards and exotic keyboard layouts.
However, this still indicates things can go wrong in the ways described. I'm afraid there's not much I can do, but I'll check the code just in case.
- Sami | UnReal World creator

trowftd

« Reply #4 on: September 27, 2020, 10:42:24 PM »
I tried reproducing the bug after I posted the message. I remember this bug from my playtimes but never really bothered to open a topic about it as I thought this was a keyboard issue.

Now as far as my reproducing attemps go, I can't seem to reproduce it really. Maybe the "bug" fixed itself I don't really know. Thanks for checking the code for us though  ;D

Sami

  • UnReal World creator
  • Administrator
  • Member
  • *****
  • Posts: 688
  • Total likes: 1515
  • UnReal World creator
    • View Profile
    • UnReal World
« Reply #5 on: October 04, 2020, 03:20:40 PM »
I tried reproducing the bug after I posted the message. I remember this bug from my playtimes but never really bothered to open a topic about it as I thought this was a keyboard issue.

Now as far as my reproducing attemps go, I can't seem to reproduce it really. Maybe the "bug" fixed itself I don't really know. Thanks for checking the code for us though  ;D

Okay, thanks for the follow-up. So this is likely pretty much system/setup/keyboard dependant issue. If it went away for you on its own, that gives some hope for the people who've encountered the issue.
- Sami | UnReal World creator

Credit

« Reply #6 on: October 29, 2020, 04:27:32 PM »
Seen this in 3.52, actually having backup'ed the exe I just tried holding down NUMPAD 3 and the game asked me to select a target as if I hit NUMPAD 1.

JP_Finn

  • Honorary Lifetime Supporter
  • Member
  • *
  • Posts: 333
  • Total likes: 109
  • Thawed Finn in SoCal
    • View Profile
« Reply #7 on: October 29, 2020, 05:48:26 PM »
Seen this in 3.52, actually having backup'ed the exe I just tried holding down NUMPAD 3 and the game asked me to select a target as if I hit NUMPAD 1.

Number 3 is to "last attack you made" so it's likely from there. But shouldn't trigger from NumPad (not with NumLock on)

edit: as per wiki (also listed in-game: '?' then scroll down to combat): fighting and running away
« Last Edit: October 29, 2020, 05:56:24 PM by JP_Finn »

 

anything