-
Notifications
You must be signed in to change notification settings - Fork 0
/
Hosidius-Cooker.ahk
76 lines (62 loc) · 1.36 KB
/
Hosidius-Cooker.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
#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, s2, 1000, 2000
Random, walkToRange, 3000, 3500
Random cookingSleepTime, 64000, 68000
;coordinate variables
;Click Range
Random, rangeX, 476, 492
Random, rangeY, 74, 83
;Bank
Random, bankChestX, 336, 347
Random, bankChestY, 476, 497
;Desposit Button Bank
Random, depositX, 670, 714
Random, depositY, 477, 522
;Banked Karam
Random, karamX, 420, 465
Random, karamY, 211, 245
;Screen coords
Random screenX, 15, 3052
Random screenY, 33, 1035
;mouseSpeeds
Random, mouseSpeed, 3, 5
; click range
MouseMove, rangeX, rangeY, mouseSpeed
click
sleep, walkToRange
sleep, genericSleep
Send {space}
Mousemove, screenX, screenY, mouseSpeed
sleep, cookingSleepTime
; click bank
MouseMove, bankChestX, bankChestY, mouseSpeed
click
sleep, walkToRange
sleep, genericSleep
; deposit
MouseMove, depositX, depositY, mouseSpeed
click
sleep, longerSleep,
sleep, longerSleep
; withdraw
MouseMove, karamX, karamY, mouseSpeed
click
sleep, longerSleep
Send {escape}
sleep, genericSleep
}
2::reload
3::exitapp