Multiple KeyBinding for 1 action?

03/18/2016 22:45 kahlo08#1
Hi, is it possible to bind the mousewheel and space bar at the same time for jumping? I'd like to be able to jump with space bar and use mousewheel to iwj.
03/19/2016 14:45 coolasf1re#2
Quote:
Originally Posted by kahlo08 View Post
Hi, is it possible to bind the mousewheel and space bar at the same time for jumping? I'd like to be able to jump with space bar and use mousewheel to iwj.
with a bot it is possible
03/19/2016 16:30 kahlo08#3
are there any?
03/19/2016 17:13 Faraqq#4
Get Autohotkey.
Create a new ahk script in the form of a text file with .ahk as an ending.
Write
Code:
WheelUp::Space 
WheelDown::Space
into it.
Now scrolling the wheel up or down will spam the jump key.

Alternatively there are several scripts floating around that bind a Space spam to a mousewheel click and will probably work a lot better.
03/19/2016 19:56 kahlo08#5
Just tested it. Thanks dude. I can use mousewheel and space bar like as spacebar. This will help me a lot because I don't want to kill my space bar. I didn't even know about that... Thanks for the code too.

I've added a little extra thing to not get a warning message here's the code:


Update: Tried it in-game doesn't seem to affect the game :/
Was working on google chrome but not in game. I tried the #ifWinActive or #ifwinexist still nothing. Or maybe I did it wrong.

Update 2: Tried to convert it into a .dll with unicode and inject it into the game with a bypass at the same time. Didn't work :c
03/20/2016 18:23 Faraqq#6
What would #ifWinActive change in this context anyways? That only makes it so stuff executes only when the window is there. If it doesnt work generally, it won't work this way as AHK applies stuff to the active window by default.

I simply gave you a script which does the thing you wanted, binding Space to the Mousewheel scroll.

Here is a working one which allows you to IWJ with a press of the middle mouse button (scroll wheel)
Code:
MButton::
While GetKeyState("MButton","P")

      {
	   Send {Space Down}
	   Sleep 20
	   Send {Space Up}
	   Sleep 1
	   Send {Space Down}
	   Sleep 1
	   Send {Space Up}
	   Sleep 1
      }
03/20/2016 19:49 kahlo08#7
I thought I could apply the codes you gave me to make it work in game. But thanks the second code. I'll test it out later.

Update: Either I don't know how to make it work or it doesn't work. I opened the .ahk file and it works on browser but not in game.
03/21/2016 19:56 Faraqq#8
It works flawlessly for me. Be sure your middle mouse button is not bound to anything else and no other script uses it. Explain your process in detail.
03/21/2016 22:30 coolasf1re#9
here, start it as admin, you will have iwj on the mouse wheel
03/21/2016 23:13 kahlo08#10
Quote:
Originally Posted by Faraqq View Post
It works flawlessly for me. Be sure your middle mouse button is not bound to anything else and no other script uses it. Explain your process in detail.
So what I do is, I open a notepad, I enter in the code you gave me, I save it as .ahk and utf-8 ''all files'' and then I double click the thing then I see a green icon in my taskbar on the right corner and I launch the game.

Thanks for both of you for helping me.
03/23/2016 19:42 kahlo08#11
Quote:
Originally Posted by coolasf1re View Post
here, start it as admin, you will have iwj on the mouse wheel
How did you do it though. I wanna know please. I wanna get dat knowledge tho
03/23/2016 20:12 coolasf1re#12
Quote:
Originally Posted by kahlo08 View Post
How did you do it though. I wanna know please. I wanna get dat knowledge tho
a friend gave it to me, i only edit it with ressource hacker
03/23/2016 22:30 ahmed1234550#13
Quote:
Originally Posted by Faraqq View Post
It works flawlessly for me. Be sure your middle mouse button is not bound to anything else and no other script uses it. Explain your process in detail.
can you give me a code for dash cancel please? and thanks
03/24/2016 10:57 ahmed1234550#14
Quote:
Originally Posted by Decrypted View Post
There are already a lot, just search for "SC" = "Speed Counter"
ik but the codes is not right sometimes not work with dash
03/25/2016 14:27 coolasf1re#15
Quote:
Originally Posted by ahmed1234550 View Post
ik but the codes is not right sometimes not work with dash
here, some dashcancel bots. not by me, idk where i got it from

didn't test them, but should work. if not, say it here