When you die 1 time you cant press any settings key like: Y T U I etc. only when you are refresh the page
I can't seem to reproduce this, anyone else?
Same here..
seems like it is a problem in Firefox i dont know in what browser you have test it? @ErmiyaEskandary @tjorim
Thanks for providing the additional information, are you using the latest version of firefox and the bot?
Do you use tampermonkey or greasemonkey?
i use the latest version of firefox and i use greasemonkey
Confirmed using bot v0.8.1, Firefox 46.0.1 and Tampermonkey beta as well.
Script still listens to mouseDown (toggle bot with right-click) but none of the keypresses are registered.
I narrowed it down to the
if (document.activeElement.parentElement !== window.nick_holder)
equation. It seems like pushing the play button doesn't...
Euhm, how do I say this in English? The inputfield doesn't lose focus?
@djoey123 I made an attempt to fix it, could you click this link so it updates the script and try again?
Nope there is still a problem with it
I have had this problem also, however I have found that it has something to do with either the "Play" button or having the cursor in the nickname text box. If you click elsewhere on the page (like the background for example), then press enter you can use all keys (can also test if keys work before you press enter).
Hope this helps
Yes indeed @HamboBlank , that was my conclusion as well.
That's why it should be fixed. When reproducing this bug, it's now fixed on my pc with this new code.
When you click the playbutton, the current activeElement should lose its focus. Maybe a more specific approach like just letting the inputfield lose its focus or focussing on another item would be better.
Tested new version v0.8.3 now i cant press any key only the mouse keys. first time when i join i cant use any key. before it was only when the bot dies
So we need to revert that code...
We haven't changed anything - delete and install the latest script again. Nothing should have changed - we have only changed collision detection code :/
@djoey123 , like @HamboBlank said: for now you could try clicking outside the nickname-input before clicking the play-button. There weren't any changes that would make it worse.
^
Could @djoey123 @HamboBlank or someone else who experiences the issue try again?
Just to be sure: follow the next steps...
~~1. Go into the scriptmanager
Edit: doesn't even work for me, don't even bother trying :unamused:
Could someone else test the earlier script I posted? Because that worked for me.
Use the same steps as I said in my previous post, it's just another install-link:
@tjorim I have followed your instructions and it works for when you die, or press Q to quit. However when pressing ESC instead of the instant respawn I am taken to the menu like when pressing Q (not sure if intended or bug), the enter key or "play" button are not usable so a page refresh is required.
@HamboBlank Could you check one final time if it is resolved with the following script? https://github.com/tjorim/Slither.io-bot/raw/keyfix/bot.user.js
It is fixed for me @tjorim
Great! Making pull request now.
:+1:
On 15 May 2016 19:36, "Jorim Tielemans" [email protected] wrote:
Great! Making pull request now.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/ErmiyaEskandary/Slither.io-bot/issues/126#issuecomment-219302583
Sorry for the late reply, updated to new version and working now.
Fixed..
Most helpful comment
I have had this problem also, however I have found that it has something to do with either the "Play" button or having the cursor in the nickname text box. If you click elsewhere on the page (like the background for example), then press enter you can use all keys (can also test if keys work before you press enter).
Hope this helps