DRL > Bug Reports
Controls gone crazy
LuckyDee:
--- Quote from: CaioMGA on January 17, 2014, 18:46 ---'esc' does have a function, it cancels commands such as 'i', or 'f' or 'e'
I am having trouble when using 'S' over a stair.
--- End quote ---
OK, since you know what you're doing we can rule out ignorance :)
(No offence meant of course, ignorance is the #1 cause of errors that I run into myself, so it's best to check for that first)
What strikes me as strange is that - if I understand you correctly - everything works fine at the start, then changes during the game. I have no actual knowledge of how the game itself works, but I have a hunch it's not the game that's causing the problem.
To make sure it's not the keyboard settings, have you tried purposely switching in-game? The combos should be either CTRL+SHIFT or L.ALT+SHIFT for both WinXP and Win7. You can easily test this by just mucking about with these on the first level.
thelaptop:
I don't believe it is the "soft" keyboard layout -- it's probably related to the scan codes that the keyboard is generating. I only say this because it is noted that the keyboard used is based on the ABNT2 layout. If I remember correctly, DoomRL registers key presses via the scan codes, and I think those scan codes are related to US/US-international keyboards. This means that something as simple as "SHIFT-S" may require something weird on the actual keyboard, regardless of the set "soft" layout.
I don't have access to my machines with source code access now, or I can give a more concrete verification/answer. Sorry. One way to test out this is to use a US keyboard and see if the issues still occur.
CaioMGA:
--- Quote from: thelaptop on January 18, 2014, 03:05 ---( ... ) it's probably related to the scan codes that the keyboard is generating. I only say this because it is noted that the keyboard used is based on the ABNT2 layout.
--- End quote ---
The problems can't be the scan codes.
Controls work just fine in the early-game, but suddenly they crash.
If the problem was the scan codes, it would not work in the first level as well. The keyboard is sending the same 'signals'.
Anyway, I will try the US layout and see if any bugs occur
CaioMGA:
--- Quote from: LuckyDee on January 18, 2014, 00:55 ---OK, since you know what you're doing we can rule out ignorance :)
--- End quote ---
Ok...
--- Quote from: LuckyDee on January 18, 2014, 00:55 ---To make sure it's not the keyboard settings, have you tried purposely switching in-game? The combos should be either CTRL+SHIFT or L.ALT+SHIFT for both WinXP and Win7. You can easily test this by just mucking about with these on the first level.
--- End quote ---
After your suggestion I tried them.
And surprisingly, I got the messed controls at my first run, on the 3rd level.
I did it again, to be sure it was not just a coincidence.
In fact, it was.
I could not replicate it on my second run.
I decided to just play it in a more aggressive way: Running trough enemies with the chainsaw and killing everything, keeping my fingers away from the shift and ctrl keys. I got the messed controls eventually.
I have a very safe gameplay, different from the berserker that also gave me bad controls.
The bug seems random.
I was playing in fullscreen, so I tried to "alt+tab" during my sessions, maybe it could mess the controls.
Again, no effect. I got the messed controls on just playing it.
I will play with US layout, in my ABNT2 keyboard.
I will post the results of the experiment later.
Thanks for your help
Equality:
have a such problem too, but because of changing keyboard layout and language. No, if switch to windowed, language indicated as "EN", but after pressing switch language keys, all becomes right. So: do not press keys for switch your language in game. If suddenly game do not react as usual try swith languages if you have some.
Scan-codes have no meaning here, only "windows keys".
Keyboard -> scan codes -> windows translation -> game. If layout or input language changed the game got "invalid" keys
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version