Вот скрипт на мининг он ходит ковает в зат вперед как можно переделать чтоб он хадил по заданым карденатам помогите если несложно очень надо
sub main()
var i
uo.print("Poneslas`!!!")
While UO.Life>0
for i=1 to 6
kopat()
uo.press(34)
wait(500)
uo.press(34)
wait(500)
next
uo.press(33)
wait(500)
uo.press(33)
wait(500)
uo.print("Idem nazad!!!")
kopat()
for i=1 to 6
uo.press(36)
wait(500)
uo.press(36)
wait(500)
next
uo.press(33)
wait(500)
uo.press(33)
wait(500)
wend
end sub
sub kopat()
var where_x,where_y,coords,i
UO.DeleteJournal()
where_x=uo.getx()
where_y=uo.gety()
for i=-2 to 2
uo.print("Kopaem "+str(i+3)+"/5")
coords="waittargettile "+" 1343 "+str(where_x)+" "+str(where_y+i)+" 0"
uo.exec(coords)
uo.exec("usetype '0x0E85'")
UO.DeleteJournal()
while (not (UO.InJournal("ïðåêðàòèëè") or UO.InJournal("äàëåêî")))
wait(1000)
wend
next
end sub
Помогите плиз разобратца
Moderators: Murderator+, Murderator
-
- Posts: 10
- Joined: 2008-02-25 14:32:59
Re: Помогите плиз разобратца
oleg382363 wrote:Вот скрипт на мининг он ходит копает в зад вперед как можно переделать чтоб он хадил по заданым карденатам помогите если несложно очень надо
sub main()
var i
uo.print("Poneslas`!!!")
While UO.Life>0
for i=1 to 6
kopat()
uo.press(34)
wait(500)
uo.press(34)
wait(500)
next
uo.press(33)
wait(500)
uo.press(33)
wait(500)
uo.print("Idem nazad!!!")
kopat()
for i=1 to 6
uo.press(36)
wait(500)
uo.press(36)
wait(500)
next
uo.press(33)
wait(500)
uo.press(33)
wait(500)
wend
end sub
sub kopat()
var where_x,where_y,coords,i
UO.DeleteJournal()
where_x=uo.getx()
where_y=uo.gety()
for i=-2 to 2
uo.print("Kopaem "+str(i+3)+"/5")
coords="waittargettile "+" 1343 "+str(where_x)+" "+str(where_y+i)+" 0"
uo.exec(coords)
uo.exec("usetype '0x0E85'")
UO.DeleteJournal()
while (not (UO.InJournal("ïðåêðàòèëè") or UO.InJournal("äàëåêî")))
wait(1000)
wend
next
end sub