hey guys
what wrong on this 1? it should be fishing at one spot, once its done and it says "there are no fish here" then it should distance + 1 to make another spot...
but it doest, at the moment it finish the first spot and then it just stop and do nothing more...
ive tried to put just a while (plus adding a line distance = distance + 1 at the end of the wend WHERE IT SHOULD BE) instead of that for function... but it didnt help at all... ive tried even repeat and no help as well... its real basic some of my mates did look at it but didnt figure out nothing usefull...
thanks
Code:
sub fishing()
uo.deletejournal()
var distance
var MyX = UO.GetX("self")
var MyY = UO.GetY("self")
while NOT uo.dead()
for distance = 1 to 6
while NOT uo.injournal("Try fishing in water|That is too far away|There are no fish here|location")
uo.deletejournal()
uo.waittargettile("1341", str(MyX-distance), str(MyY), "0")
uo.usetype("0x0DBF")
wait(500)
while NOT uo.injournal("You pull|You fish|Cancelled|Unexpected|see the target")
wait(200)
wend
wend
next
wend
end sub