now i got a fatal error saying it cannot find the main menu .png. i am on 1600x900 res.
now i got a fatal error saying it cannot find the main menu .png. i am on 1600x900 res.
is the new 1.0.3 update fixed now?
I have messed with all of those settings and am still having problems with the Lawl script either not clicking at all while hovering over open cellars (and then continueing to random search after it has already hovered over it) or clicking them and then clicking right in front of them. Again, which specific variable should I be looking at?
I believe the problem comes from this function.
This is the one for lawl:
compared to this one from an older 21sec script that enters all open dungeons flawlessly for me:Func FindCellar()
$CellCoord = 0
$gY = 0
$gX = 0
;A precheck to the cellar search
_ImageSearchArea($pngLoc & "Cellar.png", 1, Round(1672 * $x_ratio),Round(175 * $y_ratio),Round(1717 * $x_ratio),Round(209 * $y_ratio), $gX, $gY, 160)
sleep($cellarCheckSleep)
If $gX > 0 Or $gY > 0 then
Do
MouseMove(Round($cellarCoordx[$CellCoord] * $x_ratio), Round($cellarCoordy[$CellCoord] * $y_ratio), 1) ;moves cursor over to the cellar
sleep($cellarCheckSleep)
If $CellCoord < 6 then
$Pixel2 = PixelSearch($cellarCoordx[$CellCoord] - 71 * $x_ratio,$cellarCoordy[$CellCoord] - 148 * $y_ratio,$cellarCoordx[$CellCoord] + 139 * $x_ratio,$cellarCoordy[$CellCoord] + 22 * $y_ratio, 0x334FB7, 3) ;checks for open cellar (in a 600x400 box from the top left - where it should always be)
Else
$Pixel2 = PixelSearch($cellarCoordx[$CellCoord] - 71 * $x_ratio,$cellarCoordy[$CellCoord] - 148 * $y_ratio,$cellarCoordx[$CellCoord] + 139 * $x_ratio,$cellarCoordy[$CellCoord] + 22 * $y_ratio, 0x007CB7F8, 3) ;checks for open cellar (in a 600x400 box from the top left - where it should always be)
EndIf
If Not @Error Then
Return 1
EndIf
$CellCoord += 1
Until $CellCoord >= Ubound($cellarCoordx)
Else
Return 0
EndIf
Call("CellarScreenShot")
Return 0
EndFunc
Func FindCellar()
$CellCoord = 0
$gX = 0
$gY = 0
;A precheck to the cellar search
_ImageSearchArea($pngLoc & "Cellar.png", 1, Round(1672 * $x_ratio),Round(175 * $y_ratio),Round(1717 * $x_ratio),Round(209 * $y_ratio), $gX, $gY, 160)
sleep($cellarCheckSleep)
If $gX > 0 Or $gY > 0 Then
Do
MouseMove(Round($cellarCoordx[$CellCoord] * $x_ratio), Round($cellarCoordy[$CellCoord] * $y_ratio), 1) ;moves cursor over to the cellar
$mousePos = MouseGetPos()
sleep($cellarCheckSleep)
If $CellCoord = 5 then
$Pixel2 = PixelSearch($mousePos[0] - 71 * $x_ratio,$mousePos[1] - 148 * $y_ratio,$mousePos[0] + 139 * $x_ratio,$mousePos[1] + 22 * $y_ratio, 0x007CB7F8, 3) ;checks for open cellar (in a 600x400 box from the top left - where it should always be)
Else
$Pixel2 = PixelSearch($mousePos[0] - 71 * $x_ratio,$mousePos[1] - 148 * $y_ratio,$mousePos[0] + 139 * $x_ratio,$mousePos[1] + 22 * $y_ratio, 0x334FB7, 3) ;checks for open cellar (in a 600x400 box from the top left - where it should always be)
EndIf
If Not @Error Then
Return 1
EndIf
$CellCoord += 1
Until $CellCoord >= Ubound($cellarCoordx)
Else
Return 0
EndIf
Return 0
EndFunc
Yup. <I did this to make my post longer>
Edit: was replying to the post asking about the 1.0.3 fix - someone else posted in between![]()
Last edited by tempperson34856; 07-02-2012 at 12:56 AM.
Hmm well what do you think is most likely the problem? I have literally messed with every one of those variables in the INI setting them up and down and nothing seems to fix it. Is there any reason resolution 1366x768 should have problems entering cellars in the lawl scripts? The old 21 second one works perfectly. I dunno what else to try to change to get it to work, but it seems the only problem is it isn't clicking on the open cellars correctly.
Script and version: main script 2.0.2
Help or request: Help
Desktop resolution: 1366x728
Diablo 3 window type: windowed fullscreen
Operating system (32-bit or 64-bit): 64bit
Manual or auto install: manual
Move bound to mouse3: yes
Where are you starting the: menu screen
Game language: english
few problem, it does not always loot legendary and rare items, it always sells all tomes in inventory to vendor, and gph counter seems bugged or something, please help
The gph bug is probably a Tesseract issue - try overwriting your tesseract install with the one in the autoinstall. It'll sometimes miss the OCR read and misreport, but not nearly as much as it used to.
Legenday items frequently show up as misloots - you're probably not missing any, it's just clicking on the lamp and claiming it's a legendary item, when it's really not.
Make sure you have your script set up to stash all tomes - if you don't stash them before going to a vendor, it'll vendor them as a 'magic' item. It stashes them on page 2, so make sure you have 2 pages of inventory space in your stash.
Finally, make sure gphonly is set to 0, and that loot rares is set to 1. It also helps if you have vendor rares and identify set to 0 (it can't vendor unidentified items, so that way it'll never vendor a rare/legendary by mistake)
Last edited by tempperson34856; 07-02-2012 at 01:23 AM. Reason: readability
1366 is my highest resolution. Here I will upload the script I use that it works on, could you take a quick look at it and compare it to the lawl one to see what might be causing it to not click on the open cellars in the lawl versions, but work for this one?
Download Straight GPH 21 Second Open Cellars.au3 from Sendspace.com - send big files the easy way
does the cellar find work better now? because some users have said that with the new find method they miss the cellar more often.
i still use 2.0.0
The new script is routinely clicking on random loot as its walking to the loot spot for me.
Last edited by mase123y; 07-02-2012 at 03:00 AM.