My 5 box elemental shaman script

Using HotkeyNet with World of Warcraft.

My 5 box elemental shaman script

Postby rakkar on Mon Jan 05, 2009 12:02 pm

Features:
    5 windows, 1 larger for your focus character
    All macros are focus-screen independent, so if your focus screen character dies, you can switch over without loss of control
    Change focus character just by moving the mouse to another window
    Shift-alt-L launches all 5 instances and logs in
    Ctrl F1 - Ctrl F5 to set main screen focus to that instance
    Attack key is broadcast to followers for a different macro, so you can have followers attack the same target as your focus window
    Round robin thunderstorm to knock back enemies, with other shamans casting frost shock spread on nearby targets
    Followers will follow you on any movement keypress, so they are less likely to get stuck behind if they stop following
    F1 to F5 to self-heal the first through fifth character in the party list in the currently active window. Use Shift to simultaneously have other characters also cast chain heal on the damanged character.
    Spread out followers, 2 to each side of your main focus character

Of course half of the work is in the macros in the game itself. If I figure out how to post those here I'll do that too.

Code: Select all
// Scrolllock is the toggle for hotkeys

//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
//-----------------------------------------------------------
<Command LaunchAndRename>
   <SendPC %1%>
      <Run "C:\Games\World of Warcraft\WoW.exe">
      <RenameTargetWin %2%>

//-----------------------------------------------------------
// Initial window positions
//-----------------------------------------------------------
<Command SetF1Pos>
   <TargetWin WoW1>
      <SetWinPos 0 0>
     //   <SetWinSize 1600 1200>
      <SetWinSize 1280 1024>
        <SetForegroundWin>
        <UpdateWin>
  <TargetWin WoW2>
       <SetWinPos 1920 0>
       <SetWinSize 800 600>
  <TargetWin WoW3>
       <SetWinPos 2720 0>
       <SetWinSize 800 600>
  <TargetWin WoW4>
       <SetWinPos 1920 600>
       <SetWinSize 800 600>
   <TargetWin WoW5>
       <SetWinPos 2720 600>
       <SetWinSize 800 600>

//-----------------------------------------------------------
// Shift-alt-L launches all 5 instances and logs in
//-----------------------------------------------------------
<Hotkey Shift Alt Ctrl L>
    <LaunchAndRename Local WoW1>
       <RemoveWinFrame>
       <sendpc local>
       <wait 1000>
        <text YourUserName>
        <Key tab>
        <text YourPassword>
        <wait 100>
        <Key Enter>                
    <LaunchAndRename Local WoW2>
      <RemoveWinFrame>
       <sendpc local>
       <wait 1000>
        <text YourUserName2>
        <Key tab>
        <text YourPassword>
        <wait 100>
        <Key Enter>
    <LaunchAndRename Local WoW3>
       <RemoveWinFrame>
       <sendpc local>
       <wait 1000>
        <text YourUserName3>
        <Key tab>
        <text YourPassword>
        <wait 100>
        <Key Enter>
    <LaunchAndRename Local WoW4>
       <RemoveWinFrame>
       <sendpc local>
       <wait 1000>
        <text YourUserName4>
        <Key tab>
        <text YourPassword>
        <wait 100>
        <Key Enter>
    <LaunchAndRename Local WoW5>
      <RemoveWinFrame>
       <sendpc local>
       <wait 1000>
        <text YourUserName5>
        <Key tab>
        <text YourPassword>
        <wait 100>
        <Key Enter>
    <SetF1Pos>
   
//-----------------------------------------------------------
// DEFINE MAIL LABELS FOR SENDING KEY STROKES.
//-----------------------------------------------------------
<Label w1 Local SendWinM WoW1>
<Label w2 Local SendWinM WoW2>
<Label w3 Local SendWinM WoW3>
<Label w4 Local SendWinM WoW4>
<Label w5 Local SendWinM WoW5>

//-----------------------------------------------------------
// Active window has the mouse
// Otherwise you have to click on the window you want to send commands to, rather than just move the mouse over it
//-----------------------------------------------------------
<SetActiveWindowTracking On>

//-----------------------------------------------------------
// Broadcasted hotkeys that are sent to all systems at the same time
// All number keys are broadcast normally, except 1, which is handled in the next block
//-----------------------------------------------------------
<Hotkey ScrollLockOn 0, 2-9, Minus, Plus>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>

<Hotkey Shift ScrollLockOn 0-9, Minus, Plus>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>

<Hotkey ScrollLockOn Alt 0-9, Minus, Plus>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>

