-
Notifications
You must be signed in to change notification settings - Fork 0
/
MakroKit.ahk
215 lines (198 loc) · 4.12 KB
/
MakroKit.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
;==================================================================================================
#NoEnv
SetBatchLines -1
SetTitleMatchMode 2
#SingleInstance Force
#NoTrayIcon
;by: jakiś ziomek z reddita
;kot poprawił i dodał coś od siebie
;===================================================================================================
;GUI
;===================================================================================================
; Generated by AutoGUI 1.4.9a
; Naprawione przez k0
#NoEnv
#SingleInstance Force
SetWorkingDir %A_ScriptDir%
wintit = Minecraft 1. ahk_exe javaw.exe
Gui Font, Italic
Gui Add, Text, x87 y40 w60 h24 +0x200, by k0, v. 3.3
Gui Font
Gui Add, Button, x5 y176 w95 h36 gFishing, % " Przytrzymywanie ppm"
Gui Add, Button, x109 y176 w95 h36 gDig, % "Przytrzymywanie lpm"
Gui Add, Text, x5 y224 w197 h31, Co ile sekund ma być wykonywane kliknięcie?
Gui Add, Edit, x5 y264 w197 h21 vKlik
Gui Add, Button, x5 y288 w80 h23 gclicklpm, % "LPM"
Gui Add, Button, x117 y288 w80 h23 gclickppm, % "PPM"
Gui Add, Button, x5 y328 w197 h23 grapidppm, % "Spam ppm"
Gui Add, Button, x5 y352 w197 h23 grapidlpm, % "Spam lpm"
Gui Add, Text, x5 y392 w192 h23 +0x200, Wpisz ilość CPS dla autoklikera
Gui Add, Edit, x5 y416 w192 h21 vCPS
Gui Add, Button, x5 y440 w80 h23 gSpamlpm, % "LPM"
Gui Add, Button, x117 y440 w80 h23 gSpamppm, % "PPM"
Gui Add, Button, x5 y480 w192 h38 gStop, % "Zatrzymaj wszystkie makra"
Gui Font, s20 Bold, Arial
Gui Add, Text, x28 y8 w152 h32 +0x200 Center, MakroKit
Gui Font
Gui Add, Text, x11 y72 w186 h44, Jeśli program nie działa, ponieważ Twoje okno Minecrafta ma inną nazwę niż standardowa, zmień ją tutaj:
Gui Add, Edit, x-392 y-64 w186 h21, vCPS
Gui Add, Button, x11 y137 w186 h23 gName, % "Zmień nazwę"
Gui Add, Edit, x11 y116 w186 h21 vNazwa
Gui Show, w208 h526, MakroKit
WinSet, Transparent, 170, MakroKit
Return
GuiEscape:
GuiClose:
BreakLoop = 1
ExitApp
;===================================================================================================
;===================================================================================================
Fishing:
{
IfWinExist %wintit%
BreakLoop = 0
ControlClick, , %wintit%, ,Right, , NAD
Loop
{
if (BreakLoop = 1)
{
Sleep 500
ControlClick, , %wintit%, ,Right, , NAU
BreakLoop = 0
break
}
}
Return
}
Dig:
{
IfWinExist %wintit%
BreakLoop = 0
ControlClick, , %wintit%, ,Left, , NAD
Loop
{
if (BreakLoop = 1)
{
Sleep 500
ControlClick, , %wintit%, ,Left, , NAU
BreakLoop = 0
break
}
}
Return
}
rapidlpm:
{
IfWinExist %wintit%
BreakLoop = 0
Loop
{
if (BreakLoop = 1)
{
BreakLoop = 0
break
}
ControlClick, , %wintit%, ,Left, , NAD
Sleep 100
ControlClick, , %wintit%, ,Left, , NAU
}
Return
}
rapidppm:
{
IfWinExist %wintit%
BreakLoop = 0
Loop
{
if (BreakLoop = 1)
{
BreakLoop = 0
break
}
ControlClick, , %wintit%, ,Right, , NAD
Sleep 100
ControlClick, , %wintit%, ,Right, , NAU
}
Return
}
clicklpm:
{
Gui, Submit, NoHide
IfWinExist %wintit%
BreakLoop = 0
Loop
{
if (BreakLoop = 1)
{
BreakLoop = 0
break
}
ControlClick, , %wintit%, ,Left, , NA
Sleep 1000 * Klik
}
Return
}
clickppm:
{
Gui, Submit, NoHide
IfWinExist %wintit%
BreakLoop = 0
Loop
{
if (BreakLoop = 1)
{
BreakLoop = 0
break
}
ControlClick, , %wintit%, ,Left, , NA
Sleep 1000 * Klik
}
Return
}
Spamlpm:
{
Gui, Submit, NoHide
IfWinExist %wintit%
BreakLoop = 0
Loop
{
if (BreakLoop = 1)
{
BreakLoop = 0
break
}
Sleep 1000 / CPS
ControlClick, , %wintit%, ,Left, , NA
}
Return
}
Spamppm:
{
Gui, Submit, NoHide
IfWinExist %wintit%
BreakLoop = 0
Loop
{
if (BreakLoop = 1)
{
BreakLoop = 0
break
}
Sleep 1000 / CPS
ControlClick, , %wintit%, ,Right, , NA
}
Return
}
;==================================================================================================
Stop:
{
BreakLoop = 1
return
}
;===================================================================================================
Name:
{
Gui, Submit, NoHide
wintit := Nazwa
return
}