Ребят всем привет у меня вот такая проблема!
Я играю на ZuluRessurect, у меня есть скрипт на мининг с ходьбой, но проблема в том что он ходит где-то 2-3 раза туда-сюда и потом почему то останавливаеться, помогите в чем проблема??? исправьте ошибку...
билд инжекта Yoko Build 308.20 , а вот сам скрипт! Сейчас он настроен на 14 шагов.
sub main()
uo.DeleteJournal()
var a,b,y,coords,place,where_x,where_y
var tool='0x0E85', ore='0x19B9', map='0x14ED'
while true
uo.press(34)
for a = 1 to 14
for y = 0 to 2
where_x=uo.getx()
where_y=uo.gety()
coords="waittargettile "+" 1339 "+str(where_x)+" "+str(where_y+y)+" 0" #cave
uo.exec(coords)
uo.usetype(tool)
repeat
wait(100)
until uo.InJournal("stop") or uo.InJournal("can't")
uo.DeleteJournal()
next
wait(500)
place=uo.getx()
uo.press(34)
while uo.getx()==place
wait(500)
wend
next
uo.press(36)
for b = 1 to 14
for y = 1 to 2
where_x=uo.getx()
where_y=uo.gety()
coords="waittargettile "+" 1339 "+str(where_x)+" "+str(where_y-y)+" 0" #cave
uo.exec(coords)
uo.usetype(tool)
repeat
wait(100)
until uo.InJournal("stop") or uo.InJournal("can't")
uo.DeleteJournal()
next
wait(500)
place=uo.getx()
uo.press(36)
while uo.getx()==place
wait(500)
wend
next
repeat
if uo.count(map)>100 then
repeat
uo.waittargettype(map)
uo.exec("drop 1")
wait(200)
until uo.count('map')<85
end if
wend
end sub
Мининг с ходьбой!
Moderators: Murderator+, Murderator
-
- Posts: 47
- Joined: 2004-05-19 04:47:11
- Location: MSK, RU, TheМля
- Contact:
-
- Posts: 4
- Joined: 2004-06-09 18:04:18
-
- Posts: 47
- Joined: 2004-05-19 04:47:11
- Location: MSK, RU, TheМля
- Contact:
-
- Posts: 4
- Joined: 2004-06-09 18:04:18
-
- Posts: 47
- Joined: 2004-05-19 04:47:11
- Location: MSK, RU, TheМля
- Contact:
Phiber Optik wrote:покажи мне тут хоть один готовый скрипт с ходьбой????
http://yoko.netroof.net/forum/viewtopic.php?t=549
если не пропрет стучи мне в асю (в профайле) договоримся...