The Wiki for Tale 7 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.
If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.
Difference between revisions of "Www.atitd.org/wiki/tale7/User:Coyan/carrots.ahk"
(Created page with "; Carrot planter #UseHook #InstallMouseHook #InstallKeybdHook ;Ctrl+p to Pause script ;Ctrl+r to reload script shades:="*90" IfWinExist eGenesis Client { WinActivate WinGe...") |
|||
Line 1: | Line 1: | ||
− | ; Carrot planter | + | {| |
+ | |; Carrot planter | ||
#UseHook | #UseHook | ||
#InstallMouseHook | #InstallMouseHook | ||
Line 393: | Line 394: | ||
^r::reload | ^r::reload | ||
^p::Pause | ^p::Pause | ||
+ | |} |
Revision as of 16:37, 12 October 2015
; Carrot planter
shades:="*90" IfWinExist eGenesis Client { WinActivate WinGetPos,,, winWidth, winHeight minorOffset = 100 majorOffset = 140 winXCenter := winWidth / 2 winYCenter := ((winHeight - 22) / 2) + 32 winXLeft := winXCenter - minorOffset winXFarLeft := winXCenter - majorOffset winXRight := winXCenter + minorOffset winXFarRight := winXCenter + majorOffset winYUp := winYCenter - minorOffset winYFarUp := winYCenter - majorOffset winYDown := winYCenter + minorOffset winYFarDown := winYCenter + majorOffset circleMove = 0 Gui, +AlwaysOnTop +ToolWindow Gui, Add, Text,, How many Carrot cycles? Gui, Add, Edit, Number vNumGrass Gui, Add, Button, default gGrassCommit, OK Gui, Show return GrassCommit: Gui, Submit Gui, Destroy GrassCycle = 0 WinActivate, eGenesis Client ;CoordMode, Mouse, Relative SetDefaultMouseSpeed, 0 SetMouseDelay, -1
MouseClick, left, 47, 47 sleep 200 Mouseclick Left, 54, 88, 2 sleep 100 Mouseclick Left, 40, 166 sleep 100 MouseClick, left, 47, 47 sleep 200 Mouseclick Left, 66, 80, 2 sleep 100 Mouseclick Left, 40, 166 sleep 100 MouseClick, left, 47, 47 sleep 200 Mouseclick Left, 82, 88, 2 sleep 100 Mouseclick Left, 40, 166 sleep 100 MouseClick, left, 47, 47 sleep 200 Mouseclick Left, 42, 105, 2 sleep 100 Mouseclick Left, 40, 166 sleep 100 MouseClick, left, 47, 47 sleep 200 Mouseclick Left, 91, 105, 2 sleep 100 Mouseclick Left, 40, 166 sleep 100 MouseClick, left, 47, 47 sleep 200 Mouseclick Left, 54, 119, 2 sleep 100 Mouseclick Left, 40, 166 sleep 100 MouseClick, left, 47, 47 sleep 200 Mouseclick Left, 66, 128, 2 sleep 100 Mouseclick Left, 40, 166 sleep 100 MouseClick, left, 47, 47 sleep 200 Mouseclick Left, 82, 119, 2 sleep 100 Mouseclick Left, 40, 166
sleep 300
Mousemove, 961, 468 ;967,441 sleep 300 Mouseclick Right, 961, 468 sleep 200 Mouseclick Right, 961, 468 sleep 200 click down sleep 100 mousemove, 150, 350, 3 sleep 100 click up Mousemove, 1039, 468 ;1044, 450 sleep 300 Mouseclick Right, 1039, 468 sleep 200 Mouseclick Right, 1039, 468 sleep 200 click down sleep 100 mousemove, 450, 450, 3 sleep 100 click up
Mousemove, 883, 542 ;888, 529 sleep 300 Mouseclick Right, 883, 542 sleep 200 Mouseclick Right, 883, 542 sleep 200 click down sleep 100 mousemove, 150, 450, 3 sleep 100 click up
Mousemove, 961, 622 sleep 300 Mouseclick Right, 961, 622 sleep 200 Mouseclick Right, 961, 622 sleep 200 click down sleep 100 mousemove, 450, 550, 3 sleep 100 click up Mousemove, 1038, 622 sleep 300 Mouseclick Right, 1038, 622 sleep 200 Mouseclick Right, 1038, 622 sleep 200 click down sleep 100 mousemove, 450, 650, 3 sleep 200 click up mousemove, 500, 325, 3 Sleep 500
Loop, 3 { Mouseclick left, 500, 325 sleep 100 Mouseclick left, 500, 350 sleep 100 Mouseclick left, 500, 350 sleep 100
Mouseclick left, 200, 325 sleep 100 Mouseclick left, 200, 350 sleep 100 Mouseclick left, 200, 350 sleep 100
Mouseclick left, 500, 415 sleep 100 Mouseclick left, 500, 450 sleep 100 Mouseclick left, 500, 450 sleep 100
Mouseclick left, 200, 415 sleep 100 Mouseclick left, 200, 450 sleep 100 Mouseclick left, 200, 450 sleep 100
mouseclick left, 500, 515 sleep 100 Mouseclick left, 500, 550 sleep 100 Mouseclick left, 500, 550 sleep 100
mouseclick left, 200, 515 sleep 100 Mouseclick left, 200, 550 sleep 100 Mouseclick left, 200, 550 sleep 100
mouseclick left, 500, 615 sleep 100 Mouseclick left, 500, 650 sleep 100 Mouseclick left, 500, 650 sleep 100
mouseclick left, 200, 615 sleep 100 Mouseclick left, 200, 650 sleep 100 Mouseclick left, 200, 650 sleep 100
Mouseclick left, 200, 315 sleep 100 Mouseclick left, 200, 350 sleep 100 Mouseclick right, 200, 315 sleep 100 Mouseclick left, 500, 415 sleep 100 Mouseclick left, 500, 450 sleep 100 Mouseclick right, 500, 415 sleep 100 Mouseclick left, 200, 415 sleep 100 Mouseclick left, 200, 450 sleep 100 Mouseclick right, 200, 415 sleep 100 mouseclick left, 500, 515 sleep 100 Mouseclick left, 500, 550 sleep 100 Mouseclick right, 500, 515 sleep 100 mouseclick left, 200, 515 sleep 100 Mouseclick left, 200, 550 sleep 100 Mouseclick right, 200, 515 sleep 100 mouseclick left, 500, 615 sleep 100 Mouseclick left, 500, 650 sleep 100 Mouseclick right, 500, 615 sleep 100 mouseclick left, 200, 615 sleep 100 Mouseclick left, 200, 650 sleep 100 Mouseclick right, 200, 615 sleep 100 sleep 18000 ImageSearch, Px, Py, 185 , 25, 865, 135, water.png Sleep 100 MouseClick, left, Px, Py Sleep, 250 ImageSearch, Px, Py, 910 , 510, 990, 650, %shades% maxButton.png MouseClick, left, Px, Py Sleep, 4000
|