ID:104438
 
Not a bug
BYOND Version:479
Operating System:Windows Vista Home Premium
Web Browser:Firefox 4.0
Applies to:Dream Seeker
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:

Certain key down combinations won't work properly; the third key pressed won't have its command called. The two I've found are north, west, and space and south, east, and space.

Numbered Steps to Reproduce Problem:

1) Open a project (or start a new one) and set up macros with the keys of north, west, and space. You could also set them up with the keys of east, south, and space, if you want.
2) Give them commands (can be verbs or client side commands, like .quit).
3) Run Dreamseeker.
4) Begin Holding north or west or space. Its command will be called.
5) Begin holding one of the keys that you aren't holding. Its command will be called
6) Begin holding the last key that you aren't holding. Its command will not be called at all.

Code Snippet (if applicable) to Reproduce Problem:
mob/verb
Spacedown()
world <<"Space down"
Northdown()
world << "North down"
Westdown()
world << "West down"

//keep in mind you could also use space, east, and south.


Then set up your proper macros. If you want, it also seem like you can set up just one macro that calls .quit.

Expected Results:

All three presses result in the corresponding command being called.

Actual Results:

Only the first two pressed have their command called.

Does the problem occur:
Every time? Or how often?
Yeah, every time. Only with the combinations I gave though. There may also be also combinations of keys I didn't find.
In other games?
I tried it in my game and a blank project.
In other user accounts?
Not sure.
On other computers?
Not sure.

When does the problem NOT occur?

When you use a combination like A, B, and C, rather than one of the two I gave.

Workarounds:
Use the W, A, S, and D keys instead of the arrow keys.
SuperAntx wrote:
http://en.wikipedia.org/wiki/ Rollover_%28key%29#Key_jamming_and_ghosting

Oh, that explains a lot, I've never noticed/heard of that before.