Log in

View Full Version : Minimalistic 2 boxing (With AHK)



cb220
11-24-2007, 01:23 AM
Hi, I'm using a level 70 character to level up another character. Up until now I've just ran two instances of WoW and killed everything with the 70(mage) and alt-tabbed to the other character if I needed to loot something.

I was wondering if there is any easy way to get AHK setup just to have my low level character as the main screen (No multi screens just would like one screen) and be able to press buttons to have the 70 mage cast frost bolt or fireblast or arcane explosion, and then follow my main character after the battle is over.

Any help is appreciated, in the mean-time I'll take another look around for tutorials and see if I can make any sense of them = ).


Edit: Couple things I'd like to add. I am trying to do this on one PC, and from reading some tutorials I got the impression I may not be able to have only one main screen, in this case I really don't mind having multiple windows if necessary.

fling
11-24-2007, 12:03 PM
You can do that very, very easily. Use Keyclone or AHK to pass the number keys from the main main account to the minimized/small windowed mage account.

Set up in game macros for each action you want the mage to perform.

1.
/follow main-account

2.
/assist main-account
/cast some-spell-here
/follow main-account

3.
/assist main-account
/castsequence reset=12 spell1, spell2, spell3

So when these macros are set up on the mage account, and Keyclone is setup and passing keys 1, 2, and 3, you would hit 1 on the main account, it gets passed to the mage account, the macro to /follow is on the action bar spot number 1, and the mage follows. Good luck, hope that helps you get a mental picture of what you need to do.

cb220
11-24-2007, 12:38 PM
Ah ok, thank you. Now I understand the logic behind what needs to be done.

The problem now is getting the code to work ><

I put this code from another post on the forum into AHK:

WinGet, wowid, List, World of Warcraft

~2::
KeyWait 2
IfWinActive, World of Warcraft
{
ControlSend,, 2, ahk_id %wowid1%
ControlSend,, 2, ahk_id %wowid2%
Return
}


Apparently it's supposed to send keypress 2 to all instances of WoW?

I then opened two copies of WoW (both loaded from the same WoW folder), logged into the two accounts and tried making the mage cast a spell through my other characters window and nothing happened :(.

Can anyone see what I am doing wrong here?



PS: I have WoW in "Windowed - Maximized" mode.

thinus
11-25-2007, 08:24 PM
I then opened two copies of WoW (both loaded from the same WoW folder), logged into the two accounts and tried making the mage cast a spell through my other characters window and nothing happened :(.

You need to run your 2 WoW sessions first and then you run the AHK script.

In the example script posted in the AHK sticky it searches for the WoW sessions and asks you which one is your primary.

%wowid1% - will be set equal to your primary session
%wowid2% - will be set equal to your secondary session

scuzzilla
11-25-2007, 10:09 PM
hm well...with all the inspiration from this forums and some help from friends (i wasn't that skilled in ahk before i've started with this script :)) - mbscript :D

mbscript.sourceforge.net - should do it :)