Code:
; Max affection BH Mako
; Author: Thebluefish
; Modifications: Feldeath
; Original Thread: http://www.ownedcore.com/forums/star-wars-old-republic/swtor-exploits/338183-bounty-hunter-mako-maximum-companian-points.html
WinGet, torid, List, Star Wars: The Old Republic
#ifWinActive, Star Wars: The Old Republic ;; work only if SWTOR is the active window
sleep 500
; Setup X and Y coordinates
PosX := 1275
PosY := 700
; Setup variables, lengthen them so we can fit large numbers
numtimes := 0
numaffection := 0
InputBox, CurrAffection, Current affection, Type your current affection with Mako, NoHide, 375, 190
numaffection := CurrAffection
; Setup the GUI to track our current data
Gui +LastFound +AlwaysOnTop +ToolWindow
Gui, Color, 000000
Gui, Font, s20 cWhite, Verdana
Gui, Add, Text, x10 y10 vNumTimes Center, Times : %numtimes%
Gui, Add, Text, x10 y40 vNumAffection Center, Affection : %numaffection%
Gui, Show, x75 y400 NoActivate
;Setup our main Loop
Loop
{
sleep 1000 ;; sleep 1 seconds to tab out.
;click bonfire
DllCall("SetCursorPos", int, PosX, int, PosY)
Sleep 500
PostMessage, 0x204, 0x1, ((PosY<<16)^PosX), , Star Wars: The Old Republic
PostMessage, 0x205, 0x0, ((PosY<<16)^PosX), , Star Wars: The Old Republic
;click right
send {RButton down} ;; Right clicks
sleep 50
send {RButton up}
;wait for convo to begin, skip scenes, click first option
Sleep 1000
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 500
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 500
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 500
ControlSend, , 1, Star Wars: The Old Republic
Sleep 500
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 500
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 500
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 500
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 500
Sleep 1000
; At the end of each loop, update our counter to show the new data
Gosub, UpdateOSD
} Until numaffection > 10000
return
UpdateOSD:
numtimes += 1
numaffection += 40
GuiControl,, NumTimes, Times %numtimes%
GuiControl,, NumAffection, Affection: %numaffection%
return