//-----------------------------------------------------------
// 1 is the attack key
// The window that has focus just presses 1, for regular attack
// Followers press ctrl-1, which is a macro to set the target to the focus target, then attack
//-----------------------------------------------------------
<HotKey ScrollLockOn 1>
   <If ActiveWinIs WoW1>
      <SendLabel w2, w3, w4, w5>
      <Key Alt Ctrl 1>
      <SendLabel w1>
      <Key 1>
   <Else If ActiveWinIs WoW2>
      <SendLabel w1, w3, w4, w5>
      <Key Alt Ctrl 1>
      <SendLabel w2>
      <Key 1>
   <Else If ActiveWinIs WoW3>
      <SendLabel w1, w2, w4, w5>
      <Key Alt Ctrl 1>
      <SendLabel w3>
      <Key 1>
   <Else If ActiveWinIs WoW4>
      <SendLabel w1, w2, w3, w5>
      <Key Alt Ctrl 1>
      <SendLabel w4>
      <Key 1>
   <Else If ActiveWinIs WoW5>
      <SendLabel w1, w2, w3, w4>
      <Key Alt Ctrl 1>
      <SendLabel w5>
      <Key 1>

//-----------------------------------------------------------
// Broadcast ctrl-a through z, except for ctrl-a ctrl-c and ctrl-v which is used for copy/paste
//-----------------------------------------------------------
<Hotkey ScrollLockOn Ctrl b, d-e, g-p, q-u, x-z,Oem4, Oem6 >
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>

//-----------------------------------------------------------
// Simple round robin
// One system casts thunderstorm (ctrl-w)
// Other systems press Frost shock macro (Alt Ctrl 4), with variations on either leaving out /targetenemy, or using /targetenemy1 instead. This will likely spread out frost shocks on all nearby attackers
// /targetenemy
// /cast FrostShock
//-----------------------------------------------------------
<Hotkey ScrollLockOn Ctrl W>
<Toggle>
   <SendLabel w1>
      <Key %Trigger%>
   <SendLabel w2,w3,w4,w5>
      <Key Alt Ctrl 4>
<Toggle>
   <SendLabel w2>
      <Key %Trigger%>
   <SendLabel w1,w3,w4,w5>
      <Key Alt Ctrl 4>
<Toggle>
   <SendLabel w3>
      <Key %Trigger%>
   <SendLabel w1,w2,w4,w5>
      <Key Alt Ctrl 4>
<Toggle>
   <SendLabel w4>
      <Key %Trigger%>
   <SendLabel w1,w2,w3,w5>
      <Key Alt Ctrl 4>
<Toggle>
   <SendLabel w5>
      <Key %Trigger%>
   <SendLabel w1,w2,w3,w4>
      <Key Alt Ctrl 4>
      
//-----------------------------------------------------------
// Follow active window with Ctrl F
// Shift-Alt-Ctrl <letter> is bound to follow the player with that letter in their name
// My characters are named identically, except for one character, which is a,e,i,o, or u.
// For example, shift-alt-ctrl-a is bound to a hotkey which uses /follow (player with A in their name)
//-----------------------------------------------------------
<Hotkey ScrollLockOn Ctrl F>
   <If ActiveWinIs WoW1>
      <SendLabel w2, w3, w4, w5>
      <Key Shift Alt Ctrl A>
   <Else If ActiveWinIs WoW2>
      <SendLabel w1, w3, w4, w5>
      <Key Shift Alt Ctrl E>
   <Else If ActiveWinIs WoW3>
      <SendLabel w1, w2, w4, w5>
      <Key Shift Alt Ctrl I>
   <Else If ActiveWinIs WoW4>
      <SendLabel w1, w2, w3, w5>
      <Key Shift Alt Ctrl O>
   <Else If ActiveWinIs WoW5>
      <SendLabel w1, w2, w3, w4>
      <Key Shift Alt Ctrl U>

