-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTEST IMAGES.ahk.bak
211 lines (181 loc) · 9.03 KB
/
TEST IMAGES.ahk.bak
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
CoordMode Pixel, Screen
CoordMode Mouse, Screen
!p::Pause
F6::play()
FoundX := 0
FoundY := 0
F4::launch()
launch()
{
run "c:\Program Files\Sandboxie\Start.exe" /elevate /silent /box:01 "c:\Program Files (x86)\Steam\Steam.exe" -login AyTXZU26YknP UGz3pRejdr7U -applaunch 730 -silent -windowed -nosound -novid -nojoy -noaafonts -low -h 480 -w 640 -x 0 -y 0
sleep 5000
run "c:\Program Files\Sandboxie\Start.exe" /elevate /silent /box:02 "c:\Program Files (x86)\Steam\Steam.exe" -login du7cB9bYFkGj nHJQ83wvfPH2 -applaunch 730 -silent -windowed -nosound -novid -nojoy -noaafonts -low -h 480 -w 640 -x 641 -y 0
sleep 5000
run "c:\Program Files\Sandboxie\Start.exe" /elevate /silent /box:03 "c:\Program Files (x86)\Steam\Steam.exe" -login Tg5Kua5uhT6Q LKjbpTcKhtpy -applaunch 730 -silent -windowed -nosound -novid -nojoy -noaafonts -low -h 480 -w 640 -x 1281 -y 0
sleep 5000
run "c:\Program Files\Sandboxie\Start.exe" /elevate /silent /box:04 "c:\Program Files (x86)\Steam\Steam.exe" -login TcmnEj7DaDGW Xj38AeExTT5c -applaunch 730 -silent -windowed -nosound -novid -nojoy -noaafonts -low -h 480 -w 640 -x 1921 -y 0
sleep 5000
run "c:\Program Files\Sandboxie\Start.exe" /elevate /silent /box:05 "c:\Program Files (x86)\Steam\Steam.exe" -login vauzSZdQ84W3 QYsWyungWyG7 -applaunch 730 -silent -windowed -nosound -novid -nojoy -noaafonts -low -h 480 -w 640 -x 1921 -y 481
sleep 6000
run "c:\Program Files\Sandboxie\Start.exe" /elevate /silent /box:06 "c:\Program Files (x86)\Steam\Steam.exe" -login QB2frkNah4SP uD4PqUaawGDz -applaunch 730 -silent -windowed -nosound -novid -nojoy -noaafonts -low -h 480 -w 640 -x 0 -y 481
sleep 6000
run "c:\Program Files\Sandboxie\Start.exe" /elevate /silent /box:07 "c:\Program Files (x86)\Steam\Steam.exe" -login mDJzgp2kHCD5 WRzMVzL6s7Am -applaunch 730 -silent -windowed -nosound -novid -nojoy -noaafonts -low -h 480 -w 640 -x 641 -y 481
sleep 7000
run "c:\Program Files\Sandboxie\Start.exe" /elevate /silent /box:08 "c:\Program Files (x86)\Steam\Steam.exe" -login WJGqUTGBg6eK 2zpeDxb74Fwy -applaunch 730 -silent -windowed -nosound -novid -nojoy -noaafonts -low -h 480 -w 640 -x 1281 -y 481
sleep 8000
run "c:\Program Files\Sandboxie\Start.exe" /elevate /silent /box:09 "c:\Program Files (x86)\Steam\Steam.exe" -login beigewayed456542 WHt3kpPP -applaunch 730 -silent -windowed -nosound -novid -nojoy -noaafonts -low -h 480 -w 640 -x 2561 -y 0
sleep 9000
run "c:\Program Files\Sandboxie\Start.exe" /elevate /silent /box:10 "c:\Program Files (x86)\Steam\Steam.exe" -login investorsbelch jvDzpM38 -applaunch 730 -silent -windowed -nosound -novid -nojoy -noaafonts -low -h 480 -w 640 -x 2561 -y 481
}
play()
{
lobby = 1
loading = 0
win = 0
script = 0
script1 = 0
go = 1
firstrun = 0
teamwin = 0
wins = 0
join = 1 ; 1 is run 0 will not
; OutputDebug
loop
{
Sleep 1000
If ( lobby = 1 )
{
ImageSearch, FoundX, FoundY, 0, 0, 3840, A_ScreenHeight, go.png
If (ErrorLevel = 2){
MsgBox Could not conduct the search.
}
Else{
If (ErrorLevel = 1){
;level 1 means not found
go = 0 ; this is trash code
}
Else{
x := FoundX
y := FoundY
MouseClick, left, x, y
go = 1
Sleep 5100
}
}
}
If ( go = 0 )
{
ImageSearch, FoundX, FoundY, 0, 0, 3840, 540, accept.png
If (ErrorLevel = 2)
{
MsgBox Could not conduct the search.
}
Else{
If (ErrorLevel = 1)
{
a1 = 0 ; this is trash code
}
Else{
a1 = 1
sleep 5000
}
}
ImageSearch, FoundX, FoundY, 0, 540, 3840, 1080, accept.png
If (ErrorLevel = 2)
{
MsgBox Could not conduct the search.
}
Else{
If (ErrorLevel = 1)
{
a2 = 0 ; this is trash code
}
Else{
a2 = 1
sleep 5000
}
}
If ( a1 = 1 && a2 = 1 )
{
; acceptseen = 1
; while ( acceptseen = 1 )
; {
Run accept.bat ; ImageSearch, FoundX, FoundY, 0, 0, 3840, 1080, accept.png
Sleep 5000 ; x := FoundX
; y := FoundY
; MouseClick, left, x, y
; Sleep 181
; If (ErrorLevel = 1)
; acceptseen = 0
;}
a1 = 0
a2 = 0
lobby = 0
loading = 1
firstrun = 1
go = 1
}
Else{
If ( a1 = 1 or a2 = 1 )
{
cross = 0
while ( cross < 5 )
{
ImageSearch, FoundX, FoundY, 0, 0, 3840, A_ScreenHeight, close.png
If (ErrorLevel = 1)
{
cross = 6 ; this is trash code
}
Else{
cross++
sleep 200
x := FoundX
y := FoundY
MouseClick, left, x, y
}
}
}
}
}
if ( loading = 1 )
{
if ( firstrun = 1 )
{
; run startscript.bat
sleep 70000
sleep 50000
firstrun = 0
wins = 0
teamwin = 0
}
while ( wins <= 16 )
{
while ( teamwin <= 8 )
{
Run top.bat
sleep 60000
teamwin++
win++
}
Run bottom.bat
sleep 60000
win++
}
loading = 0
; Run stopscript.bat
sleep 5000
join = 1
}
if ( join = 1 )
{
run join.bat
sleep 30000
join = 0
lobby = 1
}
} ; loop
} ; play