The Wiki for Tale 5 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 "User:Dymo/macro"

From ATITD5
Jump to navigationJump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
;
+
==Clay macro==
; AutoHotkey Version: 1.x
+
*clay macro - [http://www.amateursky.com/clay.zip clay macro(right click save as)]
; Language:      English
+
==Vinehelper==
; Platform:      Win9x/NT
 
; Author:        dymo
 
;
 
; Script Function: vineyards Cragam Vodka
 
;
 
;^r::reload
 
;^p::Pause
 
;^!f::
 
  
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
+
{| style="background-color:#EFDFBD;" align="center"
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
+
|align="center" | <div style="background-color:#EFDFBD;padding:10px;font-weight:bold;"> </div>
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
+
|-
 +
|align="center" | <div style="background-color:#9b886c;-moz-border-radius-topright:2em;-moz-border-radius-topleft: 2em;-webkit-border-radius:20px;border:1px solid #000; padding:10px;font-weight:bold;">Vinehelper</div>
 +
|-
 +
|Width="600px" align="center" bgcolor="#9b886c" |<b>Setup:</b>
 +
*Edit the .ahk and set if you want it to take cuttings, and close the tend window when its done.
 +
|-
 +
|Width="600px" align="center" bgcolor="#9b886c" |<b>Supported Vines:</b>
 +
*CragamVodka
 +
*Talos#19
 +
*Skyfeather#44
 +
*Isetnefret#37
 +
*Distraction
 +
*Contemplation
 +
*Skyfeather#35
 +
*Skyfeather#41
 +
*Phoenixwcu#15
 +
*Isetnefret#24
 +
*Isetnefret#28
 +
*Isetnefret#32
 +
*Isetnefret#43
 +
*Amusement
 +
*Balance
 +
*Frivolity
 +
*Appreciation
 +
|-
 +
|Width="600px" align="center" bgcolor="#9b886c" |<b>Use:</b>
 +
*Run the script
 +
*Pin the Vineyard
 +
*Middle Click on it, and let the script finish, can take upto 10sec.
 +
|-
 +
|align="center" | <div style="background-color:#9b886c;-moz-border-radius-bottomright:2em;-moz-border-radius-bottomleft:2em;-webkit-border-radius:20px;border:1px solid #000; padding:10px;font-weight:bold;">&nbsp;</div>
 +
|}
  
  
; VARIABLES TO CONFIGURE
+
*Vinehelper - [http://www.amateursky.com/vinehelper.zip Vinehelper macro(right click save as)]
  
PopUpDelay = 300 ;Safe (lag) is 300+, Fast is 200 (fast computer, no lag)
+
==Vines==
  
; END OF VARIABLES DO NOT EDIT BELOW THIS POINT
+
{| style="background-color:#EFDFBD;" align="center"
 +
|align="center" | <div style="background-color:#EFDFBD;padding:10px;font-weight:bold;"> </div>
 +
|-
 +
|align="center" | <div style="background-color:#9b886c;-moz-border-radius-topright:2em;-moz-border-radius-topleft: 2em;-webkit-border-radius:20px;border:1px solid #000; padding:10px;font-weight:bold;">Vines Mass Tending</div>
 +
|-
 +
|Width="600px" align="center" bgcolor="#9b886c" |<b>Setup:</b>
 +
*There is no setup.
 +
|-
 +
|Width="600px" align="center" bgcolor="#9b886c" |<b>Supported Vines:</b>
 +
*CragamVodka
 +
*Skyfeather#44
 +
|-
 +
|Width="600px" align="center" bgcolor="#9b886c" |<b>Use:</b>
 +
*Pin any number of vineyards top left corner stacked
 +
*Ctrl+Alt+X
 +
*Enter number of vineyards, select if there guilded, and if it should take cuttings
 +
*<b>Do not use the take cuttings on guilded vineyards the script has a bug</b>
 +
*<b>Will not work with labeled vineyards right now</b>
 +
|-
 +
|align="center" | <div style="background-color:#9b886c;-moz-border-radius-bottomright:2em;-moz-border-radius-bottomleft:2em;-webkit-border-radius:20px;border:1px solid #000; padding:10px;font-weight:bold;">&nbsp;</div>
 +
|}
  
IfWinExist eGenesis Client
 
{
 
  
WinActivate, eGenesis Client
+
*Vines macro - [ Vines macro(right click save as)]
WinWait, eGenesis Client
 
WinGetActiveStats, win_Title, Xmax, Ymax, win_Xpos, win_Ypos
 
 
 
InputBox, NumPulls, Cragam Vodka, WARNING DO NOT USE THIS MACRO IF YOUR VIGOR IS UNDER 8....How many tends?
 
Location = 1
 
Cycle = 0
 
 
 
} else {
 
MsgBox, eGenesis Client not running, aborting...
 
Exit
 
}
 
 
 
 
 
Start:
 
 
 
Sleep %PopupDelay%
 
loop, %NumPulls% {
 
 
 
ImageSearch, PopX, PopY, 1 , 1, 400,400, vine.cragamvodka.png
 
    If (Errorlevel = 0) {
 
popfX := PopX + 3
 
popfY := PopY + 3
 
}
 
 
 
;Search for Vineyard State
 
 
 
Sleep %PopupDelay%
 
ImageSearch, stateX, stateY, 1 , 1, Xmax,Ymax, vine.rustle.png
 
    If (Errorlevel = 0) {
 
Sleep %PopupDelay%
 
ImageSearch,tlX, tlY, 1 , 1, Xmax,Ymax, tend.tl.png
 
tlfX := tlX + 3
 
tlfY := tlY + 3
 
MouseMove, %tlfX%, %tlfY%
 
Sleep %PopupDelay%
 
Click
 
Sleep %PopupDelay%
 
Sleep %PopupDelay%
 
MouseMove, %PopfX%, %PopfY%
 
Sleep %PopupDelay%
 
Sleep %PopupDelay%
 
Click right
 
}
 
;Search for Vineyard State
 
Sleep %PopupDelay%
 
ImageSearch, shrivelX, shrivelY, 1 , 1, Xmax,Ymax, vine.shrivel.png
 
    If (Errorlevel = 0) {
 
ImageSearch,svX, svY, 1 , 1, Xmax,Ymax, tend.sv.png
 
svfX := svX + 3
 
svfY := svY + 3
 
MouseMove, %svfX%, %svfY%
 
Sleep %PopupDelay%
 
Click
 
Sleep %PopupDelay%
 
Sleep %PopupDelay%
 
MouseMove, %PopfX%, %PopfY%
 
Sleep %PopupDelay%
 
Sleep %PopupDelay%
 
Click right
 
 
 
}
 
;Search for Vineyard State
 
Sleep %PopupDelay%
 
ImageSearch, fatX, fatY, 1 , 1, Xmax,Ymax, vine.fat.png
 
    If (Errorlevel = 0) {
 
ImageSearch,svX, svY, 1 , 1, Xmax,Ymax, tend.mg.png
 
svfX := svX + 3
 
svfY := svY + 3
 
MouseMove, %svfX%, %svfY%
 
Sleep %PopupDelay%
 
Click
 
Sleep %PopupDelay%
 
Sleep %PopupDelay%
 
MouseMove, %PopfX%, %PopfY%
 
Sleep %PopupDelay%
 
Sleep %PopupDelay%
 
Click right
 
}
 
;Search for Vineyard State
 
Sleep %PopupDelay%
 
ImageSearch, mustyX, mustyY, 1 , 1, Xmax,Ymax, vine.musty.png
 
    If (Errorlevel = 0) {
 
ImageSearch,slX, slY, 1 , 1, Xmax,Ymax, tend.sl.png
 
slfX := slX + 3
 
slfY := slY + 3
 
MouseMove, %slfX%, %slfY%
 
Sleep %PopupDelay%
 
Click
 
Sleep %PopupDelay%
 
Sleep %PopupDelay%
 
MouseMove, %PopfX%, %PopfY%
 
Sleep %PopupDelay%
 
Sleep %PopupDelay%
 
Click right
 
}
 
;Search for Vineyard State
 
Sleep %PopupDelay%
 
ImageSearch, saggingX, saggingY, 1 , 1, Xmax,Ymax, vine.sagging.png
 
    If (Errorlevel = 0) {
 
ImageSearch,tlX, tlY, 1 , 1, Xmax,Ymax, tend.tl.png
 
tlfX := tlX + 3
 
tlfY := tlY + 3
 
MouseMove, %tlfX%, %tlfY%
 
Sleep %PopupDelay%
 
Click
 
Sleep %PopupDelay%
 
Sleep %PopupDelay%
 
MouseMove, %PopfX%, %PopfY%
 
Sleep %PopupDelay%
 
Sleep %PopupDelay%
 
Click right
 
}
 
;Search for Vineyard State
 
Sleep %PopupDelay%
 
ImageSearch, wiltingX, wiltingY, 1 , 1, Xmax,Ymax, vine.wilting.png
 
    If (Errorlevel = 0) {
 
ImageSearch,tlX, tlY, 1 , 1, Xmax,Ymax, tend.tl.png
 
tlfX := tlX + 3
 
tlfY := tlY + 3
 
MouseMove, %tlfX%, %tlfY%
 
Sleep %PopupDelay%
 
Click
 
Sleep %PopupDelay%
 
Sleep %PopupDelay%
 
MouseMove, %PopfX%, %PopfY%
 
Sleep %PopupDelay%
 
Sleep %PopupDelay%
 
Click right
 
}
 
;Search for Vineyard State
 
Sleep %PopupDelay%
 
ImageSearch, shimmerX, shimmerY, 1 , 1, Xmax,Ymax, vine.shimmer.png
 
    If (Errorlevel = 0) {
 
ImageSearch,svX, svY, 1 , 1, Xmax,Ymax, tend.sv.png
 
svfX := svX + 3
 
svfY := svY + 3
 
MouseMove, %svfX%, %svfY%
 
Sleep %PopupDelay%
 
Click
 
Sleep %PopupDelay%
 
Sleep %PopupDelay%
 
MouseMove, %PopfX%, %PopfY%
 
Sleep %PopupDelay%
 
Sleep %PopupDelay%
 
Click right
 
 
 
 
 
 
 
 
 
}
 
return
 
}
 

Latest revision as of 11:11, 23 January 2011

Clay macro

Vinehelper

Vinehelper
Setup:
  • Edit the .ahk and set if you want it to take cuttings, and close the tend window when its done.
Supported Vines:
  • CragamVodka
  • Talos#19
  • Skyfeather#44
  • Isetnefret#37
  • Distraction
  • Contemplation
  • Skyfeather#35
  • Skyfeather#41
  • Phoenixwcu#15
  • Isetnefret#24
  • Isetnefret#28
  • Isetnefret#32
  • Isetnefret#43
  • Amusement
  • Balance
  • Frivolity
  • Appreciation
Use:
  • Run the script
  • Pin the Vineyard
  • Middle Click on it, and let the script finish, can take upto 10sec.
 


Vines

Vines Mass Tending
Setup:
  • There is no setup.
Supported Vines:
  • CragamVodka
  • Skyfeather#44
Use:
  • Pin any number of vineyards top left corner stacked
  • Ctrl+Alt+X
  • Enter number of vineyards, select if there guilded, and if it should take cuttings
  • Do not use the take cuttings on guilded vineyards the script has a bug
  • Will not work with labeled vineyards right now
 


  • Vines macro - [ Vines macro(right click save as)]