[Fixed] KeyPress Event even when chat is opened
Posted: 18 May 2014, 14:45
Hey there,
It has come to my attention that since MP3 a manialink script still receives the KeyPress event while someone is typing in the chat on a server.
(Thanks phil)
So for example the most-common restart key "Delete" will get triggered if you want to delete some characters from the message you just typed in. Now the game mode will think you actually want to hit the Delete key. In game modes like obstacle that leads to an unwanted behavior.
This wasn't the case before MP3. the client-side scripts didn't receive events when the player is typing into the server chat.
I think it can be helpful that the script receives these events but there must by a way to determine that it's actually part of a chat message, like a boolean property of the script "IsChatOpen".
Imagine a game mode where you do additional stuff with the usual character keys (A-Z), then you wouldn't be able to chat at all because the game mode will go crazy.
A fix would be greatly appreciated.
Thanks in advance,
Steff
It has come to my attention that since MP3 a manialink script still receives the KeyPress event while someone is typing in the chat on a server.
(Thanks phil)
So for example the most-common restart key "Delete" will get triggered if you want to delete some characters from the message you just typed in. Now the game mode will think you actually want to hit the Delete key. In game modes like obstacle that leads to an unwanted behavior.
This wasn't the case before MP3. the client-side scripts didn't receive events when the player is typing into the server chat.
I think it can be helpful that the script receives these events but there must by a way to determine that it's actually part of a chat message, like a boolean property of the script "IsChatOpen".
Imagine a game mode where you do additional stuff with the usual character keys (A-Z), then you wouldn't be able to chat at all because the game mode will go crazy.
A fix would be greatly appreciated.
Thanks in advance,
Steff