//-----------------------------------------------------------
// Send commands to a party member, based on their order in the party list
// Wow lists players in the party list in reverse alphabetical order, except your own character, which is always first in the list, and the 2nd character, which is the party leader
// For me, the party leader is a
// Among my 5 windows, the players are listed as such
//-----------------------------------------------------------
//                   IN A PARTY
//----------------------------------------------|
// (Wow1)                     | (Wow2)         | (Wow3)      |
// a                           |e                  |i               |
// u                           |a                  |a               |
// o                           |u                  |u               |
// i                           |o                  |o               |
// e                           |i                  |e               |
//                              ---------------------------
//                              | (Wow4)         | (Wow4)
//                              |o                  |u               |
//                              |a                  |a               |
//                              |u                  |o               |
//                              |i                  |i               |
//                              |e                  |e               |
//----------------------------------------------|
// Player a is in window WoW1
// Player e is in window WoW2
// Player i is in window WoW3
// Player o is in window WoW4
// Player u is in window WoW5
//
// Note: Battleground raid groups seem to currently have a bug where in window WoW1, u and o are swapped.
//
//-----------------------------------------------------------
// Self heal (interrupt, small heal)
// press Shift,Ctrl,Alt 1-5 to tell the player in that order in the list to heal himself
// E.G. Shift Ctrl Alt 1 means send to the first guy in the list, which means whichever window has focus
// E.G. 2 means send to the second guy in the list, which is the player with last alphabetical name, unless that window has focus
// Etc.
// Key 8 for me is to heal myself: /cast [target=player] Lesser Healing Wave()
//-----------------------------------------------------------
<Hotkey ScrollLockOn F1 > // First
   <If ActiveWinIs WoW1>
      <SendLabel w1>
         <Key 8>
   <Else If ActiveWinIs WoW2>
      <SendLabel w2>
         <Key 8>
   <Else If ActiveWinIs WoW3>
      <SendLabel w3>
         <Key 8>
   <Else If ActiveWinIs WoW4>
      <SendLabel w4>
         <Key 8>
   <Else If ActiveWinIs WoW5>
      <SendLabel w5>
         <Key 8>
<Hotkey ScrollLockOn F2 > // Second
   <If ActiveWinIs WoW1>
      <SendLabel w5>
         <Key 8>
   <Else>
      <SendLabel w1>
         <Key 8>
<Hotkey ScrollLockOn F3 > // Third
   <If ActiveWinIs WoW1>
      <SendLabel w4>
         <Key 8>
   <Else If ActiveWinIs WoW2>
      <SendLabel w5>
         <Key 8>
   <Else If ActiveWinIs WoW3>
      <SendLabel w5>
         <Key 8>
   <Else If ActiveWinIs WoW4>
      <SendLabel w5>
         <Key 8>
   <Else If ActiveWinIs WoW5>
      <SendLabel w4>
         <Key 8>
<Hotkey ScrollLockOn F4 > // Fourth
   <If ActiveWinIs WoW1>
      <SendLabel w3>
         <Key 8>
   <Else If ActiveWinIs WoW2>
      <SendLabel w4>
         <Key 8>
   <Else If ActiveWinIs WoW3>
      <SendLabel w4>
         <Key 8>
   <Else If ActiveWinIs WoW4>
      <SendLabel w3>
         <Key 8>
   <Else If ActiveWinIs WoW5>
      <SendLabel w3>
         <Key 8>
<Hotkey ScrollLockOn F5 > // Fifth
   <If ActiveWinIs WoW2>
      <SendLabel w3>
         <Key 8>
   <Else>
      <SendLabel w2>
         <Key 8>

//-----------------------------------------------------------
// Press Shift and a movement key to move your followers only
//-----------------------------------------------------------
<MovementHotkey ScrollLockOn Shift W,A,S,D,Q,E>
<If ActiveWinIs WoW1>
   <SendLabel w2, w3, w4, w5>
      <Key %TriggerMainKey%>
<Else If ActiveWinIs WoW2>
   <SendLabel w1, w3, w4, w5>
      <Key %TriggerMainKey%>
<Else If ActiveWinIs WoW3>
   <SendLabel w1, w2, w4, w5>
      <Key %TriggerMainKey%>
<Else If ActiveWinIs WoW4>
   <SendLabel w1, w2, w3, w5>
      <Key %TriggerMainKey%>
<Else If ActiveWinIs WoW5>
   <SendLabel w1, w2, w3, w4>
      <Key %TriggerMainKey%>

//-----------------------------------------------------------
// Movement keys causes all other systems to follow the character in the window that has focus
// As before, shift-alt-ctrl (letter) presses a key corresponding to /follow (player with that letter in their name)
//-----------------------------------------------------------
<Hotkey ScrollLockOn W, A, Q, E>
<If ActiveWinIs WoW1>
   <SendLabel w1>
      <KeyDown %TriggerMainKey%>
   <SendLabel w2, w3, w4, w5>
      <Key Shift Alt Ctrl A>
<Else If ActiveWinIs WoW2>
   <SendLabel w2>
      <KeyDown %TriggerMainKey%>
   <SendLabel w1, w3, w4, w5>
      <Key Shift Alt Ctrl E>
<Else If ActiveWinIs WoW3>
   <SendLabel w3>
      <KeyDown %TriggerMainKey%>
   <SendLabel w1, w2, w4, w5>
      <Key Shift Alt Ctrl I>
<Else If ActiveWinIs WoW4>
   <SendLabel w4>
      <KeyDown %TriggerMainKey%>
   <SendLabel w1, w2, w3, w5>
      <Key Shift Alt Ctrl O>
