-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathArk-FisherMan-1920x1080.ahk
129 lines (104 loc) · 2.77 KB
/
Ark-FisherMan-1920x1080.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
; ----------------------------
; Author: Spencer j Potts
; Game: Ark: Survival Evolved
; Description:
; Date:
; Github: spencerjpotts
;
; ----------------------------
;;F6 = Break Script
F6::
i := 1
return
;;F5 = Run Script "F5"
F5::
i := 0
color = 0xFFFFFF
speed = 150
while ( %i% = 0 ) {
;;Auto Recast Rod
PixelSearch, RecastPx, RecastPy, 0, 0, A_ScreenWidth/4, A_ScreenHeight/4, 0x7FFD03, 3, Fast ;
if (ErrorLevel = 0)
{
Sleep, 2100
MouseClick, left
}
;;A
PixelSearch Px, Py, 1162, 970, 1162, 970, color, 3, Fast
if (ErrorLevel = 0)
{
;;WinActivate, ARK: Survival Evolved
Send, a
Sleep, speed
}
;;z
PixelSearch Px, Py, 1158, 973, 1158, 973, color, 3, Fast
if (ErrorLevel = 0)
{
;;WinActivate, ARK: Survival Evolved
Send, z
Sleep, speed
}
;;q
PixelSearch Px, Py, 1181, 1016, 1181, 1016, color, 3, Fast
if (ErrorLevel = 0)
{
;;WinActivate, ARK: Survival Evolved
Send, q
Sleep, speed
}
;;w
PixelSearch Px, Py, 1113, 868, 1113, 868, color, 3, Fast
if (ErrorLevel = 0)
{
;;WinActivate, ARK: Survival Evolved
Send, w
Sleep, speed
}
;;x
PixelSearch Px, Py, 1167, 972, 1167, 972, color, 3, Fast
if (ErrorLevel = 0)
{
;;WinActivate, ARK: Survival Evolved
Send, x
Sleep, speed
}
;;d
PixelSearch Px, Py, 1192, 906, 1192, 906, color, 3, Fast
if (ErrorLevel = 0)
{
;;WinActivate, ARK: Survival Evolved
Send, d
Sleep, speed
}
;;BEGIN PROCESS OF ELIMINATION TO FIND E, S, C
;;E
PixelSearch Px, Py, 1186, 998, 1186, 998, color, 3, Fast
PixelSearch PxA, PyA, 1162, 970, 1162, 970, color, 3, Fast ;;a
PixelSearch PxZ, PyZ, 1158, 973, 1158, 973, color, 3, Fast ;;z
PixelSearch PxW, PyW, 1113, 868, 1113, 868, color, 3, Fast ;;w
PixelSearch PxX, PyX, 1167, 972, 1167, 972, color, 3, Fast ;;x
PixelSearch PxD, PyD, 1192, 906, 1192, 906, color, 3, Fast ;;d
if ( Px && Py ) && (!PxA && !PyA) && (!PxZ && !PyZ) && (!PxW && !PyW) && (!PxX && !PyX) && (!PxD && !PyD) {
Send, e
Sleep, speed
}
;;S
PixelSearch Px, Py, 1161, 917, 1161, 917, color, 3, Fast
PixelSearch PxZ, PyZ, 1158, 973, 1158, 973, color, 3, Fast ;;z
PixelSearch PxW, PyW, 1113, 868, 1113, 868, color, 3, Fast ;;w
PixelSearch PxX, PyX, 1167, 972, 1167, 972, color, 3, Fast ;;x
if ( Px && Py ) && (!PxZ && !PyZ) && (!PxW && !PyW) && (!PxX && !PyX) {
Send, s
Sleep, speed
}
;;C
PixelSearch Px, Py, 1135, 918, 1135, 918, color, 3, Fast
PixelSearch PxQ, PyQ, 1181, 1016, 1181, 1016, color, 3, Fast ;;q
PixelSearch PxD, PyD, 1192, 906, 1192, 906, color, 3, Fast ;;d
if ( Px && Py ) && (!PxQ && !PyQ) && (!PxD && !PyD) {
Send, c
Sleep, speed
}
}
return