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

Что в скрипте не правильно - подскажите.
http://forum.yoko.com.ua/viewtopic.php?f=20&t=2921
Page 1 of 1

Author:  Soul Fly [ 2005-01-31 15:50:51 ]
Post subject:  Что в скрипте не правильно - подскажите.

sub GetTree(Type,X,Y,Z)
var i
uo.Print('Начинаем рубку дерева...')
for i=0 to 15
if uo.Warmode()==1 then
return 0
end if
wait(200)
uo.DeleteJournal()
### CheckLag()
uo.WaitTargetTile(Type,X,Y,Z+10) - это строка(ошибка) почему ?
uo.UseObject('Axe')
if WaitForChange()==1 then
return 1
end if
next
return 0
end sub

Author:  Askaneli [ 2005-01-31 16:29:46 ]
Post subject:  Re: Что в скрипте не правильно - подскажите.

Soul Fly wrote:
sub GetTree(Type,X,Y,Z)
var i
uo.Print('Начинаем рубку дерева...')
for i=0 to 15
if uo.Warmode()==1 then
return 0
end if
wait(200)
uo.DeleteJournal()
### CheckLag()
uo.WaitTargetTile(Type,X,Y,Z+10) - это строка(ошибка) почему ?
uo.UseObject('Axe')
if WaitForChange()==1 then
return 1
end if
next
return 0
end sub


uo.WaitTargetTile(Type,X,Y,STR(NUMBER(Z)+10))

Причём 10 это нашару
надо будет разное попробовать значение, пока не заработает.

Author:  Sfagnum [ 2005-01-31 16:42:48 ]
Post subject:  Re: Что в скрипте не правильно - подскажите.

Askaneli wrote:
uo.WaitTargetTile(Type,X,Y,STR(Val(Z)+10))

Author:  Soul Fly [ 2005-01-31 17:51:06 ]
Post subject: 

сп.. будем пробовать

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