-
Hi,
Launch and login to WoW from AHK script
Added the following script to the Wiki, it launches 5x WoWs. I am still trying to work out how to get the process IDs for each window as it launches it which is complicated by Maximizer. However, Maximizer allows us to use RunWait as the script will wait for Maximizer to finish and terminate and then log in to your WoW account that Maximizer just launched. I believe a WinActive() after the WoW is launched should get the correct ID but I haven't tested it yet.
I experience a loss of character transmission now and then on one of the accounts and it will fail loggin in, it might help to prompt for the password after it already launched the WoW.
Now I just need to figure out how to close all the WoWs.
Code:
;launch 5 WoWs if WoW not yet running
^+!l::
ifWinNotExist, World of Warcraft
{
WOW1 := "c:\wow1\maximizer.exe --device=2 --margin=0,525,0,840"
WOW2 := "c:\wow2\maximizer.exe --device=2 --margin=0,525,840,0"
WOW3 := "c:\wow3\maximizer.exe --device=2 --margin=525,0,0,840"
WOW4 := "c:\wow4\maximizer.exe --device=2 --margin=525,0,840,0"
WOW5 := "c:\wow5\maximizer.exe --device=1 --margin=0,0,0,0"
WOWPATH1 := "c:\wow1\"
WOWPATH2 := "c:\wow2\"
WOWPATH3 := "c:\wow3\"
WOWPATH4 := "c:\wow4\"
WOWPATH5 := "c:\wow5\"
ACCNAME1 := "Account1"
ACCNAME2 := "Account2"
ACCNAME3 := "Account3"
ACCNAME4 := "Account4"
ACCNAME5 := "Account5"
InputBox, PWD, Password Entry, Password, HIDE, 200, 100
RunWait, %WOW1%, %WOWPATH1%
Send %ACCNAME1%{Tab}%PWD%{Enter}
InputBox, PWD, Password Entry, Password, HIDE, 200, 100
RunWait, %WOW2%, %WOWPATH1%
Send %ACCNAME2%{Tab}%PWD%{Enter}
InputBox, PWD, Password Entry, Password, HIDE, 200, 100
RunWait, %WOW3%, %WOWPATH2%
Send %ACCNAME3%{Tab}%PWD%{Enter}
InputBox, PWD, Password Entry, Password, HIDE, 200, 100
RunWait, %WOW4%, %WOWPATH2%
Send %ACCNAME4%{Tab}%PWD%{Enter}
InputBox, PWD, Password Entry, Password, HIDE, 200, 100
RunWait, %WOW5%, %WOWPATH3%
Send %ACCNAME5%{Tab}%PWD%{Enter}
; get the list of WoW IDs
WinGet, WowWinId, List, World of Warcraft
return
}
-
******* With the below information from Chorizotarian, this post's Information is no longer valid ******* Lokked
I would like to note that in your explanation on how to use the assist function in WoW with AHK, I believe the posted script violates the TOS.
I recall in some blue post saying that "as long as one keystroke performed results in one action performed, it is not considered automation."
In the AHK script you are having AHK perform an = press and then immediately a 1 or 2 or 3, etc. keypress.
Seems harmless, but then what could stop a person from aligning a whole string of characters to a single keypress. Whether this benefits the AHK user, i seriously doubt, but there is a macro system in game to perform these actions, using the game's API.
I'll remove my post if my topic is deemed inconsequencial. Other then that, I think that is by far the best write up I've seen yet of AHK. No more referring beginners to the lengthy and partially incorrect "AHK for Beginners" thread :)
-
See the legality section as well as the thread referenced a few posts up. You can create macros with the G15 that pass multiple keystrokes and using AHK we are doing basically the same thing. I might put a "Use at your own risk" disclaimer on it as it seems to be a sliglty grey area.
-
The only blue restrictions I can find on "one action per keystroke" are:
1) No automated gameplay (loosely defined on purpose)
2) No doing multiple things in an external macro (e.g., G15) that you can't do in an in-game macro (example: cast fireball, wait 1.5 sec, cast fireblast)
They have definitely ruled that multiple keystrokes are ok if you are sending a string like "/follow" from a G15 key. AFAIK they have never ruled on whether multiple actions that don't circumvent the GCD are ok. For example, I have the following bindings on my n52 d-pad:
D-Pad N = w
D-Pad W = q
D-Pad NW = w + q
Is that a violation of the TOS? I'm pretty sure that they would say not -- all I'm doing is implementing a natural scheme for moving around with the d-pad. I'm not gaining any unintended advantage over other players or circumventing the restriction on multiple actions that trigger the GCD. I just get to use the d-pad for movement instead of WASD(QW). Likewise, I think it's ok for me to trigger "q" + "/" off a single press of a mouse button because all I'm doing is combining 2 non-GCD in-game commands to get an effect that is trivial for a single-boxer to achieve with a keyboard and mouse.
That's my take anyway. I doubt that we will get a definitive ruling from a GM unless multiboxing becomes a lot more common. Right now there aren't enough of us for it to be worth their time to create authoritative rules.
If you do find a blue post that's more definitive than what's above, *please* linky back here :) I think everyone on this board wants to stay within the rules. We just wish we knew what they are! :P