<Else If ActiveWinIs WoW5>
   <SendLabel w5>
      <KeyDown %TriggerMainKey%>
   <SendLabel w1, w2, w3, w4>
      <Key Shift Alt Ctrl U>

<HotkeyUp ScrollLockOn W, A, Q, E>
<If ActiveWinIs WoW1>
   <SendLabel w1>
   <KeyUp %TriggerMainKey%>
<Else If ActiveWinIs WoW2>
   <SendLabel w2>
   <KeyUp %TriggerMainKey%>
<Else If ActiveWinIs WoW3>
   <SendLabel w3>
   <KeyUp %TriggerMainKey%>
<Else If ActiveWinIs WoW4>
   <SendLabel w4>
   <KeyUp %TriggerMainKey%>
<Else If ActiveWinIs WoW5>
   <SendLabel w5>
   <KeyUp %TriggerMainKey%>

   
//-----------------------------------------------------------
// Spread out followers, 2 to each side
// Bound to a macro on my mouse, so a mouse button presses Ctrl Shift Alt W
//-----------------------------------------------------------
<MovementHotkey ScrollLockOn Ctrl Shift Alt W>
   <If ActiveWinIs WoW1>
      <SendLabel w2,w3>
         <Key Q>
      <SendLabel w4,w5>
         <Key E>
   <Else If ActiveWinIs WoW2>
      <SendLabel w1,w3>
         <Key Q>
      <SendLabel w4,w5>
         <Key E>
   <Else If ActiveWinIs WoW3>
      <SendLabel w1,w2>
         <Key Q>
      <SendLabel w4,w5>
         <Key E>
   <Else If ActiveWinIs WoW4>
      <SendLabel w1,w2>
         <Key Q>
      <SendLabel w3,w5>
         <Key E>
   <Else If ActiveWinIs WoW5>
      <SendLabel w1,w2>
         <Key Q>
      <SendLabel w3,w4>
         <Key E>

//-----------------------------------------------------------
// Middle mouse button sends left click to all systems
// Ctrl Alt Shift V is bound to reset view the same on all systems
// Shift 3 is the attack key
// Use for ground targeted attacks
//-----------------------------------------------------------
<Hotkey ScrollLockOn MButton>
<Toggle>
   <SendLabel w1, w2, w3, w4, w5>
   <Key Ctrl Alt Shift V>
<Toggle>
   <SendLabel w1, w2, w3, w4, w5>
   <Key Shift 3>
<Toggle>
   <SendLabel w1, w2, w3, w4, w5>
      <ClickMouse LButton>


//----------------------------------------------------------------
// USE CTRL F1 TO F5 TO SET FOCUS WINDOW
// Focus window takes the left monitor. Other windows are divided evenly among the right monitor
//----------------------------------------------------------------
<Hotkey ScrollLockOn Ctrl F1>
  <If ActiveWinIs WoW1>
  <Else>
     <SetF1Pos>
<Hotkey ScrollLockOn Ctrl F2>
  <If ActiveWinIs WoW2>
  <Else>
     <TargetWin WoW1>
        <SetWinPos 1920 0>
        <SetWinSize 800 600>
     <TargetWin WoW3>
       <SetWinPos 2720 0>
       <SetWinSize 800 600>
     <TargetWin WoW4>
          <SetWinPos 1920 600>
          <SetWinSize 800 600>
      <TargetWin WoW5>
          <SetWinPos 2720 600>
          <SetWinSize 800 600>
     <TargetWin WoW2>
        <SetWinPos 0 0>
        <SetWinSize 1280 1024>
        <SetForegroundWin>
        <UpdateWin>
<Hotkey ScrollLockOn Ctrl F3>
  <If ActiveWinIs WoW3>
  <Else>
     <TargetWin WoW1>
        <SetWinPos 1920 0>
        <SetWinSize 800 600>
     <TargetWin WoW2>
        <SetWinPos 2720 0>
        <SetWinSize 800 600>
     <TargetWin WoW4>
          <SetWinPos 1920 600>
          <SetWinSize 800 600>
      <TargetWin WoW5>
          <SetWinPos 2720 600>
          <SetWinSize 800 600>
     <TargetWin WoW3>
        <SetWinPos 0 0>
        <SetWinSize 1280 1024>
        <SetForegroundWin>
        <UpdateWin>
