UOS target relative fishing?

Smokey McCallum

Grandmaster
I used to use a fishing macro to target relative location using UOSteam. It went something like;

usetype rod
waitfortarget
targetrelative 'self' 3

The target relative part doesnt seem to work for fishing anymore. Ive tested it using wall of stone and it works but just cant get it work for fishing. Am I missing something? Target relative still works on Razor for fishing so I doubt the feature would of been blocked on UOSteam but I duno. Help would be appreciated. :}
 

Greed

Master
Have you tried this one by Lopsang? Becauase afaik it still works great so maybe compare it with yours. :)

Comprehensive Fishing Macro (Fishing Start) by Lopsang

Please note this is a comprehensive fishing macro, you'll need 2 separate macros' : Fishing Start and Fishing Bottle (Note: You must name this macro 'FishingBottle', as the first macro calls it)
* This assumes you have archery and magery.
* Can easily be changed to use bandages instead
* Make sure you loop the first macro
* This only stops for bottles, however you could easily modify it to stop for monsters.
* Additionally for the sounds to work they need to be in /uosteam/sounds/
Sound Files: fishing.zip

//Author: Lopsang
if not @listexists 'xaxis'
@createlist 'xaxis'
@pushlist 'xaxis' 3
@pushlist 'xaxis' -3
endif
if not @listexists 'yaxis'
@createlist 'yaxis'
@pushlist 'yaxis' 3
@pushlist 'yaxis' -3
endif
if not listexists 'fish'
createlist 'fish'
@pushlist 'fish' '0x9ce'
@pushlist 'fish'' 0x9cf'
@pushlist 'fish' '0x9cc'
@pushlist 'fish' '0x9cd'
endif
while dead
playsound 'error.wav'
pause 8000
endwhile
if not @findobject 'bow'
promptalias 'bow'
endif
if not @findobject 'lefthand'
equipitem 'bow' 2
endif
if not @findobject 'pole' and @findtype 0xdbf 0x0 'self'
setalias 'pole' 'found'
endif
for 0 to 'xaxis'
for 0 to 'yaxis'
while not @injournal 'biting' 'system'
while dead
playsound 'error.wav'
pause 8000
endwhile
@canceltarget
@useobject 'pole'
waitfortarget 2000
targettileoffset! 'xaxis[]' 'yaxis[]' 0
pause 500
if not @injournal 'biting' 'system'
pause 7750
endif
if @injournal 'bottle' 'system'
clearjournal
playmacro 'Fishing Bottle'
endif
if @injournal 'mess' 'system'
clearjournal
@usetype! 0xdd6
pause 1000
@usetype! 0xdd6
pause 1000
endif
if @injournal 'closer' 'system'
clearjournal
resync
endif
//fishing cleanup
if weight >= maxweight
for 0 to 'fish'
while @findtype fish[] 'any' 'backpack'
usetype! 0xf52
waitfortarget 1000
target! 'found'
pause 600
endwhile
endfor
// adds to fishsteak pile on floor
if @findtype 0x97a 'any' 'ground' 'any' 2
movetype 0x97a 'backpack' 'found'
pause 600
else
//starts fishsteak pile on floor if doesnt exist
movetypeoffset 0x97a 'backpack' 'ground'
pause 600
endif
endif
//end fishing cleanup
while diffhits > 20
autotargetself
miniheal
pause 1500
endwhile
getenemy 'gray' 'closest'
if @inrange 'enemy' 4
@autotargetenemy
attack 'enemy'
endif
endwhile
clearjournal
endfor
clearjournal
endfor
msg 'forward'
pause 4000
msg 'stop'



Comprehensive Fishing Macro (Fishing Bottle) by Lopsang

//Author: Lopsang
while diffhits > 20
autotargetself
miniheal
pause 1500
endwhile
pause 4000
getenemy 'gray' 'closest'
while @findobject 'enemy'
if @inrange 'enemy' 4
@autotargetenemy
attack 'enemy'
endif
endwhile
if not @findobject 'bow'
promptalias 'bow'
endif
if not @findobject 'lefthand'
equipitem 'bow' 2
endif
pause 4000
if dead
playsound 'error.wav'
else
playsound 'alert.wav'
endif
 

Smokey McCallum

Grandmaster
@Greed Cheers mate. Ive just figured out how to use the targettileoffset so got it working. The script looks amazing but it has injournal commands, they dont work anymore do they?
 
Top