Rotation AHK menu

User Tag List

Thread: Rotation AHK

Results 1 to 3 of 3
  1. #1
    Crossingx's Avatar Private
    Reputation
    1
    Join Date
    Jan 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Rotation AHK

    This is a rotation ahk i made it's a little slow because of all the image checks i give yall what i got in the hopes someone less lazy then I will take it and run with it
    Code:
      #MaxThreadsPerHotkey 1
    #SingleInstance force
    #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
    SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
    WinGet, wowid, List, Star Wars: The Old Republic
    l1=1
    CoordMode Pixel 
    
    path=Sotr Moves2\
    ; All images can be retrieved from http://www.torhead.com/ simply highlight picture of move view selection source and get the .jpg after that you can edit it
    ; example http://tor.zamimg.com/torhead/images/icons/backgrounds/swtor/large/auraofvalor.jpg
    ; Use thos images in the macro below only image you can't get there is the energy one and you can do that with the clipping tool or just do a pixel check
    ~1::
    {
    l1=1
    return
    }
    ~2:: ; 2 starts it 1 stops it
    {
    
    if l1=1
    l1=0
     Loop
    {
    a1= n ;Ability to be passed
    e1= 0 ; This is used in the energy check i don't like to go below 3 bars for jed or go to high/low on energy based classes
    p1= 0 ; Priority option i haven't got to this yet
    r1= 0 ; Range test basically is tested on my auto attack if i can slash then they are in mele range how simple is that
    	ImageSearch, FoundX, FoundY, 730,900,790,950, *100 %path%\zenergy.bmp
      If errorlevel != 0
    {} else If errorlevel != 1{}
    	 else 
    	 {
    	 e1= 7
    	 }
    	ImageSearch, FoundX, FoundY, 633,935,695,1005, *150 %path%\assault.bmp
       If errorlevel != 0
    {} else If errorlevel != 1{}
    	 else
    	 {
    	a1= {F1}
    	r1= 1
    	
         }
    	ImageSearch, FoundX, FoundY, 1177,935,1235,1005, *100 %path%\traumaticslash.bmp
       If errorlevel != 0
    {} else If errorlevel != 1{}
       else if e1=  7 
       {
    	a1= -
    	
      }		
      	ImageSearch, FoundX, FoundY, 684,935,755,1005, *100 %path%\slash.bmp
       If errorlevel != 0
    {} else If errorlevel != 1{}
    	 else if e1=  7 
    	 {
    	a1= 2
    	
    	} 
    	ImageSearch, FoundX, FoundY, 741,935,800,1005, *50 %path%\forcecharge.bmp
       If errorlevel != 0
    {} else If errorlevel != 1{}
    	 else 
    	{
    		a1= 3
    		
    	}
    	ImageSearch, FoundX, FoundY, 960,935,1018,1005, *100 %path%\batteringassault.bmp
       If errorlevel != 0
    {} else If errorlevel != 1{}
    	 else 
    	 {
    	a1= 7
    
         }
    
    	ImageSearch, FoundX, FoundY, 1060,935,1125,1005, *100 %path%\rupture.bmp
       If errorlevel != 0
    {} else If errorlevel != 1{}
       else if e1=  7 
       {
       a1= 9
    
       }
       	ImageSearch, FoundX, FoundY, 900,935,965,1005, *100 %path%\forcestream.bmp
       If errorlevel != 0
    {} else If errorlevel != 1{}
    else if e1=  7 
       {
    	a1= 6
    
       }
    	ImageSearch, FoundX, FoundY, 800,935,860,1005, *50 %path%\smash.bmp
       If errorlevel != 0
    {} else If errorlevel != 1{}
       else if (e1=  7) && (r1= 1)
       {
       a1= 4
    
       }
    	ImageSearch, FoundX, FoundY, 1220,935,1295,1005, *100 %path%\cloakofpain.bmp
        If errorlevel != 0
    {} else If errorlevel != 1{}
    else if e1=  7 
    	{
         a1= =
    	}
    
    	ImageSearch, FoundX, FoundY, 1012,935,1066,1005, *100 %path%\berserk.bmp
       If errorlevel != 0
    {} else If errorlevel != 1{}
       else 
       {
       a1= 8
       }
      	
    	if l1 = 1 ;stops it before taking a action
    break
    	
    	if a1!= n ; if a1 changed then i got a move up and ready to go if not then just start the check over
         {
    	 	ControlSend,, %a1%, ahk_id %wowid1% ;judgment
    	sleep 10
    	} 
    	
    	 }
    	 
    sleep 50
    return
    }

    Rotation AHK
  2. #2
    Kilise's Avatar Member
    Reputation
    2
    Join Date
    Nov 2008
    Posts
    61
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could you make one of these for my Shadow class? 2 buttons, one consisting of Spinning Strike, Slow time, Double Strike, Saber Strike? and the other with Spinning Strike, Project, Slow time, Saber Strike? I'd appreciate it, if I see one made I can mess around with it later, I'm not sure what to edit in yours to change it for my class.

  3. #3
    sinibyte's Avatar Private
    Reputation
    1
    Join Date
    Mar 2012
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Put all images and cooresponding keypresses into an array, then run your loop once using the array in a for loop.

Similar Threads

  1. Creating Image-Based AHK rotations/macros
    By Saigne in forum SWTOR Bots and Programs
    Replies: 2
    Last Post: 09-06-2018, 06:02 PM
  2. [script]AHK combat rotation warrior
    By proteu in forum WoW Bot Maps And Profiles
    Replies: 0
    Last Post: 11-04-2014, 10:18 AM
  3. [PvE] 1 Button 939 Protection Paladin Rotation with AHK
    By Bonkler in forum World of Warcraft Guides
    Replies: 5
    Last Post: 04-20-2011, 09:40 PM
  4. [AutoIT3] WoW Cordinator (X,Y,MapID and rotation memory reading)
    By Vladinator in forum World of Warcraft Bots and Programs
    Replies: 22
    Last Post: 05-15-2007, 03:26 AM
  5. Steady shot rotation = faster ranging
    By Salad in forum World of Warcraft Exploits
    Replies: 8
    Last Post: 04-08-2007, 08:04 PM
All times are GMT -5. The time now is 12:35 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search