Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > S4 League
You last visited: Today at 17:04

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Multiple KeyBinding for 1 action?

Discussion on Multiple KeyBinding for 1 action? within the S4 League forum part of the Shooter category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2012
Posts: 48
Received Thanks: 7
Multiple KeyBinding for 1 action?

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.
kahlo08 is offline  
Old 03/19/2016, 14:45   #2
 
elite*gold: 50
Join Date: Mar 2015
Posts: 215
Received Thanks: 48
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
coolasf1re is offline  
Old 03/19/2016, 16:30   #3
 
elite*gold: 0
Join Date: Jul 2012
Posts: 48
Received Thanks: 7
are there any?
kahlo08 is offline  
Old 03/19/2016, 17:13   #4
 
Faraqq's Avatar
 
elite*gold: 30
Join Date: Apr 2010
Posts: 642
Received Thanks: 415
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.
Faraqq is offline  
Thanks
1 User
Old 03/19/2016, 19:56   #5
 
elite*gold: 0
Join Date: Jul 2012
Posts: 48
Received Thanks: 7
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
kahlo08 is offline  
Old 03/20/2016, 18:23   #6
 
Faraqq's Avatar
 
elite*gold: 30
Join Date: Apr 2010
Posts: 642
Received Thanks: 415
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
      }
Faraqq is offline  
Old 03/20/2016, 19:49   #7
 
elite*gold: 0
Join Date: Jul 2012
Posts: 48
Received Thanks: 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.
kahlo08 is offline  
Old 03/21/2016, 19:56   #8
 
Faraqq's Avatar
 
elite*gold: 30
Join Date: Apr 2010
Posts: 642
Received Thanks: 415
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.
Faraqq is offline  
Thanks
1 User
Old 03/21/2016, 22:30   #9
 
elite*gold: 50
Join Date: Mar 2015
Posts: 215
Received Thanks: 48
here, start it as admin, you will have iwj on the mouse wheel
Attached Files
File Type: rar IWJ MButton.rar (476.3 KB, 28 views)
coolasf1re is offline  
Thanks
1 User
Old 03/21/2016, 23:13   #10
 
elite*gold: 0
Join Date: Jul 2012
Posts: 48
Received Thanks: 7
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.
kahlo08 is offline  
Old 03/23/2016, 19:42   #11
 
elite*gold: 0
Join Date: Jul 2012
Posts: 48
Received Thanks: 7
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
kahlo08 is offline  
Old 03/23/2016, 20:12   #12
 
elite*gold: 50
Join Date: Mar 2015
Posts: 215
Received Thanks: 48
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
coolasf1re is offline  
Old 03/23/2016, 22:30   #13
 
elite*gold: 0
Join Date: Apr 2011
Posts: 147
Received Thanks: 5
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
ahmed1234550 is offline  
Old 03/24/2016, 10:57   #14
 
elite*gold: 0
Join Date: Apr 2011
Posts: 147
Received Thanks: 5
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
ahmed1234550 is offline  
Old 03/25/2016, 14:27   #15
 
elite*gold: 50
Join Date: Mar 2015
Posts: 215
Received Thanks: 48
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
Attached Files
File Type: zip bot.zip (8.22 MB, 17 views)
coolasf1re is offline  
Reply


Similar Threads Similar Threads
same action on multiple clients
02/03/2016 - SRO Coding Corner - 2 Replies
...
same action on multiple clients
01/30/2016 - SRO Private Server - 0 Replies
...
Keybinding Frage
11/16/2013 - League of Legends - 2 Replies
Moin, ich hab eben "aggresiv bewegen & angreifen" auf meine linke Maustaste gesetzt. Leider ist mir danach im Spiel aufgefallen, dass ich nicht mehr über die Minimap mit dem Linksklick auf die gewünschte Stelle lande bzw sich nichts tut. Weiß jemand, wo ich das umstellen kann damit ich z.B mit einer anderen Taste auf die Minimap klicken kann? Wäre gut wenn mir jemand helfen kann. MfG
Keybinding an Doppelklick im Inventar
01/16/2013 - Guild Wars 2 - 17 Replies
Hallo, Ich würde gerne wissen, ob jemand weiss wie man einen Doppelklick im Inventar zB: an den Buchstaben C binden kann ? Das finde ich würde den einsatz von Consumables vereinfachen. Danke, Kenji
if player1 killed player2 do this action , else do another action .
10/29/2011 - CO2 Private Server - 6 Replies
Okay , sorry for this thread but the old one none joining it , or trying to correct my wrong , well . if p1 killed p2 do this action , else do this action . is what i wanna to convert this into C# , so how to make it, for example. if (Player1 killed Player2) {



All times are GMT +1. The time now is 17:04.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.