Page 1 of 1
uo steam mining macro help
Posted: Mon Jan 30, 2023 3:05 pm
by Geriatric
im trying to create a fairly basic macro for my wife to do mining so she can just push a button and mine at her feet
use object shovel
wait for target
target relative location
now the relative location is going to be right at the characters feet, the same tile the character is standing on
but im not sure what this line of code in the macro means or what to do with it
targettilerelative (serial) (range) [reverse: 'true' or 'false']
Re: uo steam mining macro help
Posted: Tue Jan 31, 2023 7:57 am
by sarmatian
have you tried ?
I have this code to mine one tile at the front of person (using direction)
this way I can mine places where I cannot stand. Like vertical cliffs.
Code: Select all
waitfortarget 2000
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
Re: uo steam mining macro help
Posted: Wed Feb 01, 2023 12:37 am
by Geriatric
just tried using both of those and they keep coming up as target cannot be seen
keeping the macro as simple as i can
useobject 0x41405193 <--- thats the shovel
waitfortarget 1000
targettileoffset 0 0 0
Re: uo steam mining macro help
Posted: Wed Feb 01, 2023 2:23 am
by Geriatric
update:
the macro works while in a mine in tokuno
but i get the target cannot be seen error while trying to mine at minoc
Re: uo steam mining macro help
Posted: Wed Feb 01, 2023 3:45 am
by malkari
At this point:
Code: Select all
useobject 0x436B73A1
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 750
replay
still some flaws but works in general.. still on details.. or if anyone has some extras..!?
Re: uo steam mining macro help
Posted: Wed Feb 01, 2023 8:12 am
by Eremite
I noticed that UO Steam can't target tile offsets in Trammel. It always says "cannot be seen". Razor didn't seem to have any problems at all though - haven't tried with Razor Enhanced yet.