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 "Sithid:Macros/AutoIt/Jugs"
(Created page with "Double F8, zoom all the way in. Adjust x and y for rows( across ) and columns( down ). Start script and press F1 at the very center of the top left wheel. <code> #Region ;****...") |
|||
Line 1: | Line 1: | ||
Double F8, zoom all the way in. Adjust x and y for rows( across ) and columns( down ). Start script and press F1 at the very center of the top left wheel. | Double F8, zoom all the way in. Adjust x and y for rows( across ) and columns( down ). Start script and press F1 at the very center of the top left wheel. | ||
− | |||
#Region ;**** Directives created by AutoIt3Wrapper_GUI **** | #Region ;**** Directives created by AutoIt3Wrapper_GUI **** | ||
#AutoIt3Wrapper_Outfile=icon_clicker.exe | #AutoIt3Wrapper_Outfile=icon_clicker.exe | ||
Line 62: | Line 61: | ||
Exit | Exit | ||
EndFunc | EndFunc | ||
− |
Revision as of 00:50, 20 September 2015
Double F8, zoom all the way in. Adjust x and y for rows( across ) and columns( down ). Start script and press F1 at the very center of the top left wheel.
- Region ;**** Directives created by AutoIt3Wrapper_GUI ****
- AutoIt3Wrapper_Outfile=icon_clicker.exe
- AutoIt3Wrapper_Outfile_x64=icon_clickerx64.exe
- AutoIt3Wrapper_Compile_Both=y
- AutoIt3Wrapper_UseX64=y
- AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
- EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
Opt( "MustDeclareVars", 1 )
Global $Paused = False
HotKeySet( "!{ESC}", "Terminate" ) HotKeySet( "{PAUSE}", "TogglePause" ) HotKeySet( "{F1}", "SetStartLocation" )
WinWaitActive( "eGenesis Client" )
Global $StartLocation[2] Global $StartLocationSet = False Global $SlateColor = 0x292929 Global $Delay = 50 Main()
Func Main() Do Sleep( 100 ) Until $StartLocationSet
Do If $Paused Then Do Sleep( 100 ) Until Not $Paused EndIf
If PixelGetColor( $StartLocation[0], $StartLocation[1] ) == $SlateColor Then MouseClick( "Left", $StartLocation[0], $StartLocation[1], 1, 0 ) EndIf
Sleep( $Delay ); Until 1 == 2 EndFunc
Func SetStartLocation() If $Paused Then Return EndIf
$StartLocation = MouseGetPos() $SlateColor = PixelGetColor( $StartLocation[0], $StartLocation[1] ) $StartLocationSet = True EndFunc
Func TogglePause() $Paused = Not $Paused EndFunc
Func Terminate() Exit EndFunc