Anyone good with Autohotkey or a similar app? Need motif macro help by Ickz - TribalWar Forums
Click Here to find great hosting deals from Branzone.com


Go Back   TribalWar Forums > Archived Forums > Rift
Reload this Page Anyone good with Autohotkey or a similar app? Need motif macro help
Ickz
VeteranXV
Old
1 - 03-05-2011, 13:09
My goal is to have it so one button will cast all of my motifs one after another on each keypress. I do not want something that will automate the casts one after another on just one keypress - I want some control as to when I cast each in case I have to interrupt the rotation to do something else. With that in mind, I would, ideally, like some sort of timed reset, so if the key isn't pressed after, say, 10 or 15 seconds, the macro would reset and start at the first motif bind. Does anyone know if this would be possible, and if so could anyone familiar with a macro program like Autohotkey help me out? Would appreciate it a lot. Also, if anyone was wondering, Trion okayed the macro capabilities of gaming keyboards as long as you are physically at the computer, so this should be fine as far as the eula goes.
 
Ickz is offline
 
Sponsored Links
styr
VeteranXV
Old
2 - 03-05-2011, 14:51
honestly im more pissed off that you cant change the keybind of zoom out/in from your mouse scroll and thus can't use mousescroll for anything but zoom out/in

sorry for hijacking, but i just use shift+1-5 for my motifs and it works fine.
 
styr is offline
 
Helado
VeteranX
Contributor
Old
3 - 03-06-2011, 03:06
I'm new to AHK, but this will work for the most part.

Just be weary of multiple key presses. What they really need is castsequence.

Replace $1 with your keybind and Send 1-5 with the keys you want to send. Enough to get you started anyway.

Code:
mcnt = 1
Hotkey, $1, motif_loop
return
motif_loop:
if mcnt = 1
  Send 1
if mcnt = 2
  Send 2
if mcnt = 3
  Send 3
if mcnt = 4
  Send 4
if mcnt = 5
  Send 5
mcnt++
if mcnt > 5
  mcnt = 1
SetTimer, reset_loop, 15000  
return

reset_loop:
SetTimer, reset_loop, off
mcnt = 1
return
 
Helado is offline
 
Ickz
VeteranXV
Old
4 - 03-06-2011, 05:16
Nice that seems to work, thanks. Yeah, kind of sucks you have to be careful of spamming.
 
Ickz is offline
 
Helado
VeteranX
Contributor
Old
5 - 03-06-2011, 12:12
So this might be better. I haven't tried this in game yet, but basically every release of key press (personal preference, change $1 up to $1 down to make it on key press, or just $1 to make it like a normal key in which case you can just hold the key down to cast your motifs assuming you have energy for it) will go through the 5 keypresses. Multiple presses within 1 second (GCD for rogues I think), will keep it at the value. Resets after 15 seconds.

Code:
mcnt = 1
dlyflg = 0
Hotkey, $1 up, motif_loop
return
motif_loop:
if mcnt = 1
  Send 1
if mcnt = 2
  Send 2
if mcnt = 3
  Send 3
if mcnt = 4
  Send 4
if mcnt = 5
  Send 5
if dlyflg = 0  
{
  SetTimer, incr_mcnt, 1000 ; Put your GCD delay here 
  dlyflg = 1
}

SetTimer, reset_loop, 15000  ; Time to wait before reset to zero
return

incr_mcnt:
SetTimer, incr_mcnt, off
mcnt++
if mcnt > 5
  mcnt = 1
dlyflg = 0  
return

reset_loop:
SetTimer, reset_loop, off
mcnt = 1
return
 
Helado is offline
 
CelticMojo
VeteranX
Contributor
Old
6 - 03-11-2011, 06:16
Buddy of mine says that is to many lines?

Did you get it working?

update plz
 
CelticMojo is offline
 
CelticMojo
VeteranX
Contributor
Old
7 - 03-13-2011, 17:27
???
 
CelticMojo is offline
 
Helado
VeteranX
Contributor
Old
8 - 03-14-2011, 00:32
AutoHotkey - Free Mouse and Keyboard Macro Program with Hotkeys and AutoText

It's not a regular macro
 
Helado is offline
 
CelticMojo
VeteranX
Contributor
Old
9 - 03-14-2011, 01:43
thanks.
 
CelticMojo is offline
 
SuperNova
VeteranXV
Old
10 - 03-21-2011, 23:48
i do this with my mouse software, it took some fiddling to get the delay right for the GCD but it works 99% of the time now, if i get interupted or sotmhing it messes it up kinda but i just recast and it works fine. i have a logitech g700 mouse btw
 
SuperNova is offline
 
Surrealism
VeteranX
Old
11 - 04-03-2011, 04:28
here is a quick one you can start out with and modify:

Code:
$1::
mcnt = 1
Loop 3
{
	Send %mcnt%
	Sleep 1250
	mcnt++
}
return

pressing 1 will loop 3 times and activate a number every 1.25 secs
 
Surrealism is offline
 
Harlequin_Jester
VeteranX
Old
12 - 04-18-2011, 20:00
Quote:
Originally Posted by styr View Post
honestly im more pissed off that you cant change the keybind of zoom out/in from your mouse scroll and thus can't use mousescroll for anything but zoom out/in

sorry for hijacking, but i just use shift+1-5 for my motifs and it works fine.
Same. shift 1-5 ftw. God I wish the in-game macro system allowed queueing.
 
Harlequin_Jester is offline
 


Go Back   TribalWar Forums > Archived Forums > Rift
Reload this Page Anyone good with Autohotkey or a similar app? Need motif macro help

Social Website Bullshit


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


AGENT: CCBot/2.0 (https://commoncrawl.org/faq/) / Y
All times are GMT -4. The time now is 01:42.