how can i get my own coordinates?
how can i get my own coordinates?
For all the ones with problems with fastfind minimap screenshots in VMWare: Try the following:
change
FFSnapShot(1593 * $x_ratio, 62 * $y_ratio, 1880 * $x_ratio, 350 * $y_ratio, 0, $FFhWnd)
To
FFSnapShot(1593 * $x_ratio, 62 * $y_ratio, 1880 * $x_ratio, 350 * $y_ratio)
Let me know if it worked, seems to work for me.
cheers
SwissTrade
I'll give it a try... thx man
BlackSack im really interested in seeing ur gear cuz i barely reach 200% gf without getting killed
Can u show me ur gear if possible ?
Another short improvement for the ones asking how to see their coordinates:
Func TogglePause()
$Paused = Not $Paused
While $Paused
Sleep(100)
WinSetTitle($title, "", $title & $ver & " - Paused")
Local $pos=MouseGetPos() ; add, actual mouse cursor position
ToolTip('[PAUSED] - Deaths: ' & $deathCount & ' | Cellars: ' & $cellarCount & ' | x: ' & $pos[0] & ' | y: ' & $pos[1], 0, 0) ; add, enhance tooltip
WEnd
WinSetTitle($title, "", $title & $ver & " - Running")
ToolTip("")
EndFunc ;==>TogglePause
Essentially you just need to add the two lines that are marked with :add. as soon as you pause your script, you can see the mouse coords in the tooltip in the upper left corner. For debugging, i recommend to put a TogglePause() wherever you need one in the run (e.g. before the functionality to detect the cellar is called - to verify that you ran far enough)
cheers
SwissTrade
:-) this solved the problem for taking only one CellarMinimap image. This means, cellar detection seems to work now. But when I walk on after cellar is found, the script crashes without any Error message. Tried it with comiled exe and direct Go from script. I'll try to dig deeper into that now...
Perhaps this is the same Error that PetjePuck discovered.
Wow, nice find!
Thx SwissTrade, fixed it so far for me - FastFind is taking a new screenshot every run now but when the cellar is found it still crashes with the screen a posted before...
guess i have to use version 193h until i find a working fastfind version for me
i'll look into that in a couple of mins ... atm i work on using the same script for my monk and warr, on optimizing the no cellar run times (14.5 secs atm, must be possible faster .-))
Last edited by BlackSack; 07-01-2012 at 06:52 PM.
I just observed my Barb vendoring a set item and a unique item.
Some other unique items have been properly stashed - it seems rather arbitrarily.. and suggestions ?
I've been testing it with iLvl63 and without.. currently it's on "false".
My pc is pretty fast.
any idea, blacksack?
Thanks BlackSack. With the new fastfind the scrip runs very reliable on my pc.
Fix for the crash as mentioned earlier:
; take 2 snapshots and black out everything that did not change
;FFSnapShot($x1 * $x_ratio, $y1 * $y_ratio, $x2 * $x_ratio, $y2 * $y_ratio, 2, $FFhWnd)
FFSnapShot($x1 * $x_ratio, $y1 * $y_ratio, $x2 * $x_ratio, $y2 * $y_ratio, 2)
Sleep(50)
;FFSnapShot($x1 * $x_ratio, $y1 * $y_ratio, $x2 * $x_ratio, $y2 * $y_ratio, 3, $FFhWnd)
FFSnapShot($x1 * $x_ratio, $y1 * $y_ratio, $x2 * $x_ratio, $y2 * $y_ratio, 3)
In essence, remove the $FFhWnd parameter in the function calls. These can be found in Func(EnhancedFind)
Let me know if this fixed your issues.
cheers
SwissTrade
Thanks BlackSack!
Im still getting stuck at this part tho :/
RandClick("middle", Round(80 * $x_ratio), Round(830 * $y_ratio), 1, 1) ;moves to doorway leading to rare inside cellar
walktime(Round(80 * $x_ratio), Round(830 * $y_ratio), 700)
I tried -100 / 100 / 500 / 700
Getting stuck everytime
EDIT : it first moves back to the exit and then moves towards the door...