Originally Posted by
LoverBoy24
Ok.I'm waiting.
Also i modified "Opt('SendKeyDelay', 100) ; Default speed " gradually until i put 100 and it stil mises cellar sometime and i have to stop it and click it myself.
Code:
DEBUG("Cellar found")
Sleep(Random(100,150))
Move(66,435)
Move(134, 249)
Sleep(75)
$blue = PixelSearch(430, 132, 602, 267, 0x5D80DB, 5) ; gets position of cellar
If Not @error Then
Sleep(200) <---- remove completely
MouseClick("left", $blue[0], $blue[1], 1, Random(6,7))
Sleep(Random(2000,2300))
EndIf
Example
DEBUG("Cellar found")
Sleep(Random(100,150))
Move(66,435)
Move(134, 249)
Sleep(75)
$blue = PixelSearch(430, 132, 602, 267, 0x5D80DB, 5) ; gets position of cellar
If Not @error Then
MouseClick("left", $blue[0], $blue[1], 1, Random(6,7))
Sleep(Random(2000,2300))
And set "Opt('SendKeyDelay', 50) ; Default speed "