Yoko
http://forum.yoko.com.ua/

Помогите плиз разобратца
http://forum.yoko.com.ua/viewtopic.php?f=20&t=14099
Page 1 of 1

Author:  oleg382363 [ 2008-10-25 11:15:58 ]
Post subject:  Помогите плиз разобратца

Вот скрипт на мининг он ходит ковает в зат вперед как можно переделать чтоб он хадил по заданым карденатам помогите если несложно очень надо



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

Author:  oleg382363 [ 2008-10-25 11:16:54 ]
Post subject:  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

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/