<Hotkey ScrollLockOn Ctrl F4>
  <If ActiveWinIs WoW4>
  <Else>
     <TargetWin WoW1>
        <SetWinPos 1920 0>
        <SetWinSize 800 600>
     <TargetWin WoW2>
        <SetWinPos 2720 0>
        <SetWinSize 800 600>
     <TargetWin WoW3>
        <SetWinPos 1920 600>
        <SetWinSize 800 600>
     <TargetWin WoW5>
        <SetWinPos 2720 600>
        <SetWinSize 800 600>
     <TargetWin WoW4>
        <SetWinPos 0 0>
        <SetWinSize 1280 1024>
        <SetForegroundWin>
        <UpdateWin>
<Hotkey ScrollLockOn Ctrl F5>
  <If ActiveWinIs WoW5>
  <Else>
     <TargetWin WoW1>
        <SetWinPos 1920 0>
        <SetWinSize 800 600>
     <TargetWin WoW2>
        <SetWinPos 2720 0>
        <SetWinSize 800 600>
     <TargetWin WoW3>
        <SetWinPos 1920 600>
        <SetWinSize 800 600>
     <TargetWin WoW4>
        <SetWinPos 2720 600>
        <SetWinSize 800 600>
     <TargetWin WoW5>
        <SetWinPos 0 0>
        <SetWinSize 1280 1024>
        <SetForegroundWin>
        <UpdateWin>
rakkar
 
Posts: 18
Joined: Tue Dec 02, 2008 12:14 pm

Re: My 5 box elemental shaman script

Postby HotkeyNet on Mon Jan 05, 2009 12:19 pm

Very nice script. Thanks for posting it.
-- Freddie
HotkeyNet
Site Admin
 
Posts: 5684
Joined: Fri Mar 28, 2008 8:36 pm

Re: My 5 box elemental shaman script

Postby rakkar on Tue Jan 06, 2009 2:56 pm

Here's something I added yesterday. caps lock toggles between formation and follow movement mode, and also sets up the formation. I'm not sure if it's legal to send both W and Q at the same time (to move diagonally) though.

Code: Select all
//-----------------------------------------------------------
// Movement has two modes: Follow (Caps lock is off), and broadcast same key (Caps lock is on)
// When going from broadcast to follow mode, your followers will be told to follow. Setup key bindings for shift-alt-ctrl (letter) presses a key corresponding to /follow (player with that letter in their name)
// When moving in follow mode, your followers will be retold to follow any time you press a movement key: W A Q E . This is in case they stop following due to autoattack hitting a target
// When going from follow mode to broadcast, make sure your characters are all facing the same direction first or they won't stay in formation.
// Hold down caps lock when going from follow to broadcast mode to spread out (Assuming spread out is bound to different hotkeys on different wow instances).
// Do not use mouse look in broadcast mode as this won't be transmitted and your characters will run off into different directions
//-----------------------------------------------------------

//-----------------------------------------------------------
// Only move lead character when caps lock is off
// Folowers are told to follow on every press of a movement key
// Keydown
//-----------------------------------------------------------
<Hotkey ScrollLockOn CapsLockOff W, A, Q, E>
<If ActiveWinIs WoW1>
   <SendLabel w1>
      <KeyDown %TriggerMainKey%>
   <SendLabel w2, w3, w4, w5>
      <Key Shift Alt Ctrl A>
<Else If ActiveWinIs WoW2>
   <SendLabel w2>
      <KeyDown %TriggerMainKey%>
   <SendLabel w1, w3, w4, w5>
      <Key Shift Alt Ctrl E>
<Else If ActiveWinIs WoW3>
   <SendLabel w3>
      <KeyDown %TriggerMainKey%>
   <SendLabel w1, w2, w4, w5>
      <Key Shift Alt Ctrl I>
<Else If ActiveWinIs WoW4>
   <SendLabel w4>
      <KeyDown %TriggerMainKey%>
   <SendLabel w1, w2, w3, w5>
      <Key Shift Alt Ctrl O>
<Else If ActiveWinIs WoW5>
   <SendLabel w5>
      <KeyDown %TriggerMainKey%>
   <SendLabel w1, w2, w3, w4>
      <Key Shift Alt Ctrl U>

//-----------------------------------------------------------
// Keyup
//-----------------------------------------------------------
<HotkeyUp ScrollLockOn CapsLockOff W, A, Q, E>
<If ActiveWinIs WoW1>
   <SendLabel w1>
   <KeyUp %TriggerMainKey%>
<Else If ActiveWinIs WoW2>
   <SendLabel w2>
   <KeyUp %TriggerMainKey%>
<Else If ActiveWinIs WoW3>
   <SendLabel w3>
   <KeyUp %TriggerMainKey%>
<Else If ActiveWinIs WoW4>
   <SendLabel w4>
   <KeyUp %TriggerMainKey%>
<Else If ActiveWinIs WoW5>
   <SendLabel w5>
   <KeyUp %TriggerMainKey%>
      
