› General › Macro Help › Walking and Mining\Lumberjacking
- This topic has 7 replies, 4 voices, and was last updated 4 years, 5 months ago by sharnthor.
-
AuthorPosts
-
December 21, 2018 at 12:44 pm #1738
jogzgs
Member- Topics - 12
- Replies - 9
- Total - 21
- Novice
- ★★
Hi is anyone able to help out with a script to mine and lumberjack with walking
prefer UOS but Razor is fine as well
Any help is much appreciated
thnx
December 21, 2018 at 5:21 pm #1740krynn
Member- Topics - 3
- Replies - 38
- Total - 41
- Apprentice
- ★★★
Following for updates :D.
December 22, 2018 at 3:43 pm #1752FeST
Blocked- Topics - 8
- Replies - 30
- Total - 38
- Novice
- ★★
Use Orion!
December 22, 2018 at 3:47 pm #1753FeST
Blocked- Topics - 8
- Replies - 30
- Total - 38
- Novice
- ★★
MSK The Best!
December 22, 2018 at 3:49 pm #1754FeST
Blocked- Topics - 8
- Replies - 30
- Total - 38
- Novice
- ★★
Bor.ka@mail.ru its Im…
December 23, 2018 at 9:36 am #1766jogzgs
Member- Topics - 12
- Replies - 9
- Total - 21
- Novice
- ★★
mining script for UOS
needs workif not @findalias ‘Beetle3’
promptalias ‘Beetle3’
endif
if counttype 0x19b9 ‘any’ ‘backpack’ < 188
movetype 0x19b9 ‘backpack’ ‘Beetle3’
endif
if not listexists ‘miningerrormessages’
createlist ‘miningerrormessages’
pushlist ‘miningerrormessages’ ‘no metal here’
pushlist ‘miningerrormessages’ “You can’t mine there”
pushlist ‘miningerrormessages’ “Target cannot be seen”
pushlist ‘miningerrormessages’ “You can’t mine that”
endif
if @findtype 0xe86 ‘any’ ‘backpack’ or @findtype 0xf39 ‘any’ ‘backpack’
useobject ‘found’
else
sysmsg “You do not have any digging tools!”
stop
endif
waitfortarget 500
if direction == 0
targettileoffset 0 -1 0
elseif direction == 1
targettileoffset 1 -1 0
elseif direction == 2
targettileoffset 1 0 0
elseif direction == 3
targettileoffset 1 1 0
elseif direction == 4
targettileoffset 0 1 0
elseif direction == 5
targettileoffset -1 1 0
elseif direction == 6
targettileoffset -1 0 0
elseif direction == 7
targettileoffset -1 -1 0
endif
pause 200
if @findtype 0xe86 ‘any’ ‘backpack’ or @findtype 0xf39 ‘any’ ‘backpack’
useobject ‘found’
else
sysmsg “You do not have any digging tools!”
stop
endif
waitfortarget 500
if direction == 1
targettileoffset 0 -1 0
elseif direction == 2
targettileoffset 1 -1 0
elseif direction == 3
targettileoffset 1 0 0
elseif direction == 4
targettileoffset 1 1 0
elseif direction == 5
targettileoffset 0 1 0
elseif direction == 6
targettileoffset -1 1 0
elseif direction == 7
targettileoffset -1 0 0
elseif direction == 0
targettileoffset -1 -1 0
endif
pause 200
if @findtype 0xe86 ‘any’ ‘backpack’ or @findtype 0xf39 ‘any’ ‘backpack’
useobject ‘found’
else
sysmsg “You do not have any digging tools!”
stop
endif
waitfortarget 500
if direction == 7
targettileoffset 0 -1 0
elseif direction == 0
targettileoffset 1 -1 0
elseif direction == 1
targettileoffset 1 0 0
elseif direction == 2
targettileoffset 1 1 0
elseif direction == 3
targettileoffset 0 1 0
elseif direction == 4
targettileoffset -1 1 0
elseif direction == 5
targettileoffset -1 0 0
elseif direction == 6
targettileoffset -1 -1 0
endif
pause 10December 24, 2018 at 5:27 am #1772sharnthor
Member- Topics - 21
- Replies - 90
- Total - 111
- Expert
- ★★★★★
Thank you jogzgs. I’ll give this a try later today
December 24, 2018 at 7:55 am #1773sharnthor
Member- Topics - 21
- Replies - 90
- Total - 111
- Expert
- ★★★★★
Okay… Try this on for size 🙂 I’ve taken your script and made it “better”, I hope you don’t mind jogzgs
if not @findalias “Buggie” //set your storage animal
promptalias “Buggie”
endif
while not @injournal ‘no metal here’ and not @injournal “can’t mine that”
if @findtype 0xf39 “any” “backpack” //set shovels
useobject “found”
else
sysmsg “You do not have any digging tools!”
for 1 to 300 //do arms lore if you cannot mine for any reason
useskill ‘Arms Lore’
waitfortarget 15000
target! 0x4021629b //set to a dagger in my backpack
pause 10000
endfor
usetype 0x97b ‘backpack’ //eat fish steaks
pause 1000
endif
waitfortarget 15000
if direction == 0
targettileoffset 0 -1 0
elseif direction == 1
targettileoffset 1 -1 0
elseif direction == 2
targettileoffset 1 0 0
elseif direction == 3
targettileoffset 1 1 0
elseif direction == 4
targettileoffset 0 1 0
elseif direction == 5
targettileoffset -1 1 0
elseif direction == 6
targettileoffset -1 0 0
elseif direction == 7
targettileoffset -1 -1 0
endif
pause 7500
endwhile
while @findtype 0x19b9 “any” “backpack” //looking for ore to move to Buggie
movetype 0x19b9 “backpack” “Buggie”
pause 1000
endwhile
clearjournal -
AuthorPosts
- You must be logged in to reply to this topic.