Legenis's Super Cool Auto Jacker by legenis
Description: This script just works. You do not need magery for it to recall. It will auto find your runebook or tomb and recall you out. If you like this, please follow me on www.twitch.tv/legenis
1
2@setvar! minimumWaitForPing 200
3@setvar! globalTimeout 650
4
5
6if not varexist jase_miner_runebook or not find jase_miner_runebook backpack
7 if counttype "runebook" backpack = 1 and counttype "runetome" backpack = 0 and findtype "runebook" backpack as myBook
8 overhead "Automatically selected your one runebook" 88
9 @setvar jase_miner_runebook myBook
10 elseif counttype "runebook" backpack = 0 and counttype "runetome" backpack = 1 and findtype "runetome" backpack as myBook
11 overhead "Automatically selected your one runetome" 88
12 @setvar jase_miner_runebook myBook
13 elseif counttype 7956 backpack = 1 and findtype 7956 backpack as myBook
14 overhead "Automatically selected your one rune" 88
15 @setvar jase_miner_runebook myBook
16 elseif counttype "runebook" backpack > 0 or counttype 7956 backpack > 0 or counttype "runetome" backpack > 0
17 overhead "Select your escape plan (runebook or runetome)" 88
18 @setvar jase_miner_runebook
19 endif
20endif
21
22
23if not listexists "lumberjack_actions"
24 createlist "lumberjack_actions"
25endif
26
27if not listexists "4-failures"
28 createlist "4-failures"
29endif
30
31if inlist "lumberjack_actions" "red_alert"
32 overhead "Red Alert!" 34
33 poplist "lumberjack_actions" "red_alert"
34 # You could also replace this magery bit with your ultimate recaller
35 # Ultimate Recall using Tome or Book as Escape (ALT-M)
36 # https://outlands.uorazorscripts.com/script/5b3fde97-fa90-4707-9f8e-7f56dca6792b
37 # hotkey "Play Script: UltimaRecaller"
38 if skill "Magery" >= 40
39 overhead 'Recalling...'
40 while not targetexists
41 if findtype 8012 backpack as item
42 dclick item
43 else
44 cast "Recall"
45 endif
46 wait minimumWaitForPing
47 if insysmsg "You do not have that spell!"
48 overhead "We cannot recall!" 34
49 break
50 endif
51 endwhile
52 target jase_miner_runebook
53 elseif skill "Hiding" >= 40
54 useskill "Hiding"
55 endif
56
57 overhead "Stopping script..." 34
58 //Legenis Fix for Jases Script
59
60 if not varexist jase_miner_runebook
61 say 'Pooping BRB - be gental'
62 endif
63
64
65getlabel jase_miner_runebook desc
66if "rune tome" in desc
67 dclick jase_miner_runebook
68 waitforgump 167090027
69 gumpresponse 100
70elseif "runebook" in desc
71 dclick jase_miner_runebook
72 waitforgump 1551740969
73 gumpresponse 2
74endif
75
76
77stop
78 # replay
79endif
80
81
82if skill "Tracking" > 0
83 if not findbuff "tracking"
84 clearsysmsg
85 while not gumpexists 4267467659
86 useskill 'tracking'
87 wait minimumWaitForPing
88 endwhile
89 if gumpexists 4267467659
90 while not insysmsg "You will now hunt all hostile players."
91 gumpresponse 8 4267467659
92 waitforgump 4267467659 5000
93 endwhile
94 gumpresponse 6 4267467659
95 wait minimumWaitForPing
96 endif
97 gumpclose 4267467659
98 endif
99endif
100
101
102
103# https://outlands.uorazorscripts.com/script/fd1c9331-fc25-4a89-8d75-3eba6a929247
104if skill "Healing" > 0
105 if findtype "clean bandage%s%" backpack as aids
106 if not bandaging and hp < maxhp
107 dclick aids
108 wft 500
109 hotkey 'Target Self'
110 elseif not bandaging and poisoned
111 dclick aids
112 wft 500
113 hotkey 'Target Self'
114 elseif not bandaging and findbuff "bleed"
115 dclick aids
116 wft 500
117 hotkey 'Target Self'
118 elseif not bandaging and findbuff "disease"
119 dclick aids
120 wft 500
121 hotkey 'Target Self'
122 endif
123 else
124 overhead "No bandages" 34
125 endif
126endif
127
128
129if lhandempty ?? 0
130 if findtype "hatchet" backpack
131 dclicktype 'hatchet' backpack
132 wait minimumWaitForPing
133 endif
134endif
135
136if lhandempty ?? 0
137 overhead "No more hatchet!" 34
138 wait minimumWaitForPing
139 replay
140endif
141
142clearsysmsg
143
144
145# It doesn't get much easier then this by Jaseowns
146# UO Outlands - https://youtu.be/jTU_pORdan4
147if not targetexists
148 hotkey "Use item in hand"
149 wft 500
150endif
151if targetexists
152 hotkey "Target Self"
153endif
154wait 500
155
156
157for 75
158 wait 150
159 if insysmsg 'world is saving'
160 pause 50
161 hotkey 'Clear Target Queue'
162 hotkey 'Cancel Current Target'
163 for 30
164 overhead 'Waiting for world save...'
165 wait 1000
166 if insysmsg 'save complete'
167 overhead 'Save complete - continue on!' 88
168 clearsysmsg
169 wait 250
170 replay
171 elseif insysmsg "now tracking"
172 pushlist "lumberjack_actions" "red_alert"
173 clearsysmsg
174 wait 250
175 replay
176 endif
177 endfor
178 elseif insysmsg "now tracking"
179 pushlist "lumberjack_actions" "red_alert"
180 replay
181 elseif insysmsg "harvestable"
182 wait 250
183 pushlist "4-failures" "failure"
184 replay
185 elseif lhandempty ?? 0
186 overhead "Broke axe" 34
187 replay
188 elseif insysmsg 'You do not see any' or insysmsg 'You cannot produce any wood'
189 wait 500
190 replay
191 elseif insysmsg "travel"
192 overhead 'Waiting for travel...'
193 wait 1000
194 replay
195 else
196 if insysmsg "any harvestable" or insysmsg "lumberjack_actions"
197 // No Ore
198 overhead 'Move to next spot' 88
199 replay
200 elseif insysmsg "skillgain" or insysmsg "harvesting is not allowed"
201 // Gained skill
202 replay
203 elseif insysmsg "world is saving" or insysmsg 'World save complete'
204 // World Save
205 replay
206 elseif insysmsg "You hack"
207 // Failed
208 replay
209 elseif insysmsg "You chop"
210 clearlist "4-failures"
211 replay
212 elseif insysmsg "You must wait"
213 // Wait message
214 overhead 'You must wait..' 34
215 wait 500
216 replay
217 endif
218 endif
219endfor
220
221
222
223loop