//-----------------------------------------------------------
// Move all characters identically when caps lock is on
// Use A,D to turn, do not use mouselook
//-----------------------------------------------------------
<MovementHotkey ScrollLockOn CapsLockOn W, A, S, D, Q, E>
   <SendLabel w1,w2,w3,w4,w5>
      <Key %TriggerMainKey%>
      
//-----------------------------------------------------------
// Jump all characters identically when caps lock is on
//-----------------------------------------------------------
<Hotkey ScrollLockOn CapsLockOn Space>
   <SendLabel w1,w2,w3,w4,w5>
      <Key %TriggerMainKey%>

//-----------------------------------------------------------
// Transition from follow to formation movement by holding down capslock
// Lead characters moves back, followers spread out diagonally forward, left, and right.
// Release caps lock when lead character is in line with followers that moved left and right (about 1 second)
//-----------------------------------------------------------
<Hotkey ScrollLockOn CapsLockOff CapsLock>
   <If ActiveWinIs WoW1>
      <SendLabel w1>
         <KeyDown S>
      <SendLabel w2>
         <KeyDown W>
         <KeyDown Q>
      <SendLabel w3>
         <KeyDown W>
         <KeyDown E>
      <SendLabel w4>
         <KeyDown Q>
      <SendLabel w5>
         <KeyDown E>
   <Else If ActiveWinIs WoW2>
      <SendLabel w2>
         <KeyDown S>
      <SendLabel w1>
         <KeyDown W>
         <KeyDown Q>
      <SendLabel w3>
         <KeyDown W>
         <KeyDown E>
      <SendLabel w4>
         <KeyDown Q>
      <SendLabel w5>
         <KeyDown E>
   <Else If ActiveWinIs WoW3>
      <SendLabel w3>
         <KeyDown S>
      <SendLabel w2>
         <KeyDown W>
         <KeyDown Q>
      <SendLabel w1>
         <KeyDown W>
         <KeyDown E>
      <SendLabel w4>
         <KeyDown Q>
      <SendLabel w5>
         <KeyDown E>
   <Else If ActiveWinIs WoW4>
      <SendLabel w4>
         <KeyDown S>
      <SendLabel w2>
         <KeyDown W>
         <KeyDown Q>
      <SendLabel w3>
         <KeyDown W>
         <KeyDown E>
      <SendLabel w1>
         <KeyDown Q>
      <SendLabel w5>
         <KeyDown E>
   <Else If ActiveWinIs WoW5>
      <SendLabel w5>
         <KeyDown S>
      <SendLabel w2>
         <KeyDown W>
         <KeyDown Q>
      <SendLabel w3>
         <KeyDown W>
         <KeyDown E>
      <SendLabel w4>
         <KeyDown Q>
      <SendLabel w1>
         <KeyDown E>
   
//-----------------------------------------------------------
// Keyup, turn on caps lock too
//-----------------------------------------------------------
<HotkeyUp ScrollLockOn CapsLockOff CapsLock>
   <SendPC local>
   <SendFocusWin>
   <Key CapsLock>
   <If ActiveWinIs WoW1>
      <SendLabel w1>
         <KeyUp S>
      <SendLabel w2>
         <KeyUp W>
         <KeyUp Q>
      <SendLabel w3>
         <KeyUp W>
         <KeyUp E>
      <SendLabel w4>
         <KeyUp Q>
      <SendLabel w5>
         <KeyUp E>
   <Else If ActiveWinIs WoW2>
      <SendLabel w2>
         <KeyUp S>
      <SendLabel w1>
         <KeyUp W>
         <KeyUp Q>
      <SendLabel w3>
         <KeyUp W>
         <KeyUp E>
      <SendLabel w4>
         <KeyUp Q>
      <SendLabel w5>
         <KeyUp E>
   <Else If ActiveWinIs WoW3>
      <SendLabel w3>
         <KeyUp S>
      <SendLabel w2>
         <KeyUp W>
         <KeyUp Q>
      <SendLabel w1>
         <KeyUp W>
         <KeyUp E>
      <SendLabel w4>
         <KeyUp Q>
      <SendLabel w5>
         <KeyUp E>
   <Else If ActiveWinIs WoW4>
      <SendLabel w4>
         <KeyUp S>
      <SendLabel w2>
         <KeyUp W>
         <KeyUp Q>
      <SendLabel w3>
         <KeyUp W>
         <KeyUp E>
      <SendLabel w1>
         <KeyUp Q>
      <SendLabel w5>
         <KeyUp E>
   <Else If ActiveWinIs WoW5>
      <SendLabel w5>
         <KeyUp S>
      <SendLabel w2>
         <KeyUp W>
         <KeyUp Q>
      <SendLabel w3>
         <KeyUp W>
         <KeyUp E>
      <SendLabel w4>
         <KeyUp Q>
      <SendLabel w1>
         <KeyUp E>

