Code:
Func Polith_go()
WinActivate("Star Wars™: The Old Republic™")
Polith_Main()
EndFunc
Func Polith_Main()
$x1 = 0
$y1 = 0
Sleep(1000)
Send("{SPACE 1}")
Sleep(1000)
MouseMove(518, 600) ; Stuhl
Sleep(1200)
Sleep(300)
MouseClick("right")
Sleep(300)
MouseClick("right")
Sleep(5000)
MouseMove(519, 400) ; Galaxiekarte
Sleep(500)
MouseClick("left")
MouseClick("left")
Sleep(2000)
MouseMove(615, 679) ; Cartel
Sleep(2000)
MouseClick("left")
MouseClick("left")
MouseMove(861, 674) ; Jetzt Reisen
Sleep(2000)
MouseClick("left")
MouseClick("left")
MouseMove(475, 445) ; Ja
Sleep(1000)
MouseClick("left")
Local $script_start = TimerInit()
Do
Sleep(100)
$result=_Imagesearcharea("pictures/06sec.png",1,700,1,1200,200,$x1,$y1,101) ; Starts
Local $timer_diff = TimerDiff( $script_start )
Until $result=1 Or $timer_diff > 488000
Send("{1 1}")
If GUICtrlRead($Checkbox_barrel) = $GUI_CHECKED Then AdlibRegister ("Barrel",500)
Local $script_start = TimerInit()
Do
Polith3()
Local $timer_diff = TimerDiff( $script_start )
Until $timer_diff > 22000;till 7m44
Send("{4 1}");boom@7m44
Local $script_start = TimerInit()
Do
Polith3()
Local $timer_diff = TimerDiff( $script_start )
Until $timer_diff > 8000 ;till 7m35
MouseUp("left") ;shield an 7m36
Send("{2 1}")
MouseMove(96, 446)
MouseClick("left")
Sleep(8000)
MouseMove(530, 553) ;7m27
sleep(3000)
MouseMove(835, 598);7m24 right under
sleep(2000)
MouseMove(835, 115);7m21 right above
sleep (1000)
MouseDown("left") ;shield aus 7m20
Send("{1 1}");7m20
Local $script_start = TimerInit()
Do
Polith3()
Local $timer_diff = TimerDiff( $script_start )
Until $timer_diff > 30000;6m50
Local $script_start = TimerInit()
Do
Polith4()
Local $timer_diff = TimerDiff( $script_start )
Until $timer_diff > 13000;6m37
MouseUp("left") ;shield on 6m37
Send("{2 1}")
MouseMove(96, 446) ;6m37
Sleep(7000)
MouseMove(835, 598) ;6m29 right under
Sleep(2000)
MouseMove(120, 472) ;6m27 go to left
sleep(7000)
MouseMove(835, 598);6m19 right under
sleep(8000)
MouseDown("left") ;shield aus ;6m11
Send("{1 1}")
Local $script_start = TimerInit()
Do
Polith3()
Local $timer_diff = TimerDiff( $script_start )
Until $timer_diff > 16000;5m54
Local $script_start = TimerInit()
Do
Polith5()
Local $timer_diff = TimerDiff( $script_start )
Until $timer_diff > 20000;5m35
MouseUp("left") ;5m35 shield an
Send("{2 1}")
MouseMove(835, 598) ;5m34
sleep(3000)
MouseMove(120, 472) ;5m31 go to left
sleep(2000)
MouseMove(835, 598) ;5m30
sleep(10000)
MouseMove(587, 195) ;5m18 go up
sleep(2000)
MouseMove(120, 472) ;5m15 go to left
sleep(4000)
MouseMove(835, 598);5m11 right under
sleep(2000)
MouseDown("left") ;shield aus ;5m08
Send("{1 1}")
Local $script_start = TimerInit()
Do
Polith3()
Local $timer_diff = TimerDiff( $script_start )
Until $timer_diff > 72000;3m55
Local $script_start = TimerInit()
Do
Polith5()
Local $timer_diff = TimerDiff( $script_start )
Until $timer_diff > 22000;3m34
MouseUp("left") ;shield an 3m34
Send("{2 1}")
MouseMove(835, 598);3m34 right under
Sleep(11000)
MouseMove(120, 178) ;3m22 go to left up
sleep(6000)
MouseMove(835, 598);3m16 right under
sleep(4000)
MouseMove(835, 183) ;3m12 go up
sleep(2200)
MouseMove(450, 361) ;3m09 go middle
sleep(2800)
MouseDown("left") ;shield aus 3m06
Send("{1 1}")
Local $script_start = TimerInit()
Do
Polith3()
Local $timer_diff = TimerDiff( $script_start )
Until $timer_diff > 90000;1m36
MouseUp("left") ;shield an 1m36
Send("{2 1}")
MouseMove(120, 178) ;1m36 go to left up
Sleep(20000)
Send("{4 1}");boom
MouseDown("left") ;start shooting 1m15/1m14
Send("{1 1}")
Local $script_start = TimerInit()
Do
Polith8()
Local $timer_diff = TimerDiff( $script_start )
Until $timer_diff > 10000
Send("{3 1}");1m04/05 ewp
MouseMove(426,389)
MouseClick("right")
Local $script_start = TimerInit()
Do
Polith8()
Local $timer_diff = TimerDiff( $script_start )
Until $timer_diff > 8000;0m56
Local $script_start = TimerInit()
Do
Polith4()
Local $timer_diff = TimerDiff( $script_start )
Until $timer_diff > 18000;0m38
Local $script_start = TimerInit()
Do
Polith9()
Local $timer_diff = TimerDiff( $script_start )
Until $timer_diff > 10000;0m28
Local $script_start = TimerInit()
Do
Polith4()
Local $timer_diff = TimerDiff( $script_start )
Until $timer_diff > 11000;0m17
Local $script_start = TimerInit()
Do
Polith10()
Local $timer_diff = TimerDiff( $script_start )
Until $timer_diff > 6000;0m11
MouseUp("left") ;shield an 0m12/11
Send("{2 1}")
MouseMove(966, 653)
MouseClick("left")
Sleep(11000)
AdlibUnRegister("Scam")
If GUICtrlRead($Checkbox_barrel) = $GUI_CHECKED Then AdlibUnRegister("Barrel")
MouseUp("left")
Sleep(1000)
space_ende()
EndFunc
Func Polith3()
;variablen===============================================
$rot1 = PixelSearch(14, 55, 1024, 785, 0x544545, 10);mines
$rot2 = PixelSearch(14, 55, 1024, 785, 0xB5FFFF, 10);ships
;Variablen================================================
If IsArray($rot1) = True Then
MouseMove($rot1 [0], $rot1 [1], 1)
MouseDown("left")
EndIf
If IsArray($rot2) = True Then
MouseMove($rot2 [0], $rot2 [1], 1)
MouseDown("left")
EndIf
EndFunc
Func Polith4()
;variablen===============================================
$rot1 = PixelSearch(14, 55, 1024, 785, 0xB5FFFF, 10);ships
;Variablen================================================
If IsArray($rot1) = True Then
MouseMove($rot1 [0], $rot1 [1], 1)
MouseDown("left")
EndIf
EndFunc
Func Polith5()
;variablen===============================================
$rot1 = PixelSearch(14, 55, 1024, 785, 0xB5FFFF, 10);ships
;$yellow = PixelSearch(264, 31, 770, 795, 0xFDFF89, 4);yellow ship
$yellow = PixelSearch(14, 55, 1024, 795, 0xFDFF89, 4);yellow ship
;Variablen================================================
If IsArray($rot1) = True Then
MouseMove($rot1 [0], $rot1 [1], 1)
MouseDown("left")
EndIf
If IsArray($yellow) = True Then
MouseMove($yellow [0], $yellow [1], 1)
MouseClick("right")
EndIf
EndFunc
Func Polith8()
;variablen===============================================
$gelb1 = PixelSearch(14, 277, 525, 795, 0xB29F1E, 10)
$gelb2 = PixelSearch(14, 277, 525, 795, 0x896400, 10)
$gelb3 = PixelSearch(14, 277, 525, 795, 0xFDC625, 10)
;Variablen================================================
If IsArray($gelb1) = True Then
MouseMove($gelb1 [0], $gelb1 [1], 1)
MouseClick("right")
EndIf
If IsArray($gelb2) = True Then
MouseMove($gelb2 [0], $gelb2 [1], 1)
MouseClick("right")
EndIf
If IsArray($gelb3) = True Then
MouseMove($gelb3 [0], $gelb3 [1], 1)
MouseClick("right")
EndIf
EndFunc
Func Polith9()
;variablen===============================================
$gelb1 = PixelSearch(14, 55, 1024, 795, 0xB29F1E, 10)
$gelb2 = PixelSearch(14, 55, 1024, 795, 0x896400, 10)
$gelb3 = PixelSearch(14, 55, 1024, 795, 0xFDC625, 10)
;Variablen================================================
If IsArray($gelb1) = True Then
MouseMove($gelb1 [0], $gelb1 [1], 1)
MouseClick("right")
EndIf
If IsArray($gelb2) = True Then
MouseMove($gelb2 [0], $gelb2 [1], 1)
MouseClick("right")
EndIf
If IsArray($gelb3) = True Then
MouseMove($gelb3 [0], $gelb3 [1], 1)
MouseClick("right")
EndIf
EndFunc
Func Polith10()
;variablen===============================================
$gelb1 = PixelSearch(582, 49, 1024, 328, 0xB29F1E, 10)
$gelb2 = PixelSearch(582, 49, 1024, 328, 0x896400, 10)
$gelb3 = PixelSearch(582, 49, 1024, 328, 0xFDC625, 10)
;Variablen================================================
If IsArray($gelb1) = True Then
MouseMove($gelb1 [0], $gelb1 [1], 1)
MouseClick("right")
EndIf
If IsArray($gelb2) = True Then
MouseMove($gelb2 [0], $gelb2 [1], 1)
MouseClick("right")
EndIf
If IsArray($gelb3) = True Then
MouseMove($gelb3 [0], $gelb3 [1], 1)
MouseClick("right")
EndIf
EndFunc