This repository has been archived by the owner on Oct 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
movement.ahk
626 lines (601 loc) · 9.47 KB
/
movement.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
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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
;MOVEMENT
vertct1()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -1156, "UInt", 0) ;1)
sleep 500
Send, {a Down}
Sleep, 703
Send, {a Up}
Sleep, 157
Send, {w Down}
Sleep, 1156
Send, {w Up}
Sleep, 984
Send, {a Down}
Sleep, 172
Send, {a Up}
Sleep, 750
Send, {w Down}
Sleep, 1859
Send, {a Down}
Sleep, 1657
Send, {a Up}{w Up}
lastMove := "ct"
}
vertct2()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", 2391, "UInt", 0) ;2)
sleep 500
Send, {w Down}
Sleep, 1812
Send, {w Up}
Sleep, 204
Send, {a Down}
Sleep, 1906
Send, {a Up}
Sleep, 437
Send, {w Down}
Sleep, 578
Send, {a Down}
Sleep, 2110
Send, {a Up}{w Up}
lastMove := "ct"
}
vertct3()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", 576, "UInt", 0) ;3)
sleep 500
Send, {a Down}
Sleep, 1344
Send, {a Up}
Sleep, 875
Send, {a Down}
Sleep, 1344
Send, {a Up}
Sleep, 406
Send, {w Down}
Sleep, 2125
Send, {a Down}
Sleep, 2563
Send, {a Up}
Sleep, 15
Send, {w Up}
lastMove := "ct"
}
vertct4()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", 30, "UInt", 0) ;4)
sleep 500
Send, {a Down}
Sleep, 1719
Send, {a Up}
Sleep, 125
Send, {w Down}
Sleep, 2360
Send, {a Down}
Sleep, 1718
Send, {a Up}
Sleep, 16
Send, {w Up}
lastMove := "ct"
}
vertct5()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", 1808, "UInt", 0) ;5)
sleep 500
Send, {w Down}
Sleep, 1843
Send, {w Up}
Sleep, 282
Send, {a Down}
Sleep, 1562
Send, {w Down}
Sleep, 938
Send, {a Up}
Sleep, 15
Send, {w Up}
lastMove := "ct"
Return
}
vertct6()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", 573, "UInt", 0) ;6)
Sleep(453)
Send, {a Down}
Sleep, 235
Send, {a Up}
Sleep, 484
Send, {w Down}
Sleep, 1266
Send, {a Down}
Sleep, 2937
Send, {a Up}
Sleep, 31
Send, {w Up}
lastMove := "ct"
}
vertct7()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", 30, "UInt", 0) ;7)
sleep 500
Send, {d Down}
Sleep, 110
Send, {d Up}
Sleep, 1015
Send, {w Down}
Sleep, 1328
Send, {a Down}
Sleep, 2813
Send, {a Up}
Sleep, 16
Send, {w Up}
lastMove := "ct"
}
vertct8()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", 1808, "UInt", 0) ;8)
sleep 500
Send, {w Down}
Sleep, 563
Send, {w Up}
Sleep, 500
Send, {a Down}
Sleep, 2062
Send, {w Down}
Sleep, 2250
Send, {a Up}
Sleep, 16
Send, {w Up}
lastMove := "ct"
}
vertct9()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", 623, "UInt", 0) ;9)
sleep 500
Send, {a Down}
Sleep, 1141
Send, {a Up}
Sleep, 203
Send, {w Down}
Sleep, 1609
Send, {w Up}
Sleep, 516
Send, {a Down}
Sleep, 531
Send, {a Up}
Sleep, 797
Send, {w Down}
Sleep, 1078
Send, {a Down}
Sleep, 4625
Send, {a Up}
Sleep, 16
Send, {w Up}
lastMove := "ct"
}
vertct10()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", 3063, "UInt", 0) ;10)
sleep 500
Send, {w Down}
Sleep, 1734
Send, {w Up}
Sleep, 94
Send, {a Down}
Sleep, 1672
Send, {w Down}
Sleep, 4234
Send, {a Up}
Sleep, 16
Send, {w Up}
lastMove := "ct"
}
vertct11()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -3498, "UInt", 0) ;11)
sleep 500
Send, {a Down}
Sleep, 765
Send, {a Up}
Sleep, 719
Send, {w Down}
Sleep, 2266
Send, {a Down}
Sleep, 3672
Send, {a Up}
Sleep, 15
Send, {w Up}
lastMove := "ct"
}
vertct12()
{
;-67
DllCall("mouse_event", "UInt", 0x01, "UInt", -613, "UInt", -18) ;12)
sleep 500
Send, {a Down}
Sleep, 813
Send, {a Up}
Sleep, 687
Send, {w Down}
Sleep, 1188
Send, {a Down}
Sleep, 2984
Send, {a Up}
Sleep, 16
Send, {w Up}
lastMove := "ct"
}
vertct13()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", 3063, "UInt", 0) ;13)
sleep 500
Send, {a Down}
Sleep, 422
Send, {a Up}
Sleep, 657
Send, {w Down}
Sleep, 1812
Send, {a Down}
Sleep, 3063
Send, {a Up}
Sleep, 15
Send, {w Up}
lastMove := "ct"
}
vertct14()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -3498, "UInt", 0) ;14)
sleep 500
Send, {a Down}
Sleep, 1031
Send, {a Up}
Sleep, 156
Send, {w Down}
Sleep, 891
Send, {a Down}
Sleep, 2281
Send, {a Up}
Sleep, 16
Send, {w Up}
lastMove := "ct"
}
vertct15()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -1877, "UInt", 0) ;15)
sleep 500
Send, {w Down}
Sleep, 2281
Send, {a Down}
Sleep, 47
Send, {w Up}
Sleep, 1547
Send, {w Down}
Sleep, 3516
Send, {a Up}
Sleep, 15
Send, {w Up}
lastMove := "ct"
}
longrun()
{
Send, {S Down}
Sleep, 1531
Send, {s Up}
Sleep, 250
Send, {A Down}
Sleep, 7625
Send, {a Up}
Sleep, 50
Send, {W Down}
Sleep, 4281
Send, {w Up}
Sleep, 50
Send, {D Down}
Sleep, 5984
Send, {d Up}
Sleep, 50
Send, {W Down}
Sleep, 3906
Send, {w Up}
Sleep, 50
Send, {D Down}
Sleep, 3578
Send, {d Up}
Return
}
vertt1()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -4337, "UInt", 0) ;2
Send, {a Down}
Sleep, 1328
Send, {a Up}
Sleep, 516
Send, {s Down}
Sleep, 3125
Send, {a Down}
Sleep, 2390
Send, {a Up}
Sleep, 16
Send, {s Up}
lastMove := "t"
}
vertt2()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -3912, "UInt", 0) ;2
Send, {a Down}
Sleep, 1359
Send, {a Up}
Sleep, 610
Send, {s Down}
Sleep, 4031
Send, {a Down}
Sleep, 1297
Send, {a Up}
Sleep, 15
Send, {s Up}
lastMove := "t"
}
vertt3()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", 1393, "UInt", 0) ;2
Send, {a Down}
Sleep, 1265
Send, {a Up}
Sleep, 391
Send, {s Down}
Sleep, 3172
Send, {a Down}
Sleep, 2125
Send, {a Up}
Sleep, 31
Send, {s Up}
lastMove := "t"
}
vertt4()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -2934, "UInt", 0) ;2
Send, {a Down}
Sleep, 1156
Send, {a Up}
Sleep, 516
Send, {s Down}
Sleep, 3750
Send, {a Down}
Sleep, 1546
Send, {a Up}
Sleep, 16
Send, {s Up}
lastMove := "t"
}
vertt5()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -4831, "UInt", 0) ;2
Send, {a Down}
Sleep, 890
Send, {a Up}
Sleep, 516
Send, {s Down}
Sleep, 2922
Send, {a Down}
Sleep, 2375
Send, {a Up}{s Up}
lastMove := "t"
}
vertt6()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -2351, "UInt", 0) ;2
Send, {a Down}
Sleep, 907
Send, {a Up}
Sleep, 687
Send, {s Down}
Sleep, 3625
Send, {a Down}
Sleep, 3438
Send, {a Up}
Sleep, 15
Send, {s Up}
lastMove := "t"
}
vertt7()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -3448, "UInt", 0) ;2
Send, {a Down}
Sleep, 828
Send, {a Up}
Sleep, 469
Send, {s Down}
Sleep, 3906
Send, {a Down}
Sleep, 1859
Send, {s Up}
Sleep, 16
Send, {a Up}
lastMove := "t"
}
vertt8()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -3023, "UInt", 0)
Send, {a Down}
Sleep, 594
Send, {a Up}
Sleep, 344
Send, {s Down}
Sleep, 3859
Send, {a Down}
Sleep, 2000
Send, {a Up}
Sleep, 16
Send, {s Up}
lastMove := "t"
}
vertt9()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -3942, "UInt", 0)
Send, {a Down}
Sleep, 641
Send, {a Up}
Sleep, 656
Send, {s Down}
Sleep, 4984
Send, {a Down}
Sleep, 2594
Send, {a Up}
Sleep, 31
Send, {s Up}
lastMove := "t"
}
vertt10()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -2045, "UInt", 0)
Send, {a Down}
Sleep, 328
Send, {a Up}
Sleep, 313
Send, {s Down}
Sleep, 4984
Send, {a Down}
Sleep, 2000
Send, {a Up}
Sleep, 31
Send, {s Up}
lastMove := "t"
}
vertt11()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -2556, "UInt", 0)
Send, {a Down}
Sleep, 391
Send, {a Up}
Sleep, 625
Send, {s Down}
Sleep, 4828
Send, {a Down}
Sleep, 1516
Send, {a Up}
Sleep, 46
Send, {s Up}
lastMove := "t"
}
vertt12()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -1462, "UInt", 0)
Send, {a Down}
Sleep, 172
Send, {a Up}
Sleep, 672
Send, {s Down}
Sleep, 4078
Send, {a Down}
Sleep, 2547
Send, {a Up}
Sleep, 16
Send, {s Up}
lastMove := "t"
}
vertt13()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -2134, "UInt", 0)
Send, {s Down}
Sleep, 4937
Send, {a Down}
Sleep, 3578
Send, {a Up}{s Up}
lastMove := "t"
}
vertt14()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -1156, "UInt", 0)
Send, {s Down}
Sleep, 4984
Send, {a Down}
Sleep, 3266
Send, {a Up}
Sleep, 16
Send, {s Up}
lastMove := "t"
}
vertt15()
{
DllCall("mouse_event", "UInt", 0x01, "UInt", -573, "UInt", 0)
Send, {s Down}
Sleep, 3688
Send, {s Up}
Sleep, 891
Send, {d Down}
Sleep, 140
Send, {d Up}
Sleep, 1219
Send, {s Down}
Sleep, 2562
Send, {a Down}
Sleep, 2000
Send, {a Up}{s Up}
lastMove := "t"
}
tlongrun()
{
Send, {s Down}
Sleep, 15
Send, {a Down}
Sleep, 500
Send, {Space Down}
Sleep, 125w
Send, {Space Up}
Sleep, 1200
Send, {a Up}
Sleep, 31
Send, {s Up}
Sleep, 172
Send, {d Down}
Sleep, 3125
Send, {d Up}
Sleep, 50
Send, {s Down}
Sleep, 468
Send, {s Up}
Sleep, 50
Send, {d Down}
Sleep, 469
Send, {d Up}
Sleep, 578
Send, {s Down}
Sleep, 5672
Send, {s Up}
Sleep, 187
Send, {d Down}
Sleep, 2450
Send, {d Up}
Sleep, 625
Send, {w Down}
Sleep, 5421
Send, {w Up}
Sleep, 360
Send, {d Down}
Sleep, 500
Send, {d Up}
Sleep, 50
Send, {w Down}
Sleep, 3329
Send, {w Up}
Sleep, 93
Send, {d Down}
Sleep, 938
Send, {d Up}
Sleep, 453
Send, {w Down}
Sleep, 3375
Send, {w Up}
Sleep, 50
Send, {a Down}
Sleep, 390
Send, {a Up}
Sleep, 50
Send, {w Down}
Sleep, 516
Send, {w Up}
}
Sleep(ms=1)
{
DllCall("Sleep", UInt, ms)
}