; Infinite Dark/Light side points
; Original Thread:
http://www.ownedcore.com/forums/star...-empire-2.html
; Original Script Author: Spawnz
; Author: Thebluefish
; Changes:
; - Timed script so that it now takes less time for each cycle
; - Added a new GUI to track it
; - Changed Spacebar() command to ControlSend
; - Changed key commands and mouse commands
; - Now runs without the game as the active window
#ifWinActive Star Wars: The Old Republic
sleep 5000
; Setup X and Y coordinates
PosX := 785
PosY := 435
; Setup variables, lengthen them so we can fit large numbers
numtimes := 00000000
numpoints := 00000000
numaffection := 00000000
; 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, Add, Text, x10 y70 vNumPoints Center, Points: %numpoints%
Gui, Show, x400 y0 NoActivate
;Setup our main Loop
Loop
{
;remove any popups
ControlSend, , {Esc}, Star Wars: The Old Republic
Sleep 200
ControlSend, , {Esc}, Star Wars: The Old Republic
Sleep 200
;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
;ControlClick, X785 Y435, Star Wars: The Old Republic, ,RIGHT, 1, Pos
;wait for convo to begin, skip scenes, click first option
Sleep 5000
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , 3, Star Wars: The Old Republic
;repeat cycle
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , 3, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , 3, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , 2, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , 3, Star Wars: The Old Republic
;skip final talking
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
Sleep 120
ControlSend, , {Space}, Star Wars: The Old Republic
; At the end of each loop, update our counter to show the new data
Gosub, UpdateOSD
}
return
UpdateOSD:
numtimes += 1
numpoints += 50
numaffection += 15
GuiControl,, NumTimes, Times %numtimes%
GuiControl,, NumAffection, Affection: %numpoints%
GuiControl,, NumPoints, Points: %numaffection%
return