Autohotkey script for melee barbarian

Page 1 of 4 1, 2, 3, 4  Next

View previous topic View next topic Go down

Autohotkey script for melee barbarian

Post by Gekko64 on Sun Jan 19, 2014 11:52 pm

I want to share something that really helped me enjoy a melee barbarian with stance on RMB as you no longer have to click like a madman to attack.

install AutoHotKey, right click on your desktop and choose new -> autohotkey script , then paste this code in the empty script:

Code:
SetTitleMatchMode, 2[size=12][/size]
#IfWinActive, Diablo

$MButton::
while GetKeyState("MButton", "P")
{
    Sleep, 40
    Click
}
return

what this does is, as long as you keep the middle mouse button pressed ( in my case this is the mousewheel ) it will keep leftclicking as fast as possible. so you can play melee like you would using the right mouse button.


Last edited by Gekko64 on Thu Jul 16, 2015 4:54 pm; edited 3 times in total

Gekko64
Hopeless

Twinktwat
Posts : 948
Country : Italy

View user profile

Back to top Go down

Re: Autohotkey script for melee barbarian

Post by Gekko64 on Sun Jan 26, 2014 7:02 pm

edited first post, I'm pretty sure I've fixed the issue with the loop getting stuck by making it only click once per frame. I guess it was clicking too fast and the game sometimes would't realize the key is not pressed anymore Very Happy

Gekko64
Hopeless

Twinktwat
Posts : 948
Country : Italy

View user profile

Back to top Go down

Re: Autohotkey script for melee barbarian

Post by buffaloburger on Mon Jan 27, 2014 12:05 am

Just want to give a quick thanks for this. Barbarian is a ways off on my to play list, but I'll almost certainly break it out then. Autohotkey is a useful program. Used it for Company of Heroes most recently.

buffaloburger
Que-Hegan

Posts : 118
Country : United States

View user profile

Back to top Go down

Re: Autohotkey script for melee barbarian

Post by Gekko64 on Mon Jan 27, 2014 2:17 am

you're welcome! I hope it'll be as useful for you as it has been for me Very Happy

Gekko64
Hopeless

Twinktwat
Posts : 948
Country : Italy

View user profile

Back to top Go down

Re: Autohotkey script for melee barbarian

Post by bettyrubble on Mon Jan 27, 2014 8:27 pm

i dont have the option for auto hotkey. is that something i need to download and install before doing what is stated in above thread?

bettyrubble
Mahasattva

Posts : 296
Country : ???

View user profile

Back to top Go down

Re: Autohotkey script for melee barbarian

Post by buffaloburger on Mon Jan 27, 2014 9:53 pm

Yup download the program. Then you use a script for whatever application you need. Normally you have to write your own, but thanks to Gekko you can just copy/paste.

buffaloburger
Que-Hegan

Posts : 118
Country : United States

View user profile

Back to top Go down

Re: Autohotkey script for melee barbarian

Post by Thall on Tue Jan 28, 2014 12:26 am

I think it would be a good thing for people if you posted a link to a download for the program, since it seems odd to not have a link to it since there are bound to have never heard of said program before like me.

-

Anyway, it seems like it could be a useful tool but I have no problems playing a barb with my main attack on my left click since that's how I normally play. I'm sure someone will find this useful though.

Thall
Bloody Butcher

We March For Macragge!
Posts : 482
Country : New Zeland

View user profile

Back to top Go down

Re: Autohotkey script for melee barbarian

Post by buffaloburger on Tue Jan 28, 2014 12:32 am

@ Thall - Good point. For those looking for a link : http://www.autohotkey.com/

Page has instructions, description, and download link at the top.

buffaloburger
Que-Hegan

Posts : 118
Country : United States

View user profile

Back to top Go down

Re: Autohotkey script for melee barbarian

Post by Gekko64 on Tue Jan 28, 2014 1:46 am

added link to the first post, let me know if it works well Smile

Gekko64
Hopeless

Twinktwat
Posts : 948
Country : Italy

View user profile

Back to top Go down

Re: Autohotkey script for melee barbarian

Post by Gekko64 on Sat Nov 08, 2014 3:31 am

can this thread be moved to Tools section?

Gekko64
Hopeless

Twinktwat
Posts : 948
Country : Italy

View user profile

Back to top Go down

Page 1 of 4 1, 2, 3, 4  Next

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum