Vice City Multiplayer

VC:MP 0.4 (Beta) => Bugs and Crashes => Topic started by: sseebbyy on September 23, 2014, 11:23:39 pm

Title: [BUG] If the last key pressed in chat, is a binded key, it will apply.
Post by: sseebbyy on September 23, 2014, 11:23:39 pm
Description
If you are chatting, and your last key pressed was a binded one, it will apply, even if you just ended the message and had no intention to get key's feature.

Reproducible
Always

What you were doing when the bug happened
I typed a message with "h" at the end, in "EthicaL DM" server, and I received the list with all commands implemented in the server.
(Then I used a capital - with shift - while driving the taxi, and I just jumped, without any intention to do it)

What you think caused the bug
Pressing way too fast the Enter button to send the message written.
Title: Re: [BUG] If the last key pressed in chat, is a binded key, it will apply.
Post by: heekz.shadow on September 24, 2014, 05:19:09 pm
What you think caused the bug
Pressing way too fast the Enter button to send the message written.

It has nothing to do with that, it's most likely the binding not checking if actual player is writing in chat or not. You can use the onStartTyping and onEndTyping events to prevent that though.