Code:
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.8.0
Author: Xiandri
1440x900 Resolution: Thakk
#ce ----------------------------------------------------------------------------
; Script Start - Add your code below here
AutoItSetOption ( "MouseCoordMode", 2 )
AutoItSetOption ( "PixelCoordMode", 2 )
HotkeySet ("{F5}", "Start")
HotkeySet ("{F6}", "Stop")
WinActive("Star Wars: The Old Republic")
ToolTip("CrewSkill Bot: Press F5 to start, F6 to stop.", 0, 0)
SendKeepActive("Star Wars: The Old Republic")
;************************************************************************************
;*** This macro will send 4 companions on the 3rd crewskill's missions! ***
;*** This will only farm Grade 3 Items! ***
;*** MUST BE RUNNING ON 1440 x 900 FULLSCREEN RESOLUTION FOR IT TO WORK ***
;*** Also make sure you run the macro as admin, or turn off UAC! ***
;************************************************************************************
Func Start ()
WinActivate ("Star Wars: The Old Republic")
$i=1
While $i<3600001
ToolTip("CrewSkill Bot: Running missions...", 0, 0)
Send('{ESCAPE}')
Sleep(250)
Send('{ESCAPE}')
Sleep(250)
Send('{ESCAPE}')
Sleep(250)
Send('{ESCAPE}')
Sleep(250)
Send('{ESCAPE}')
Sleep(250)
;anti AFK (sits down) **YOU MUST BIND YOUR 'SIT DOWN' KEY TO "," (comma) for this to work!!**
Send(",")
Sleep(250)
;open the crew skill window
Send("h")
Sleep(250)
MouseClick("Left", 1330, 15, 1)
Sleep(250)
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;accept sucessful mission rewards before sending companions out on new missions
MouseClick("Left", 1345, 645, 1)
Sleep(100)
MouseClick("Left", 1345, 655, 1)
Sleep(250)
MouseClick("Left", 1345, 665, 1)
Sleep(100)
MouseClick("Left", 1345, 675, 1)
Sleep(100)
MouseClick("Left", 1345, 685, 1)
Sleep(100)
;MouseClick("Left", 1345, 695, 1)
;Sleep(100)
;MouseClick("Left", 1345, 705, 1)
;Sleep(100)
;MouseClick("Left", 1345, 715, 1)
;Sleep(100)
;MouseClick("Left", 1345, 725, 1)
;Sleep(100)
;MouseClick("Left", 1345, 735, 1)
;Sleep(100)
;;accept failed mission rewards
;MouseClick("Left", 1345, 690, 1)
;Sleep(100)
;MouseClick("Left", 1345, 745, 1)
;Sleep(100)
;MouseClick("Left", 1345, 745, 1)
;Sleep(100)
;MouseClick("Left", 1345, 745, 1)
;Sleep(100)
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;send companions out
;1st companion, 3rd crew skill
MouseClick("Left", 230, 380, 1)
Sleep(100)
MouseClick("Right", 1200, 295, 1)
Sleep(100)
;-------
;click lower level missions if needed.......
;selects level 41-48 missions
MouseClick("Left", 1375, 225, 1)
Sleep(100)
MouseClick("Left", 1330, 315, 1);41-48
Sleep(100)
MouseClick("Right", 1200, 295, 1)
Sleep(100)
;selects level 33-40 missions
MouseClick("Left", 1375, 225, 1)
Sleep(100)
MouseClick("Left", 1330, 295, 1);33-40
Sleep(100)
MouseClick("Right", 1200, 295, 1)
Sleep(100)
;selects level 25-32 missions
MouseClick("Left", 1375, 225, 1)
Sleep(100)
MouseClick("Left", 1330, 280, 1);25-32
Sleep(100)
MouseClick("Right", 1200, 295, 1)
Sleep(100)
;------
;2nd companion, 3rd crew skill
MouseClick("Left", 230, 465, 1)
Sleep(300)
MouseClick("Right", 1200, 295, 1)
Sleep(300)
;-------
;click lower level missions if needed..
;selects level 41-48 missions
MouseClick("Left", 1375, 225, 1)
Sleep(100)
MouseClick("Left", 1330, 315, 1);41-48
Sleep(100)
MouseClick("Right", 1200, 295, 1)
Sleep(100)
;selects level 33-40 missions
MouseClick("Left", 1375, 225, 1)
Sleep(100)
MouseClick("Left", 1330, 295, 1);33-40
Sleep(100)
MouseClick("Right", 1200, 295, 1)
Sleep(100)
;selects level 25-32 missions
MouseClick("Left", 1375, 225, 1)
Sleep(100)
MouseClick("Left", 1330, 280, 1);25-32
Sleep(100)
MouseClick("Right", 1200, 295, 1)
Sleep(100)
;------
;3rd companion, 3rd crew skill
MouseClick("Left", 230, 550, 1)
Sleep(300)
MouseClick("Right", 1200, 295, 1)
Sleep(300)
;-------
;click lower level missions if needed..
;selects level 41-48 missions
MouseClick("Left", 1375, 225, 1)
Sleep(100)
MouseClick("Left", 1330, 315, 1);41-48
Sleep(100)
MouseClick("Right", 1200, 295, 1)
Sleep(100)
;selects level 33-40 missions
MouseClick("Left", 1375, 225, 1)
Sleep(100)
MouseClick("Left", 1330, 295, 1);33-40
Sleep(100)
MouseClick("Right", 1200, 295, 1)
Sleep(100)
;selects level 25-32 missions
MouseClick("Left", 1375, 225, 1)
Sleep(100)
MouseClick("Left", 1330, 280, 1);25-32
Sleep(100)
MouseClick("Right", 1200, 295, 1)
Sleep(100)
;------
;4th companion, 3rd crew skill
MouseClick("Left", 230, 635, 1)
Sleep(300)
MouseClick("Right", 1200, 295, 1)
Sleep(300)
;-------
;click lower level missions if needed..
;selects level 41-48 missions
MouseClick("Left", 1375, 225, 1)
Sleep(100)
MouseClick("Left", 1330, 315, 1);41-48
Sleep(100)
MouseClick("Right", 1200, 295, 1)
Sleep(100)
;selects level 33-40 missions
MouseClick("Left", 1375, 225, 1)
Sleep(100)
MouseClick("Left", 1330, 295, 1);33-40
Sleep(100)
MouseClick("Right", 1200, 295, 1)
Sleep(100)
;selects level 25-32 missions
MouseClick("Left", 1375, 225, 1)
Sleep(100)
MouseClick("Left", 1330, 280, 1);25-32
Sleep(100)
MouseClick("Right", 1200, 295, 1)
Sleep(100)
;------
;CHEST FARMING THING *optional*
;this part of the macro is for farming a chest while you craft items
;zoom your camera out to the max and position it so it is directly above your character (so you are looking down at the top of their head)
;this part will click directly infront of your character 8 times in a vertical line (starting from your characters head)
MouseClick("Right", 720, 270, 1)
Sleep(1500)
MouseClick("Right", 720, 290, 1)
Sleep(1500)
MouseClick("Right", 720, 310, 1)
Sleep(1500)
MouseClick("Right", 720, 330, 1)
Sleep(1500)
MouseClick("Right", 720, 350, 1)
Sleep(1500)
MouseClick("Right", 720, 370, 1)
Sleep(1500)
MouseClick("Right", 720, 390, 1)
Sleep(1500)
MouseClick("Right", 720, 410, 1)
Sleep(1500)
;wait for 30 seconds
Sleep(30000)
WEnd
EndFunc
While (1)
Sleep (1)
WEnd
Func Stop ()
Exit 0
EndFunc