Simple crew skill autoit bot

01/01/2012 17:05 GerorgeG#1
It tries to automate your harvesting skills

What it does

- Click to open the skills window
- Choose a skill
- Choose a mission
- Click the "Send Companion" button
- Press ESC to close all windows
- Wait for 3 minutes and start again

What YOU MUST to do to use it

- You need to change the coordinates of the mouse clicks (depending on your resolution and the skill you want to click)
- You can do it with the Autoit Window Info program that comes with Autoit3 (don't ask me how to use it, google it)

Code:
; Simple SWTOR crew skill bot by barthen
; This works for my resolution (1024x768)
; You WILL have to change the coordinates for different resolutions
; You MAY have to run the script as Administrator

While True
If WinActive("Star Wars: The Old Republic", "" ) Then
   
; Open Skills Window
RandomDelay(2000,1000)
MouseClick("left",49,709)

; Choose skill
RandomDelay(2000,1000)
MouseClick("left",35, 256)

; Choose first mission
RandomDelay(2000,1000)
MouseClick("left",810, 242)

; Send companion
RandomDelay(2000,1000)
MouseClick("left",920, 589)

; Send ESC to close all windows
RandomDelay(2000,1000)
Send("{ESC}")

Sleep("185000")

Else
WinActivate("Star Wars: The Old Republic", "")
EndIf
WEnd



Func RandomDelay($base,$range)
   Sleep($base + Random (1,$Range,1))
EndFunc
01/05/2012 01:57 Clane87#2
Anyone test it ?
01/05/2012 08:48 Nuuklear#3
Yes, I've tested it.

But my pockets were full so fast that I've edited the script a little.

1. You need 1920x1080
2. Must you find yourself in your Ship
3. You have to stand directly in front of your locker
4. You need a second bag in your locker
5. You need at least 3 crew members

The script sends out three crew members in order to do the second job (middle) - Then It takes the rewards and puts it into the locker

I have the script just a little for me adjusted, no support :p


Code:
While True
If WinActive("Star Wars: The Old Republic", "" ) Then

; Take Loot 1
RandomDelay(500,250)
MouseClick("left",327, 780)
RandomDelay(500,250)
MouseClick("left",327, 790)
RandomDelay(500,250)
MouseClick("left",327, 800)
RandomDelay(500,250)
MouseClick("left",327, 810)
RandomDelay(500,250)
MouseClick("left",327, 820)

; Take Loot 2
RandomDelay(500,250)
MouseClick("left",327, 780)
RandomDelay(500,250)
MouseClick("left",327, 790)
RandomDelay(500,250)
MouseClick("left",327, 800)
RandomDelay(500,250)
MouseClick("left",327, 810)
RandomDelay(500,250)
MouseClick("left",327, 820)

; Take Loot 3
RandomDelay(500,250)
MouseClick("left",327, 780)
RandomDelay(500,250)
MouseClick("left",327, 790)
RandomDelay(500,250)
MouseClick("left",327, 800)
RandomDelay(500,250)
MouseClick("left",327, 810)
RandomDelay(500,250)
MouseClick("left",327, 820)

; Open Skills Window
RandomDelay(500,250)
MouseClick("left",1073,15)

; Choose skill
RandomDelay(500,250)
MouseClick("left",223, 461)

; Choose first mission
RandomDelay(500,250)
MouseClick("left",1570, 361)

; Send companion
RandomDelay(500,250)
MouseClick("left",1755, 862)

; Choose skill 2
RandomDelay(500,250)
MouseClick("left",223, 561)

; Choose first mission 2
RandomDelay(500,250)
MouseClick("left",1570, 361)

; Send companion 2
RandomDelay(500,250)
MouseClick("left",1755, 862)

; Choose skill 3
RandomDelay(500,250)
MouseClick("left",223, 660)

; Choose first mission 3
RandomDelay(500,250)
MouseClick("left",1570, 361)

; Send companion 3
RandomDelay(500,250)
MouseClick("left",1755, 862)

; Send ESC to close all windows
RandomDelay(500,250)
Send("{ESC}")

; Open Bank
RandomDelay(500,250)
MouseClick("right",976, 404)

; Switch to Ramp 2
RandomDelay(2000,1000)
MouseClick("left",1428, 804)

; Put Items in Line 1
RandomDelay(500,250)
MouseClick("right",76, 349)
RandomDelay(500,250)
MouseClick("right",128, 349)
RandomDelay(500,250)
MouseClick("right",183, 349)
RandomDelay(500,250)
MouseClick("right",238, 349)
RandomDelay(500,250)
MouseClick("right",293, 349)
RandomDelay(500,250)
MouseClick("right",348, 349)
RandomDelay(500,250)
MouseClick("right",405, 349)
RandomDelay(500,250)
MouseClick("right",458, 349)
RandomDelay(500,250)
MouseClick("right",513, 349)
RandomDelay(500,250)
MouseClick("right",568, 349)

; Send ESC to close all windows
RandomDelay(500,250)
Send("{ESC}")

Sleep("285000")


Else
WinActivate("Star Wars: The Old Republic", "")
EndIf
WEnd



Func RandomDelay($base,$range)
   Sleep($base + Random (1,$Range,1))
EndFunc

Hope its ok to edit your script a little?!? PM me if you dont like it. :rolleyes:

The best way to automize youre crewskills in swtor is downloading autoit and play a little bit with it, its easy as hell and you can make some nice stuff in no time.
01/09/2012 13:19 mza325#4
is this safe?
01/09/2012 13:26 dagster#5
Quote:
Originally Posted by mza325 View Post
is this safe?
Stupid? Its Open Source, if you dont understand this Source your'e not worth enough to use it.
01/10/2012 06:07 cmlkirk89#6
Quote:
Originally Posted by börning_crusades View Post
Yes, I've tested it.

But my pockets were full so fast that I've edited the script a little.

1. You need 1920x1080
2. Must you find yourself in your Ship
3. You have to stand directly in front of your locker
4. You need a second bag in your locker
5. You need at least 3 crew members

The script sends out three crew members in order to do the second job (middle) - Then It takes the rewards and puts it into the locker

I have the script just a little for me adjusted, no support :p


Code:
While True
If WinActive("Star Wars: The Old Republic", "" ) Then

; Take Loot 1
RandomDelay(500,250)
MouseClick("left",327, 780)
RandomDelay(500,250)
MouseClick("left",327, 790)
RandomDelay(500,250)
MouseClick("left",327, 800)
RandomDelay(500,250)
MouseClick("left",327, 810)
RandomDelay(500,250)
MouseClick("left",327, 820)

; Take Loot 2
RandomDelay(500,250)
MouseClick("left",327, 780)
RandomDelay(500,250)
MouseClick("left",327, 790)
RandomDelay(500,250)
MouseClick("left",327, 800)
RandomDelay(500,250)
MouseClick("left",327, 810)
RandomDelay(500,250)
MouseClick("left",327, 820)

; Take Loot 3
RandomDelay(500,250)
MouseClick("left",327, 780)
RandomDelay(500,250)
MouseClick("left",327, 790)
RandomDelay(500,250)
MouseClick("left",327, 800)
RandomDelay(500,250)
MouseClick("left",327, 810)
RandomDelay(500,250)
MouseClick("left",327, 820)

; Open Skills Window
RandomDelay(500,250)
MouseClick("left",1073,15)

; Choose skill
RandomDelay(500,250)
MouseClick("left",223, 461)

; Choose first mission
RandomDelay(500,250)
MouseClick("left",1570, 361)

; Send companion
RandomDelay(500,250)
MouseClick("left",1755, 862)

; Choose skill 2
RandomDelay(500,250)
MouseClick("left",223, 561)

; Choose first mission 2
RandomDelay(500,250)
MouseClick("left",1570, 361)

; Send companion 2
RandomDelay(500,250)
MouseClick("left",1755, 862)

; Choose skill 3
RandomDelay(500,250)
MouseClick("left",223, 660)

; Choose first mission 3
RandomDelay(500,250)
MouseClick("left",1570, 361)

; Send companion 3
RandomDelay(500,250)
MouseClick("left",1755, 862)

; Send ESC to close all windows
RandomDelay(500,250)
Send("{ESC}")

; Open Bank
RandomDelay(500,250)
MouseClick("right",976, 404)

; Switch to Ramp 2
RandomDelay(2000,1000)
MouseClick("left",1428, 804)

; Put Items in Line 1
RandomDelay(500,250)
MouseClick("right",76, 349)
RandomDelay(500,250)
MouseClick("right",128, 349)
RandomDelay(500,250)
MouseClick("right",183, 349)
RandomDelay(500,250)
MouseClick("right",238, 349)
RandomDelay(500,250)
MouseClick("right",293, 349)
RandomDelay(500,250)
MouseClick("right",348, 349)
RandomDelay(500,250)
MouseClick("right",405, 349)
RandomDelay(500,250)
MouseClick("right",458, 349)
RandomDelay(500,250)
MouseClick("right",513, 349)
RandomDelay(500,250)
MouseClick("right",568, 349)

; Send ESC to close all windows
RandomDelay(500,250)
Send("{ESC}")

Sleep("285000")


Else
WinActivate("Star Wars: The Old Republic", "")
EndIf
WEnd



Func RandomDelay($base,$range)
   Sleep($base + Random (1,$Range,1))
EndFunc

Hope its ok to edit your script a little?!? PM me if you dont like it. :rolleyes:

The best way to automize youre crewskills in swtor is downloading autoit and play a little bit with it, its easy as hell and you can make some nice stuff in no time.


I used this script exactly, only altered the mouse coordinates, however I'm having 1 small issue with it. I start up my script and throw SWTOR into fullscreen and nothing happens. When i click out of SW's onto my desktop background the script starts running... need some help
01/10/2012 21:09 PVPrussian#7
Quote:
Originally Posted by cmlkirk89 View Post
I used this script exactly, only altered the mouse coordinates, however I'm having 1 small issue with it. I start up my script and throw SWTOR into fullscreen and nothing happens. When i click out of SW's onto my desktop background the script starts running... need some help
Decompile the script into EXE, right click and run as admin
01/10/2012 22:53 cmlkirk89#8
Thanks I'll try that right now, just got back home from work. However, when i right click it i dont have a de-compile option, i have a compile option so im not sure how to do that. I tried the "save as" option and just added .exe would that work?

Fixed it! thanks for the help and all great threads!!! this is gunna be great tonight!
08/03/2013 10:05 rangeflamer#9
Hey I have no idea what I am doing with these script thingy's lol I have never used one but I just want to simply learn how to run this script so that when i'm at work I can just have it run for me. Sorry for the lack of knowledge :P
10/01/2013 23:48 sertaq#10
Quote:
Originally Posted by börning_crusades View Post
Yes, I've tested it.

But my pockets were full so fast that I've edited the script a little.

1. You need 1920x1080
2. Must you find yourself in your Ship
3. You have to stand directly in front of your locker
4. You need a second bag in your locker
5. You need at least 3 crew members

The script sends out three crew members in order to do the second job (middle) - Then It takes the rewards and puts it into the locker

I have the script just a little for me adjusted, no support :p


Code:
While True
If WinActive("Star Wars: The Old Republic", "" ) Then

; Take Loot 1
RandomDelay(500,250)
MouseClick("left",327, 780)
RandomDelay(500,250)
MouseClick("left",327, 790)
RandomDelay(500,250)
MouseClick("left",327, 800)
RandomDelay(500,250)
MouseClick("left",327, 810)
RandomDelay(500,250)
MouseClick("left",327, 820)

; Take Loot 2
RandomDelay(500,250)
MouseClick("left",327, 780)
RandomDelay(500,250)
MouseClick("left",327, 790)
RandomDelay(500,250)
MouseClick("left",327, 800)
RandomDelay(500,250)
MouseClick("left",327, 810)
RandomDelay(500,250)
MouseClick("left",327, 820)

; Take Loot 3
RandomDelay(500,250)
MouseClick("left",327, 780)
RandomDelay(500,250)
MouseClick("left",327, 790)
RandomDelay(500,250)
MouseClick("left",327, 800)
RandomDelay(500,250)
MouseClick("left",327, 810)
RandomDelay(500,250)
MouseClick("left",327, 820)

; Open Skills Window
RandomDelay(500,250)
MouseClick("left",1073,15)

; Choose skill
RandomDelay(500,250)
MouseClick("left",223, 461)

; Choose first mission
RandomDelay(500,250)
MouseClick("left",1570, 361)

; Send companion
RandomDelay(500,250)
MouseClick("left",1755, 862)

; Choose skill 2
RandomDelay(500,250)
MouseClick("left",223, 561)

; Choose first mission 2
RandomDelay(500,250)
MouseClick("left",1570, 361)

; Send companion 2
RandomDelay(500,250)
MouseClick("left",1755, 862)

; Choose skill 3
RandomDelay(500,250)
MouseClick("left",223, 660)

; Choose first mission 3
RandomDelay(500,250)
MouseClick("left",1570, 361)

; Send companion 3
RandomDelay(500,250)
MouseClick("left",1755, 862)

; Send ESC to close all windows
RandomDelay(500,250)
Send("{ESC}")

; Open Bank
RandomDelay(500,250)
MouseClick("right",976, 404)

; Switch to Ramp 2
RandomDelay(2000,1000)
MouseClick("left",1428, 804)

; Put Items in Line 1
RandomDelay(500,250)
MouseClick("right",76, 349)
RandomDelay(500,250)
MouseClick("right",128, 349)
RandomDelay(500,250)
MouseClick("right",183, 349)
RandomDelay(500,250)
MouseClick("right",238, 349)
RandomDelay(500,250)
MouseClick("right",293, 349)
RandomDelay(500,250)
MouseClick("right",348, 349)
RandomDelay(500,250)
MouseClick("right",405, 349)
RandomDelay(500,250)
MouseClick("right",458, 349)
RandomDelay(500,250)
MouseClick("right",513, 349)
RandomDelay(500,250)
MouseClick("right",568, 349)

; Send ESC to close all windows
RandomDelay(500,250)
Send("{ESC}")

Sleep("285000")


Else
WinActivate("Star Wars: The Old Republic", "")
EndIf
WEnd



Func RandomDelay($base,$range)
   Sleep($base + Random (1,$Range,1))
EndFunc

Hope its ok to edit your script a little?!? PM me if you dont like it. :rolleyes:

The best way to automize youre crewskills in swtor is downloading autoit and play a little bit with it, its easy as hell and you can make some nice stuff in no time.
How would you go about making it for 2 companions?
10/06/2013 16:30 ActiOnstarts#11
Worked . Good job
10/06/2013 17:10 sertaq#12
Care to share what you did?
11/09/2013 06:34 sertaq#13
Could anyone please xplain how to make this works.