basic script - proc sakra nejede?
Napsal: 19 dub 2011 18:24
zkousel sem udelat slozitejsi fishing s chozenim a rybarenim ze brehu, ale, zasek sem se hned na zacatku ze mi nejede to for a meneni distance.... zkousel sem mito for dat jen while a vzdy dole pripocitat k distance + 1, ani to nejelo, tak sem zkusil repeat a zas pripocitava, a nakonec sem zkousel dat jen if uo.injournal("There are no fish here") then distance = distance + 1... ale ani to nejede...
co to dela? jakmile vyrybari to jendo policko, tak stoji a cumi... pricemz by mel pripocitat distance + 1 a pokracovat o policko dal...
co to dela? jakmile vyrybari to jendo policko, tak stoji a cumi... pricemz by mel pripocitat distance + 1 a pokracovat o policko dal...
Kód: Vybrat vše
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