//-----------------------------------------------------------
// Transition from formation to follow
// Will reverse formation movement while held down, though not really necessary
//-----------------------------------------------------------
<Hotkey ScrollLockOn CapsLockOn CapsLock>
   <If ActiveWinIs WoW>
      <SendLabel w1>
         <KeyDown W>
      <SendLabel w2>
         <KeyDown S>
         <KeyDown E>
      <SendLabel w3>
         <KeyDown S>
         <KeyDown Q>
      <SendLabel w4>
         <KeyDown E>
      <SendLabel w5>
         <KeyDown Q>
   <Else If ActiveWinIs WoW2>
      <SendLabel w2>
         <KeyDown W>
      <SendLabel w1>
         <KeyDown S>
         <KeyDown E>
      <SendLabel w3>
         <KeyDown S>
         <KeyDown Q>
      <SendLabel w4>
         <KeyDown E>
      <SendLabel w5>
         <KeyDown Q>
   <Else If ActiveWinIs WoW3>
      <SendLabel w3>
         <KeyDown W>
      <SendLabel w2>
         <KeyDown S>
         <KeyDown E>
      <SendLabel w1>
         <KeyDown S>
         <KeyDown Q>
      <SendLabel w4>
         <KeyDown E>
      <SendLabel w5>
         <KeyDown Q>
   <Else If ActiveWinIs WoW4>
      <SendLabel w4>
         <KeyDown W>
      <SendLabel w2>
         <KeyDown S>
         <KeyDown E>
      <SendLabel w3>
         <KeyDown S>
         <KeyDown Q>
      <SendLabel w1>
         <KeyDown E>
      <SendLabel w5>
         <KeyDown Q>
   <Else If ActiveWinIs WoW5>
      <SendLabel w5>
         <KeyDown W>
      <SendLabel w2>
         <KeyDown S>
         <KeyDown E>
      <SendLabel w3>
         <KeyDown S>
         <KeyDown Q>
      <SendLabel w4>
         <KeyDown E>
      <SendLabel w1>
         <KeyDown Q>
   
//-----------------------------------------------------------
// Keyup, turn off caps lock
// Follow invokes at end (shift-alt-ctrl-letter identifying character to follow)
//-----------------------------------------------------------
<HotkeyUp ScrollLockOn CapsLockOn CapsLock>
   <SendPC local>
   <SendFocusWin>
   <Key CapsLock>
   <If ActiveWinIs WoW>
      <SendLabel w1>
         <KeyUp W>
      <SendLabel w2>
         <KeyUp S>
         <KeyUp E>
      <SendLabel w3>
         <KeyUp S>
         <KeyUp Q>
      <SendLabel w4>
         <KeyUp E>
      <SendLabel w5>
         <KeyUp Q>
      <SendLabel w2, w3, w4, w5>
         <Key Shift Alt Ctrl A>
   <Else If ActiveWinIs WoW2>
      <SendLabel w2>
         <KeyUp W>
      <SendLabel w1>
         <KeyUp S>
         <KeyUp E>
      <SendLabel w3>
         <KeyUp S>
         <KeyUp Q>
      <SendLabel w4>
         <KeyUp E>
      <SendLabel w5>
         <KeyUp Q>
      <SendLabel w1, w3, w4, w5>
         <Key Shift Alt Ctrl A>
   <Else If ActiveWinIs WoW3>
      <SendLabel w3>
         <KeyUp W>
      <SendLabel w2>
         <KeyUp S>
         <KeyUp E>
      <SendLabel w1>
         <KeyUp S>
         <KeyUp Q>
      <SendLabel w4>
         <KeyUp E>
      <SendLabel w5>
         <KeyUp Q>
      <SendLabel w1, w2, w4, w5>
         <Key Shift Alt Ctrl A>
   <Else If ActiveWinIs WoW4>
      <SendLabel w4>
         <KeyUp W>
      <SendLabel w2>
         <KeyUp S>
         <KeyUp E>
      <SendLabel w3>
         <KeyUp S>
         <KeyUp Q>
      <SendLabel w1>
         <KeyUp E>
      <SendLabel w5>
         <KeyUp Q>
      <SendLabel w1, w2, w3, w5>
         <Key Shift Alt Ctrl A>
   <Else If ActiveWinIs WoW5>
      <SendLabel w5>
         <KeyUp W>
      <SendLabel w2>
         <KeyUp S>
         <KeyUp E>
      <SendLabel w3>
         <KeyUp S>
         <KeyUp Q>
      <SendLabel w4>
         <KeyUp E>
      <SendLabel w1>
         <KeyUp Q>
      <SendLabel w1, w2, w3, w4>
         <Key Shift Alt Ctrl A>
