-
Notifications
You must be signed in to change notification settings - Fork 0
/
Wine.ahk
88 lines (71 loc) · 1.6 KB
/
Wine.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
#SingleInstance force
;Prerequistes -
;RuneLite window = x: 207 y: 95 w: 1476 h: 791
;Client zoom: 400/896
; Client
1::
loop {
;Random Variables Declarations
;Click speed
Random, clickSpeed1, 500, 700
Random, clickSpeed2, 1000, 2000
;Sleeps
Random, genericSleep, 200, 300
Random, longerSleep, 300, 500
Random, makingWineSleepTime, 17000, 18500
;coordinate variables
;Withdraw jug and grapes
Random, jugX, 206, 227
Random, jugY, 160, 192
Random, grapesX, 282, 304
Random, grapesY, 160, 185
;Wine in inventory
Random, wineInvX, 902, 916
Random, wineInvY, 365, 383
;Ingredients in Inventory
Random, jugInvX, 968, 986
Random, jugInvY, 524, 547
Random, grapesInvX, 1034, 1050
Random, grapesInvY, 524, 547
;Bank
Random, bankX, 352, 442
Random, bankY, 102, 170
;Screen coords
Random screenX, 15, 3052
Random screenY, 33, 1035
;mouseSpeeds
Random, mouseSpeed, 3, 5
Random, mouseSpeed2, 5, 8
; click mix ingredients
MouseMove, jugInvX, jugInvY, mouseSpeed
click
sleep, genericSleep
MouseMove, grapesInvX, grapesInvY, mouseSpeed
click
sleep, longerSleep
sleep, longerSleep
sleep, longerSleep
send, {space}
sleep, makingWineSleepTime
sleep, genericSleep
; bank wines
MouseMove, bankX, bankY, mouseSpeed2
click
sleep, longerSleep
; deposit
sleep, longerSleep
MouseMove, wineInvX, wineInvY, mouseSpeed2
click
sleep, longerSleep,
; click ingredients
MouseMove, jugX, jugY, mouseSpeed2
click
sleep, genericSleep
MouseMove, grapesX, grapesY, mouseSpeed
click
sleep, genericSleep
send, {escape}
sleep, genericSleep
}
2::reload
3::exitapp