Jack Wilkie
- jack1197
- jack1197
- Europe/Stockholm
- Yes
- No
specifically this issue occurs when i use chat macros (typing very-fast/instantly)
Expected behavior: minecraft detects 't' has been pushed then immediately puts whatever text is in the input buffer(i assume this is how it works) into the chat/command line
Actual behavior: minecraft detects 't' has been press and opens chat, but fails to input other pressed keys into the chat
Possible reason for bug: minecraft detects 't' has been pressed and opens chat, but does not start inputting text until next frame/tick, discarding all text entered before that point.
To reproduce:
1. Get some macro software or a macro supporting gaming keyboard
2. record a macro for pressing 't', typing something, then pressing enter
3. run macro in-game in minecraft
4. note how the chat opens, but no text is entered(Workaround - add delay into macro of about 50ms, may not be supported by all software, and is annoying to do instead of 'quick macros' which are recorded on-the-fly in-game)
specifically this issue occurs when i use chat macros (typing very-fast/instantly)
Expected behavior: minecraft detects 't' has been pushed then immediately puts whatever text is in the input buffer(i assume this is how it works) into the chat/command line
Actual behavior: minecraft detects 't' has been press and opens chat, but fails to input other pressed keys into the chat
Possible reason for bug: minecraft detects 't' has been pressed and opens chat, but does not start inputting text until next frame/tick, discarding all text entered before that point.
To reproduce:
1. Get some macro software or a macro supporting gaming keyboard
2. record a macro for pressing 't', typing something, then pressing enter
3. run macro in-game in minecraft
4. note how the chat opens, but no text is entered(Workaround - add delay into macro of about 50ms between pressing 't' and typing text, may not be supported by all software, and is annoying to do instead of 'quick macros' which are recorded on-the-fly in-game)
Text InputErrorsChat Macro Error
i have found a fix using MCP, so it wont look exactly the same to the source code at mojang, but it should be similar enough to showcase what has been changed
in Minecraft.java, where keyboard events are handled, just before the handling of mouse events, change this:
to this
it basicly tells the chatGui to handle input after it is created
also make sure to move that semi-colon from the top of the snippet to the bottom so that all of that code is included in the while(Keyboard.next()){} loop
I have tested this and it fixes the issue perfectly, however i do not understand what all of the code does perfectly, so i suggest not using this fix immediately and instead, see what changed and fix that
yes it is, updated with steps to reproduce
renamed to chat macro error
can someone comment, or do anything to this, it has been months since the last activity, and i would like this bug fixed in vanilla
yes, it is still valid(updated), please just fix this now/soon, otherwise the version will have to be updated again, which i will forget, resulting in yet another message like this one, and the issue not being resolved
It is still an issue with the latest snapshot
Me not replying in a reasonable time is complete bullshit, this is 1 and a half years old, i have updated it several times due to being requested to, absolutely no action has been taken, it wont be fixed unless someone fixes it. I even fixed it myself some time ago with mcp. I haven't even actively played minecraft in over a year. If you keep treating issues like this then quite a few will never be resolved due to people getting annoyed with your bullshit, just fix the issue already. this isnt exactly a critical bug, but its still annoying, i almost gave up on it, and probably will next time.
ok, sorry if i was a bit hostile, im just a bit annoyed with having to update this issue even when i dont play the game anymore
I will add this, the issue seems to be somewhat improved in recent versions, sometimes only loosing a few letters, and occasionally working properly, however it is clearly not completly fixed