I'm having trouble with it logging me out as well. I tried making it the aero theme and turning off try bonus missions (don't know why that would affect it though). Man I honestly don't know what the problem is, it only logs me off like half of the time or when it feels like it. Then when I'm on the character selection screen, the mouse is like a millimeter away from clicking the Play button. If I could just get it to do that I'd be set. Don't care how many times I get blown up, I can deal with that after I fix this.
It's that Page 1/2 Character selection bar that's in the way and throwing the cursor off just enough so it's not clicking anything. Must obtain a solution! I'd appreciate anyone's help.
So does that fix the issue with the play button misclick? Is there a way to calibrate the cursor so it moves down a little or something? It seems to me that no matter what you're gonna get logged off cuz that happens to my friend all the time but it still clicks play for him and we have the same spacebot version. I'm confused as hell why it works for him and everyone else but not for me.
Okay I found this string of code in the Luckys_Spacebot.au3 file that might have something to do with it. I did a search for "gplay" which is the play button. I just have no clue what i need to change to make the cursor click the play button. It's literally right above it, infact, here's a screenshot of exactly where it is
Here's the code from Luckys_Spacebot.au3
Maybe it's one of the mouse moves idk. I tried changing the top one from 780 to 680, didn't do anything but that's all I've tried. If anyone knows more about how this coding works I would greatly appreciate your help!PHP Code:
$result5=_Imagesearcharea("pictures/ok.png",1,358,256,705,571,$x5,$y5,$img_tolerance - 80)
If $result5=1 Then reconnect()
$result6=_Imagesearcharea("pictures/gplay.png",1,927,604,1053,800,$x5,$y5,$img_tolerance)
$result7=_Imagesearcharea("pictures/gplay2.png",1,927,604,1053,800,$x5,$y5,$img_tolerance)
If $result6=1 Or $result7=1 Then reconnect2()
Do
MouseMove (780, 149, 2)
$result2=_Imagesearcharea("pictures/Annehmen.png",1,10,30,1030,795,$x2,$y2,$img_tolerance)
$result22=_Imagesearcharea("pictures/Accept.png",1,10,30,1030,795,$x2,$y2,$img_tolerance)
$result23=_Imagesearcharea("pictures/Accept_Grey.png",1,783,380,905,616,$x2,$y2,$img_tolerance -70)
If $result2=1 Or $result22=1 Or $result23=1 Then
MouseMove($x2,$y2)
Mouseclick("Left")
EventDelay(900)
MouseMove (980, 39, 5)
Mouseclick("left")
EndIf
$result18=_Imagesearcharea("pictures/Annehmen.png",1,10,30,1030,795,$x18,$y18,$img_tolerance)
$result19=_Imagesearcharea("pictures/Accept.png",1,10,30,1030,795,$x18,$y18,$img_tolerance)
$result20=_Imagesearcharea("pictures/Accept_Grey.png",1,783,380,905,616,$x18,$y18,$img_tolerance -70)
Until $result18=0 And $result19=0 And $result20=0
$result3=_Imagesearcharea("pictures/Verwaltung.png",1,27,230,136,259,$x3,$y3,$img_tolerance + 20) ; check for crew managment window
$result33=_Imagesearcharea("pictures/Verwaltung2.png",1,9,184,214,263,$x3,$y3,$img_tolerance + 20)
$result34=_Imagesearcharea("pictures/Verwaltung3.png",1,9,184,214,263,$x3,$y3,$img_tolerance + 20)
If $result3=1 Or $result33=1 Or $result34=1 Then
Return
Else
Do
MouseMove (780, 149, 2)
$result17=_Imagesearcharea("pictures/Abbrechen.png",1,10,30,1030,795,$x17,$y17,$img_tolerance)
If $result17=1 Then
MouseMove($x17,$y17)
Mouseclick("Left")
EndIf
MouseMove (780, 149, 2)
EventDelay(500)
$result16=_Imagesearcharea("pictures/Abbrechen.png",1,10,30,1030,795,$x16,$y16,$img_tolerance)
Until $result16=0
Send("{n}")
EventDelay(1000)
EndIf
At a glace I'd say that on:
$result6=_Imagesearcharea("pictures/gplay.png",1,927,604,1053,800,$x5,$y5,$img_tolerance)
$result7=_Imagesearcharea("pictures/gplay2.png",1,927,604,1053,800,$x5,$y5,$img_tolerance)
Needs to have the 604 changed to about 650 to make the bot search the correct area.
Can't see there any place that it says to click the play button so i assume its within those lines (unless its somewhere else)
hi there,
is there a way to adapt pictures for french client or should i download the english one![]()
martin1604 I guess that you should take screenshots and crop images yourself
I'm not root of myself
My mistake, it's this string right here:
Idk if that's JUST for the schedule function (because that works for me when I use it to log on) or if this is the one that's givin me problems. But I do know this much: lplay.png is the play button on the launcher and gplay.png is the character select play button.PHP Code:
dmsg("Loading launcher...")
EventDelay(4000)
dmsg("Searching for launcher play button...")
$lplaybutton=_WaitForImageSearch("pictures/lplay.png",$maxlplaywait,1,$x_lplay,$y_lplay,$tolerance)
If $lplaybutton=1 Then
EventDelay(1000)
MouseMove($x_lplay, $y_lplay)
Mouseclick("Left")
dmsg("Loading character select screen...")
Else
dmsg("Did not find play button...")
EventDelay(3000)
Return 0
EndIf
; Find the in-game play button at charselect
Local $x_gplay, $y_gplay, $iterations
Local $maxgplaywait = 150 ; maximum seconds to wait beyond the first 12
$iterations = $maxgplaywait * 2
EventDelay(12000)
WinActivate("Star Wars™: The Old Republic™","")
dmsg("Searching for character select play button...")
Do
$gplaybutton=_ImageSearchArea("pictures/gplay.png", 1, 940, 600, 1030, 740, $x_gplay,$y_gplay, $tolerance)
If $gplaybutton= 0 Then $gplaybutton=_ImageSearchArea("pictures/gplay2.png", 1, 940, 600, 1030, 800, $x_gplay, $y_gplay, $tolerance)
If $gplaybutton= 0 Then $gplaybutton=_Imagesearcharea("pictures/play2.png", 1, 940, 600, 1030, 800, $x_gplay, $y_gplay, $tolerance)
If $gplaybutton= 0 Then $gplaybutton=_Imagesearcharea("pictures/play.png", 1, 800, 600, 1030, 800, $x_gplay, $y_gplay, $tolerance)
EventDelay(500)
; Some users need the UI reset before the Play button can be found, while other users might only need the resolution corrected
If $iterations = 135 Or $iterations = 120 Or $iterations = 105 Or $iterations = 75 Or $iterations = 45 Or $iterations = 15 Then
WinMove("Star Wars™: The Old Republic™", "", $psx_offset_x - 1, $psx_offset_y -1, $psx_width - 2, $psx_height - 2, 2) ; move it off by one pixel/shrink it by two pixels
Sleep(100)
WinMove("Star Wars™: The Old Republic™", "", $psx_offset_x, $psx_offset_y, $psx_width, $psx_height, 2) ; now move it back/resize it
EndIf
$iterations -= 1
Until $gplaybutton = 1 Or $iterations = 0
If $gplaybutton=1 Then
WinMove("Star Wars™: The Old Republic™", "", $psx_offset_x - 1, $psx_offset_y -1, $psx_width - 2, $psx_height - 2, 2) ; move it off by one pixel/shrink it by two pixels
Sleep(100)
WinMove("Star Wars™: The Old Republic™", "", $psx_offset_x, $psx_offset_y, $psx_width, $psx_height, 2) ; now move it back/resize it
EventDelay(1000)
MouseMove($x_gplay,$y_gplay)
Mouseclick("Left")
dmsg("Loading game...")
EventDelay(10000)
If $timeleft > 0 Then ; if there was time remaining, this means a crash occurred
$Ctotalruntime = $totalruntime ; save these so InitTime() doesn't clear them
$Cstarttime = $gamestarttime
EndIf
WinMove("Star Wars™: The Old Republic™", "", $psx_offset_x, $psx_offset_y, $psx_width, $psx_height, 2) ; move/resize after every successful restart
$resize_on_gamestart = True
InitTime() ; initialize and calculate time variables
RunTimeCheck() ; calculate and display time remaining
Return 1
Else
dmsg("Did not find character select play button...")
EventDelay(3000)
Return 0
EndIf
EndFunc
Last edited by Hackintosh2012; 11-10-2012 at 12:49 AM.
Code:AutiIt Error Line 17396 (File"C:\Users\anywho\whatever\Spacebot 5.35\LuckySpacebot.exe"): Error: Recursion level has been exceeded - AutoIt will quit to prevent stack overflow.Is there any update on this error? I know it is something to do with crew skills and a looping issue. I am willing to look at the code to try and debug but I'm not sure where to start and if it is being addressed. Also since it takes anywhere from 30-50 missions to happen, it seems like a hard one to track down.Code:Luckys Spacebot v5.35 x86 (R260) System details: X64 CPU, WIN_7(X64) Service Pack 1 On Target Time=50 Missile Delay=333 Timer Skew =55 IMG Tolerance=106 HD Status=1 Timing override=4 Mission bonus=1 PSX OTT enabled=1 PSX DBG enabled=4
Thanks
Is anyone still farming at all? All my accounts get banned before I reach 28 lvl (right at ~27ish)