I tried xbutton 1 and 2, and my UI freaks out, spells are triggered, trinkets used, screens open and close its crazy. I have no idea why its causing all the additional side effects but it does catch the mouse click. Thats the script I used
$XButton1::
Loop
{
if not GetKeyState("XButton1", "P")
break
Send XButton1
sleep 1
}
return
I'm not sure about the use of the return command in these scripts. Is this correct? It works, but I'd like the script to be clean, and I'd like to understand it better.
#ifWinExists World of Warcraft
{
~Enter::Suspend, toggle
~Esc::Suspend, off
~BS::
~/::
IfEqual, A_IsSuspended, 1, Return
Suspend, on
Return
$4::
Loop
{
if not GetKeyState("4", "P")
break
Send 4
sleep 1
}
return
}
I'm very very very new to AHK. I've gone through every page on this thread and i'm very confused. I just got into dual boxing. I use jamba. I have a Hunter as my main account toon, and a pally as my 2nd account toon. I'm trying to get it so that when I fire an arrow at a mob, my pally will automatically attack that target with <said spell> or just auto attack it with his hammer. I know for everyone here its a very noob question but it is also a very simple one. As since I'm new to this I dont need anything fancy. just have the tank, well .... tank. Any help would be greatly appreciated.
I'm very very very new to AHK. I've gone through every page on this thread and i'm very confused. I just got into dual boxing. I use jamba. I have a Hunter as my main account toon, and a pally as my 2nd account toon. I'm trying to get it so that when I fire an arrow at a mob, my pally will automatically attack that target with <said spell> or just auto attack it with his hammer. I know for everyone here its a very noob question but it is also a very simple one. As since I'm new to this I dont need anything fancy. just have the tank, well .... tank. Any help would be greatly appreciated.
From what it sounds like you just want a macro similar to the following, using the same keybind as your hunter's auto-shot.
/startattack
/cast Judgement of Wisdom
You could also do a /castrandom and put in your commonly used paladin abilities, Judgement, Exorcism, Shield, etc.
I gave that a try and it worked, the only problem I am coming across now is. With my hunter when I Auto shoot and attack the mob, my pally does not go towards the mob to attack it, he just stays on the side of me until the mob is within range of his melee. I tried to reverse it a bit and play as my Pally as my main client, and hunter as 2nd. My hunter will auto follow, and when I initiate combat with my pally my hunter does not stop and use his bow, he runs up next to my pally and melee's it. But thanks for your macro cuz that is helping out alot. I'll try Keyclone out. I notice there is a fee for it. Just hope it works well. It just sucks that I dont understand scripts at all.
I gave that a try and it worked, the only problem I am coming across now is. With my hunter when I Auto shoot and attack the mob, my pally does not go towards the mob to attack it, he just stays on the side of me until the mob is within range of his melee. I tried to reverse it a bit and play as my Pally as my main client, and hunter as 2nd. My hunter will auto follow, and when I initiate combat with my pally my hunter does not stop and use his bow, he runs up next to my pally and melee's it. But thanks for your macro cuz that is helping out alot. I'll try Keyclone out. I notice there is a fee for it. Just hope it works well. It just sucks that I dont understand scripts at all.
I don't multi-box but i'm quite sure that you cannot automate your character's movement without violating the TOS. You can have it attack but you cannot automate it moving to the target independantly. The paladin staying next to your hunter and attacking when the mob is in melee range is the expected behavior.
This is why you usually see mutli-boxers using all ranged classes (mages/priests/hunters/shamans/etc) as they can all attack at the same time from the same range.
That answers my question then. Because I always see people using Mage/Mage or Shaman/Mage for dual boxing, but thats it. Thanks for the help.
If you use ranged/melee combo, always control the melee and use a button to stop the ranged character from moving (for instance, I unbind S from the melee character and have all my keypresses distributed to both chars).
You can also dual melee by just using /follow and /startattack then running through the mob with your main character. The added benefit here is for one character to always hit the back of the mob. Dual rogues are fun in this way since you just spam the Backstab button and the mob flips between the rogues. The reason this works is because follow stops in melee combat.
In the end, however, using all ranged is much easier (preferably with a BM hunter as one of the ranged to keep the mob at range) - although from an ease-of-use point of view, anything/healer is probably your best bet.
Originally Posted by Wraithlin
Do your hospitals have unusually narrow doorways?
If not how do "lifestyle choices" explain the waiting time statistics?
Sarf, what kind of macros do you have bound to your S key for both characters? i'm curious to know. I did make a macro that would cancel the auto follow of my hunter which now allows her to attack with auto shoot and my pally to attack melee so that is working out great so far. Granted they are both low levels so I'm sure its gonna get tougher as more spells and shots are available to me.
Sarf, what kind of macros do you have bound to your S key for both characters? i'm curious to know. I did make a macro that would cancel the auto follow of my hunter which now allows her to attack with auto shoot and my pally to attack melee so that is working out great so far. Granted they are both low levels so I'm sure its gonna get tougher as more spells and shots are available to me.
Eh? I just meant that I used the S key to stop the ranged class, then ran in with the melee class. No macros involved.
The other thing I did was to make an attack macro on the "main" character and an assist macro on the other character, and bind them to the same button. The real benefit with a Hunter is that you literally bind everything you need for levelling to that button - /startattack, /petattack, /cast Hunter's Mark - and you're done, the Hunter will plonk away at the target.
The easiest way I ever levelled dualboxing was with two Hunters. as they can both just unload on mobs. The important consideration there was to give the supporting character range extension, so it could attack mobs at the edge of the other characters range.
Your best bet for dualboxing is to get multiboxing addons like twoboxtoolkit or Jamba, and skip as many "pick up / loot quest item" quests as you can. While alt-tabbing (or using multiple screens / windows) works, it does slow down your pace. Having addons that notify you when your characters are out of sync and auto-shares quests etc are a godsend.
Sorry for the derail - if you have any particular questions about macros and so on we can take them in PMs.
Originally Posted by Wraithlin
Do your hospitals have unusually narrow doorways?
If not how do "lifestyle choices" explain the waiting time statistics?
I finally decided to get rid of Macaroon since it had some anoying happits as soon as I entered a vehicle. However I really like it's ability to active spells on key down but not key up. I've recognized that AHK is able to do the same, however I have never before done any script. So basically I am looking for a little support on how to create a script that actives button 1, 2.. on down click.
So far I was able to find the command Send {X down} but have no clue on how to start the script and include the commands for all the keys. Additionally I want to include 3 mouse buttons as well. I've seen that AHK also inclused LButton, RButton and MButton however my Logitech G9 has 2 buttons on the left instead of 1 left 1 right. Don't know if this would be an issue.
Thats a pretty cool idea with holding down a button to cast. However, WoW freaks out with "Cannot cast this yet" errors. Is there any way to get rid of that?
EDIT: Found my answer on some random WoW thread:
#showtooltip
/console Sound_EnableSFX 0
/cast frostbolt.(Highest rank ofc, just type /cast in the macro and shiftclick the spell in spellbook)
/script UIErrorsFrame:Clear()
/console Sound_EnableSFX 1
Thats a pretty cool idea with holding down a button to cast. However, WoW freaks out with "Cannot cast this yet" errors. Is there any way to get rid of that?
I tried asking on the AHK forum and all i could get was "you're doing this wrong" responses, which were things I had already done anyway, and did not help me solve my problem. My guess is none of em knew how to do it.
Anyway, im trying to send mouse clicks to all 3 of my WoW windows, namely (atm) my Mouse Button 5 (also known as Xbutton2 or the Fwd button in a browser)
this is my script so far
The stuff at the top that's ;'d out was my original functions, 2nd set is one someone suggested.
I cannot get it to work, i've tried alot of variations, only thing that happens is the mouse clicks on the active window and thats it.
Any help would be greatly appreciated. I spent about 5 hours or more last night searching AHK website and google frantically to no avail.
Interesting mod but I would personally be worried about using it.
One little thing about wow that has always bugged me and inadvertantly adds to lag of you using an ability is the fact an ability does not cast until you release the key you press. Certain othere abilities do not function this way, they from what are can tell are all stance change moves including stealthing and destealthing, these abilities activate as you press the button and not on the release.
Does any one know if its possible to remove this function of an action requiring you to press and depress the key for the ability to fire off. I am sure it would help with perceived lag.
Interesting mod but I would personally be worried about using it.
One little thing about wow that has always bugged me and inadvertantly adds to lag of you using an ability is the fact an ability does not cast until you release the key you press. Certain othere abilities do not function this way, they from what are can tell are all stance change moves including stealthing and destealthing, these abilities activate as you press the button and not on the release.
Does any one know if its possible to remove this function of an action requiring you to press and depress the key for the ability to fire off. I am sure it would help with perceived lag.
I just tried this on my druid where I'm assuming stance changes function the same as shapeshift changes. First off, I tried prowling, and found that prowl activates and deactivates as the button is released, not pressed, contrary to what you mentioned in your post. Secondly, I found that if I bind a key from the stance bar to my keyboard, the action triggers when the key is depressed like you suggest, but, if I move the shapechange action to a regular bar, the action triggers upon release. This leads me to believe that when the action takes place is a function of the bar containing the action rather than the action itself.
I tried asking on the AHK forum and all i could get was "you're doing this wrong" responses, which were things I had already done anyway, and did not help me solve my problem. My guess is none of em knew how to do it.
<snip>
The stuff at the top that's ;'d out was my original functions, 2nd set is one someone suggested.
I cannot get it to work, i've tried alot of variations, only thing that happens is the mouse clicks on the active window and thats it.
Any help would be greatly appreciated. I spent about 5 hours or more last night searching AHK website and google frantically to no avail.
If it works with every other thing, then there's a problem with either a) the extra button or b) using the mouse. The logical problem would be that you are trying to send a mouse-click to a window which is not active. While sending key-clicks works OK, perhaps the mouse is treated differently.
Other than that, I can only recommend you to use Keyclone instead if all you want to do is to distribute clicks. I am unsure if Keyclone supports mouse clicking, however.
What are you trying to accomplish by clicking? If it is for interacting with the world, most people just tab around to the particular window and use the mouse themselves (for quests etc) which is why most people skip multiboxing non-kill quests.
Originally Posted by Wraithlin
Do your hospitals have unusually narrow doorways?
If not how do "lifestyle choices" explain the waiting time statistics?
I just tried this on my druid where I'm assuming stance changes function the same as shapeshift changes. First off, I tried prowling, and found that prowl activates and deactivates as the button is released, not pressed, contrary to what you mentioned in your post. Secondly, I found that if I bind a key from the stance bar to my keyboard, the action triggers when the key is depressed like you suggest, but, if I move the shapechange action to a regular bar, the action triggers upon release. This leads me to believe that when the action takes place is a function of the bar containing the action rather than the action itself.
So its an actual function of the stance bar that it activates when pressed down. Then its an actual function of the action bar when the key is released the ability gets activated.
I wonder if there is a way around this, i doubt it as its probably coded into the game engine, but (and this is the reason i posted this in this thread) is there a mod out there that will automatically send a release key command as i press a key, so i would be free of this release key lag :P?
If it works with every other thing, then there's a problem with either a) the extra button or b) using the mouse. The logical problem would be that you are trying to send a mouse-click to a window which is not active. While sending key-clicks works OK, perhaps the mouse is treated differently.
Other than that, I can only recommend you to use Keyclone instead if all you want to do is to distribute clicks. I am unsure if Keyclone supports mouse clicking, however.
What are you trying to accomplish by clicking? If it is for interacting with the world, most people just tab around to the particular window and use the mouse themselves (for quests etc) which is why most people skip multiboxing non-kill quests.
im trying to send the mouse-click to the active wow window and 2 in the background
right now Im trying to get it to do the FWD button on the mouse for browsers, which the game says is Mouse Button 5
this is tied to an ability of my Character, a shapeshift. when i click the button I want all 3 to shapeshift.
im trying to send the mouse-click to the active wow window and 2 in the background
right now Im trying to get it to do the FWD button on the mouse for browsers, which the game says is Mouse Button 5
this is tied to an ability of my Character, a shapeshift. when i click the button I want all 3 to shapeshift.
Personally, the path of least resistance being my karmic path, I'd just switch to Keyclone and use a key combination to shapeshift.
Originally Posted by Wraithlin
Do your hospitals have unusually narrow doorways?
If not how do "lifestyle choices" explain the waiting time statistics?
AHK passes clicks as well
I only have so many keys to work with. I am trying to limit the amount of shift/ctrl+a key I use and I use my mouse for alot of things even when not multiboxing. So I really want to get this working
Simple way to send the same key, or different keys to controlled clients. You can change the %id#% to whatever client you want to send the keys to. Change the hotkey, or keys sent to whatever you want.
SetKeyDelay, 0, 0
WinGet, id, List, World
$1:: ;assuming you use 1 as your "everyone follow me" macro, and you're playing your main char, you won't want to send the macro to your main. So don't put your main's %id% down and it won't send the key. Not only that, but by putting a $ infront of your hotkey you block all native input from the key(s) and it only sends the hotkey command.
ControlSend,, 1, ahk_id %id2%
ControlSend,, 1, ahk_id %id3%
ControlSend,, 1, ahk_id %id4%
ControlSend,, 1, ahk_id %id5%
return
More advanced way to send the same key to multiple clients. This is a more lightweight method of sending the same keys to all clients. Change "boxes=3" to however many clients you are using.
boxes=5
SetKeyDelay, 0, 0
WinGet, id, List, World
~1:: ; sometimes you'll use the ~ command before your hotkey because sometimes if you use the $ it won't send the key to your active window.
loop %boxes%
{
Controlsend,, 1, % "ahk_id " id%A_Index%
}
return
For all of those AOE junkies, theres a way to even send mouseclicks! In order for this to work properly you client windows need to be the same size. Helpful for casting things like Volley, or Blizzard.
coordmode, mouse, relative ; add this under SetKeyDelay
~1::
ControlSend,, 1, ahk_id %id1%
ControlSend,, 1, ahk_id %id2%
ControlSend,, 1, ahk_id %id3%
ControlSend,, 1, ahk_id %id4%
ControlSend,, 1, ahk_id %id5%
keywait, lbutton ; the script waits for you to click and cast your spell
MouseGetPos, xpos, ypos, id, control ; it takes the X/Y relative cords of your mouse
ControlClick, x%xpos% y%ypos%, ahk_id %id1%,, LEFT, 1, NA ; sends the mouseclick to the same spot on the other client.
ControlClick, x%xpos% y%ypos%, ahk_id %id2%,, LEFT, 1, NA
ControlClick, x%xpos% y%ypos%, ahk_id %id3%,, LEFT, 1, NA
ControlClick, x%xpos% y%ypos%, ahk_id %id4%,, LEFT, 1, NA
ControlClick, x%xpos% y%ypos%, ahk_id %id5%,, LEFT, 1, NA
return
I stopped playing WoW like a year ago or so. Just got bored to tears. I started playing Runegard, a private server for NexusTK. I play 14x chars at once the GM's love me. I don't honestly remember what the WoW header was, but I'm sure it was "World of Warcraft". For that code, World should work just fine in the WinGet. If anyone wants help setting up their own FREE (unlike keyclone) custom scripts message me on MSN hmraggy@hotmail.com
I'm trying to eliminate the idiot design of my mouse (cruise buttons keep the scroll function even if remapped) by trying to make a script for it in autohotkey, the only difficulty I found that is there any way to determine in a script if the keystroke was artificial or not and take an action depending on the result of that check? Obviously I don't want to kill the scroll function totally, just want to erase it from the 2 cruise keys, the 2 scroll functions can be clearly distinguished: the ones not needed are artificial the others (needed) are not.
that post didn't make a whole lot of sense regarding your scroll question. if you could post up an example of what your script looks like I could probably get a better feel for what is is you're asking. It sounds like you're using the mouse scroll buttons as hotkeys? and you don't want it to send the native function?
In order to override the native function of a key while scripting hotkeys with AutoHotkey, you need to put a $ as a prefix to your key statement, ex.
$1::
send, hello
return
if you press the key "1" it will send "hello"
if you script it with a ~ it will send the native function of the key + the hotkey
~1::
send, hello
return
if you press the "1" key, this time it will send "1hello"
I don't know if that was your issue or not, but I hope it might help you out. Well anywhos since my last post I went ahead and re-registered my multiboxing account. I'll post up my script for ya.
those hotkeys are my 1-4 keys that cover my entire shot-rotation, reducing the hell out of clutter. Instead of sucking up 10 different action bar slots, I only use 4. Since Aimed Shot, and Multi-Shot are on the same CD, I posted them both on the same key, steady shot is just a filler shot, and I cast it alot and I don't need to see the GCD for it, I didn't bother with allowing it to show. I use the #showtooltip for now, but if you didn't have it on the macros, every time you'd hit one of your [modifier: ] keys it will change the icons. Some of my other simple macros for handling other things look like these.
;Mend Pet/Revive Pet
#showtooltip Mend Pet
/cast [modifier: shift] Revive Pet
/cast Mend Pet
;Mounts casts a random mount of it's type, hold shift for flying mounts, or nothing for ground mounts, put your correct mounts in, or just use /cast if you only have one, or only want to use one.
/castrandom [modifier: shift] Swift Blue Gryphon, Swift Green Gryphon, Swift Purple Gryphon
/castrandom Swift Mistsaber, Swift Stormsaber, Swift Frostsaber
NOTE: keybinds override macros. Sometimes you'll have problems with the in game keybinds, just find the problem and fix it.
Let me elaborate: I have a scroll wheel and 2 "special" buttons on my mouse, the scroll wheel is fine, but the other 2 keys are doing basically the same as the wheel, one button acts as scroll down the other as scroll up. Those 2 buttons keep this function regardless of what key I bind them to in setpoint w/ uberoptions. My goal is to get rid of the scrolling function of those 2 buttons and what I wrote on the other post is how I could distinguish them. The wheel produces normal wheeldown/wheelup string the other 2 buttons produce artificial wheeldown/wheelup strings.
So I don't think the code you posted is what I need. I'm rather interested if there's any way to check if a string is either artificial or not.