Yoko

All sides of Injection
It is currently 2026-01-16 12:36:58

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2005-01-31 15:50:51 
Offline

Joined: 2005-01-30 21:15:02
Posts: 9
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


Top
   
PostPosted: 2005-01-31 16:29:46 
Offline
Sphere expert
User avatar

Joined: 2004-10-01 08:27:38
Posts: 1143
Location: Уфа
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 это нашару
надо будет разное попробовать значение, пока не заработает.

_________________
Сделал дело - флуди смело !!!


Top
   
PostPosted: 2005-01-31 16:42:48 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
Askaneli wrote:
uo.WaitTargetTile(Type,X,Y,STR(Val(Z)+10))


Top
   
 Post subject:
PostPosted: 2005-01-31 17:51:06 
Offline

Joined: 2005-01-30 21:15:02
Posts: 9
сп.. будем пробовать


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited