Jump to content
EN
Play

Forum

[Solution] Keyboard Jamming (Ghosting)


 Share

Recommended Posts

Yes, If you really like to chat, you can exit the script by right-clicking and chat normally.

To play, again double click on the .ahk file and game-on!

Thanks a lot for trying the method!

Share this post


Link to post
Share on other sites

Welcome! By the way, did it work?

If it didn't then what's the use of saying thanks :P

Reply your results

 

All new and old people who have visited this page and have passed comments, please see the last section of the main post.

Atleast I wont need to listen to people who think this is illegal

Edited by TheMask321

Share this post


Link to post
Share on other sites

Haha...

I realised that my keyboard ghosts when i bought a freeze on my other acount ;)

So then i made a guide. I Wish i had bought freeze earlier and could have saved your money on new keyboard!

No problem! thanks for reading!

 

Uh Oh guys!

If you have tried this out, please post your results here. May this topic be pinned for wellness of Tankers and other people too!

Edited by TheMask321

Share this post


Link to post
Share on other sites

Tip 2:

Tah Dah, Your Anti-Virus may delete the autohotkey.exe file because it suspects that it is a keylogger. Please add it to exclusion list so that the autohotkey script will work.

Share this post


Link to post
Share on other sites

Sorry for the Late reply. I was out of town for almost a month i guess. I didn't play Tanki for that period. I felt like a criminal :(

Haha, No problem Buddy. Happy to Help :)

Share this post


Link to post
Share on other sites

Nice but I quit using freeze and firebird, because of this problem. I won't be returning soon but if I do, I won't bother to fix it. It is not much of a problem for me, (although still a problem) and it seems like it will take a while to fix. I have much bigger problems in Tanki anyway.

Share this post


Link to post
Share on other sites

I tested ALL buttons and only arrow up was not working :D

Pressed

 

Q+W+E+A+S+D+Z+X+C+[spaceBar]+<+>+[ArrowDown] at the same time and they worked.

When pressed Arrow up, i wasnt able to press other buttons.

Share this post


Link to post
Share on other sites

I tested ALL buttons and only arrow up was not working :D

Pressed

 

Q+W+E+A+S+D+Z+X+C+[spaceBar]+<+>+[ArrowDown] at the same time and they worked.

When pressed Arrow up, i wasnt able to press other buttons.

So your arrow up key is making problems....assign that key to some other key...and assign other down left and right keys too as you cant play with up key in a different location than where your other keys are :P Edited by TheMask321

Share this post


Link to post
Share on other sites

not solved! :(

please help me via PM

I will surely help you!

Can you please tell what all you did after installing Autohotkey? Also tell me the results after you did the ghosting test on the microsoft page i have linked...better if you send a screenshot of that test.

Refrain from using PM because it may happen that other tankers unknowingly have the same problem as you have. So they can benefit if we clear it out here. I'll PM you to get your attention here!

Share this post


Link to post
Share on other sites

I tested ALL buttons and only arrow up was not working :D

Pressed

 

Q+W+E+A+S+D+Z+X+C+[spaceBar]+<+>+[ArrowDown] at the same time and they worked.

When pressed Arrow up, i wasnt able to press other buttons.

Dage, just turn your turret 180 degrees (where when you press down you go "forward")

Share this post


Link to post
Share on other sites

Ahh there!

Hello Tankers, Probably you have been tired of asking support for keyboard ghosting. Maybe this post will change your tanki career!

 

Many a times, tankers cannot go forward, turn their turrets and shoot at the same time. Those who own firebirds and freeze will have gone through a hard time playing with it. So whats exactly Ghosting Of a Keyboard?

 

---->"Ghosting" is the problem that some keyboard keys don't work when multiple keys are pressed simultaneously. The key presses that don't show up on the computer or seem to have disappeared are said to have been "ghosted". On most keyboards, even some that are explicitly marketed as "Anti-Ghosting," this happens with many three key combinations. Imagine playing your favorite video game and not being able to, say, run diagonally and fire your weapon at the same time (say pressing up, down, and spacebar simultaneously). This is a result of the internal design of most existing keyboards....read more at https://www.microsoft.com/appliedsciences/antighostingexplained.mspx

 

So now, many of the tankers might be upset of this problem and with a heavy heart set out to buy a new Anti-Ghost keyboard, but WAIT!

I have a nice solution which is working on Windows XP, 7, 8, 10.

You might have heard about this software- AutoHotkey (https://autohotkey.com/)

This software makes temporary re-mapping of your keyboard so that you can assign a single function to any of the keys or a combination to a single key.

 

To solve your Ghosting Problem, Follow These steps- (This isnt a permanent solution for the keys which ghost. this a alternative way to play Tanki Online with different controls)

 

STEP-1

 

Now many of the times, the Up, Down, Left, Right keys are those which cause trouble. You need to identify which keys are ghosting and which work perfectly fine. Use this application https://www.microsoft.com/appliedsciences/antighostingexplained.mspx

The page has a keyboard layout which shows which buttons your PC is accepting. Click and Start by pressing those key combination which you suspect are ghosting.

Eg: for me, the Left, Up and spacebar keys ghost so i get this result from the application when i press those 3 keys at a time.

 

HaQxYG.png

 

So see which of your keys, like W, A, S, D or Up, Down.. ghost.

 

 

STEP-2

 

As per your method of pressing keys, press those key combinations which you would like to use while playing tanki. As you press those, keep an eye on the application and see that those keys which you are pressing do not ghost. As for me, i tried many key combinations whose position was like Up, Down keys

I found out these keys- U, H, J, K which do not ghost while pressing spacebar and Z, X, C keys. so i can press 4 buttons at a time.

 

 

 

2Z5trI.png

 

 

RozSZU.png

 

 

B0eK2P.png

 

 

 

So in this way, you can determine which key combinations work for you without ghosting while playing tanki.

 

 

 

STEP-3

 

Now download the application AutoHotkey https://autohotkey.com/

Install it. Follow these steps next.

-->After installation, a help file may open. Read it carefully, the remapping of keys topic is what we need. Hop onto it and read it.

-->If you didn't understand what to do exactly, follow me (STEP-4)

 

 

STEP-4

 

Close any opened applications and be on the desktop screen. Right click on the desktop and click 'New' and click on 'AutoHotkey Script'

 

4RyQN9.png

 

 

After clicking, give it a suitable name, like for example- tanki.

*Please do not give it an extension*

*Right click on the file created on the desktop, Go to its properties and see whether it is ".ahk" file or not.

 

iJLV1u.png

 

 

Next, open the file. It should be opened automatically by notepad. If not, open it with notepad.

If anything is pre-written on the notepad, delete it and make sure that the notepad is blank.

 

Now, the format of re-mapping the keys is-

Old Key::New Key

New Key::Old Key

As i said earlier, the keys U, H, J, K worked for me, so here is what i typed in that '.ahk' file.

 

vyJWTF.png

 

*Please note that Up,Down,Left,Right, the starting letter is a capital letter, and not a lowercase letter.

**If you typed-

Up::u

Down::j

then it means Up key is remapped to 'u' key but 'u' key is sending its function as 'u' only. so type as i have done.

type the alternate code too. i.e.

u::Up

j::Down **

 

Now save the file and close it. You must not change the way how the file opens. You should keep the "Opens With: AutoHotkey Unicode...." As it is.

 

Now double click on that file. head over to the notification panel and you must see this.

Note that no dialog box will open. You must see the script running as i have shown below

uFCX4F.png

 

 

 

Thats it Tankers!

Enjoy playing Tanki with your new controls!

**Note that if you want to type or chat in battle or home screen or type anything on your PC, its recommended that you right click on the notification of AutoHotkey in notification panel and click on exit because the keys you have remapped will not function as alphabets till you close the script. Otherwise you can press the Up, Down...Keys because they are acting as U, J..keys. **

 

**List of Codes for Keys: https://autohotkey.com/docs/KeyList.htm

 

Happy Tanking!

PM me or better post it here for any Problems Occuring.

 

**U, G, H, K are working for me, It might or might not work for you. Try finding new Combinations

 

Tip:1

Try finding combination including the Number keys. They ghost absolutely very less

 

Tip:2

Your Anti-virus may delete the autohotkey.exe because it thinks it is a key logger. Please add it to your exclusion list for the script to work

 

**Okay so many people have told me that this topic is actually against the rules. Ask why?

Because the Rules state that use of 3rd party applications are not allowed.

So is Tanki gonna buy Anti-ghost keyboard for us? Let us use this solution as it is free of cost. There is nothing to hack via this software.

And one more thing, If you insist that this is against the rules, let me tell you that according to rules, using bots to play is not allowed for anyone, then the tutorial of the game should be banned, shouldn't it?  :P **

Thanks,

TheMask321

Edited by r_Mr.Slade0

Share this post


Link to post
Share on other sites

#Persistent ; Keep this script running until the user explicitly exits it.

SetTimer, WatchAxis, 5

return

 

WatchAxis:

GetKeyState, JoyX, JoyX ; Get position of X axis.

GetKeyState, JoyY, JoyY ; Get position of Y axis.

KeyToHoldDownPrev = %KeyToHoldDown% ; Prev now holds the key that was down before (if any).

 

if JoyX > 70

KeyToHoldDown = Right

else if JoyX < 30

KeyToHoldDown = Left

else if JoyY > 70

KeyToHoldDown = Down

else if JoyY < 30

KeyToHoldDown = Up

else

KeyToHoldDown =

 

if KeyToHoldDown = %KeyToHoldDownPrev% ; The correct key is already down (or no key is needed).

return ; Do nothing.

 

; Otherwise, release the previous key and press down the new key:

SetKeyDelay -1 ; Avoid delays between keystrokes.

if KeyToHoldDownPrev ; There is a previous key to release.

Send, {%KeyToHoldDownPrev% up} ; Release it.

if KeyToHoldDown ; There is a key to press down.

Send, {%KeyToHoldDown% down} ; Press it down.

return

 

""DO NOT COPY THIS,This above is the script, do not copy this letter right here, if you are using AWSD buttons than replace the arrows by just pressing the buttons, A for left, W for up and so on. DO NOT COPY THIS""

Share this post


Link to post
Share on other sites

 Share

×
×
  • Create New...