For all the people having problems with their "resume.png" not being found I found a workaround. I replaced the 1.6 code with what he had from 1.5d and it worked perfectly again.
Replace the first part of the Function Restartrun with that and I believe it should work. It does for me.Code:Func RestartRun() If Not FileExists($pngLoc & "MainMenu.png") Then MsgBox(16, "Fatal Error", "ERROR: Cannot find: " & $pngLoc & "MainMenu.png" & @CRLF & "Make sure your directory is set properly in the script") Exit EndIf If($Leave) Then Send("{SPACE}") Sleep(100) Send("{SPACE}") $i = 0 ;Checks if the player is in the Main Menu If CheckFor("MainMenu") Then $run += 1 GUICtrlSetData($lblRun, "Run Number: " & $run & " - Runs till vendor: " & $mLootIn) GUICtrlSetData($lblLocation, "Location: Main Menu") GUICtrlSetData($lblStatus, "Status: Starting Game") While True RandClick("left", Round(230*$x_ratio), Round(416*$y_ratio), 120, 20) ;Random Click on the resume button If CheckFor("LimitError", "", Round(720*$x_ratio), Round(480*$y_ratio), Round(960*$x_ratio), Round(600*$y_ratio), 3, 60) Then Sleep(Random(1000, 2000)) RandClick("left", Round(960*$y_ratio), Round(635*$x_ratio), 50 ,10) $rand = Random(40000, 80000) GUICtrlSetData($lblStatus, "Status: Input Limit - Waiting " & Round($rand/1000) & " seconds.") Sleep($rand) Else ExitLoop EndIf WEnd $rt = TimerInit() $Logout = False Else GUICtrlSetData($lblStatus, "ERROR: Cannot find Resume button") Return EndIf
Setting vend rares to false and still getting stuck trying to sell rares, >_< I will turn off vending and blue pickup for now. Other than that, vend works great, got legendary didnt try to vend, etc. Just rares.
Thanks for great improvements notAres, awesome stuff!
Edit: Yeah I didnt update my pngs, nvm!
Last edited by skohcl; 06-14-2012 at 07:00 PM.
Try the version on pastebin (wont autoupdate, didnt change version) and tell me if it fixes resume error
I see you found the problem your self
I can already tell you that it is working since there was no x86 you provideded to the other, you have removed or overwrrited it lol :Pif $tolerance>0 then $findImage = "*" & $tolerance & " " & $findImage
If @AutoItX64 Then
DllCall("kernel32.dll", "int", "Wow64DisableWow64FsRedirection", "int", 1)
$result = DllCall("ImageSearchDLL_x64.dll","str","ImageSearch","int",$x1,"int",$y1,"int",$ right,"int",$bottom,"str",$findImage)
Else
$result = DllCall("ImageSearchDLL.dll","str","ImageSearch","int",$x1,"int",$y1,"int",$righ t,"int",$bottom,"str",$findImage)
EndIf
thx, it worked
hi there,
i am trying to have this script running in x64 win 7. Took all the steps corretly to install it have mouse 3 assigned, 1920x1080 resolution, but when i'm on the main menu and open autoitv3 update scipt, then appears that rectangle saying staring same and 0 runs i press "+" to start script (changed it in hotkey inside script" and it does nothing, doesn't start.
Can anyone poit me any solution for this problem? Thanks in advance.