rakkar
 
Posts: 18
Joined: Tue Dec 02, 2008 12:14 pm

Re: My 5 box elemental shaman script

Postby PsyArch on Wed Jan 07, 2009 1:36 am

can you please post the macros? especially the attack one m8
PsyArch
 
Posts: 1
Joined: Wed Jan 07, 2009 1:34 am

Re: My 5 box elemental shaman script

Postby olipcs on Wed Jan 07, 2009 4:20 am

I'm not sure if it's legal to send both W and Q at the same time (to move diagonally) though.

-well this is a little bit of 'grey-area' I think, because technicaly you send two keystrokes to each wow, with only pressing one key on the keyboard, so maybe it could be aganinst the 'on user action must relate only to one game action'. But as you could normaly simply press both keys together on the keyboard (f.e. w and q) this specific keys might be ok with blizz...

..what gets my attention in regard to maybe bannable is this code:
Code: Select all
<HotkeyUp ScrollLockOn CapsLockOn CapsLock>
   <SendPC local>
   <SendFocusWin>
   <Key CapsLock>
   <If ActiveWinIs WoW>
      <SendLabel w1>
         <KeyUp W>
      <SendLabel w2>
         <KeyUp S>
         <KeyUp E>
      <SendLabel w3>
         <KeyUp S>
         <KeyUp Q>
      <SendLabel w4>
         <KeyUp E>
      <SendLabel w5>
         <KeyUp Q>
      <SendLabel w2, w3, w4, w5>
         <Key Shift Alt Ctrl A>   

as this would for example result, if WoW is the active win, in sending the following to w2:
1. KeyUp S
2. KeyUp E
3. Shift Alt Ctrl A
and I don't know if or if not this would be ok with blizz, so i would use this 'on your own risk' ;)
olipcs
 
Posts: 385
Joined: Thu Oct 23, 2008 7:57 am

Re: My 5 box elemental shaman script

Postby lord_samoht on Thu Jan 08, 2009 1:40 am

olipcs wrote:
...I don't know if or if not this would be ok with blizz...


good point! i think since that even tho it is multiple key presses, it still isnt automated. But i agree with ya, use at own risk...definitely!
Image


Image
lord_samoht
 
Posts: 3
Joined: Wed Jan 07, 2009 12:13 am

Re: My 5 box elemental shaman script

Postby dcreager on Thu Jan 08, 2009 3:50 am

For what it is worth. In my opinion this is defintely a problem. Blizzard could/would see this and would not accept it.

Their guideline is......do not do anything that could not be done with a macro/addon.........their framework goes to some lengths to control multiple actions
dcreager
 
Posts: 300
Joined: Fri Apr 04, 2008 4:56 am

Re: My 5 box elemental shaman script

Postby rakkar on Sun Jan 11, 2009 3:23 pm

olipcs wrote:
I'm not sure if it's legal to send both W and Q at the same time (to move diagonally) though.

-well this is a little bit of 'grey-area' I think, because technicaly you send two keystrokes to each wow, with only pressing one key on the keyboard, so maybe it could be aganinst the 'on user action must relate only to one game action'. But as you could normaly simply press both keys together on the keyboard (f.e. w and q) this specific keys might be ok with blizz...

..what gets my attention in regard to maybe bannable is this code:
Code: Select all
<HotkeyUp ScrollLockOn CapsLockOn CapsLock>
   <SendPC local>
   <SendFocusWin>
   <Key CapsLock>
   <If ActiveWinIs WoW>
      <SendLabel w1>
         <KeyUp W>
      <SendLabel w2>
         <KeyUp S>
         <KeyUp E>
      <SendLabel w3>
         <KeyUp S>
         <KeyUp Q>
      <SendLabel w4>
         <KeyUp E>
      <SendLabel w5>
         <KeyUp Q>
      <SendLabel w2, w3, w4, w5>
         <Key Shift Alt Ctrl A>   

as this would for example result, if WoW is the active win, in sending the following to w2:
1. KeyUp S
2. KeyUp E
3. Shift Alt Ctrl A
and I don't know if or if not this would be ok with blizz, so i would use this 'on your own risk' ;)


3 is a bug. The last line isn't supposed to be there.

I think pressing W and E, and W and Q at the same time because I was watching a video of Xazn's formations and he does the same thing and has been doing so for a long time.
rakkar
 
Posts: 18
Joined: Tue Dec 02, 2008 12:14 pm


Return to World of Warcraft

Who is online

Users browsing this forum: No registered users and 3 guests

cron