Yoko

All sides of Injection
It is currently 2026-01-18 19:38:56

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 2005-03-21 17:49:15 
Offline

Joined: 2004-04-25 23:23:27
Posts: 35
Code:
sub taming()
var i=1, counter=0, c
dim a[50]
dim b[6]
b[3]='0x00EA'
b[4]='0x00D4'
b[5]='0x00E9'
b[6]='0x00E8'
uo.set('finddistance','7')
UO.IgnoreReset()
UO.DeleteJournal()
for c=1 to 6
find:

UO.FindType(b[c], -1 ,1) ; <<<<<<СТРОКА 14 !!!

wait(200)
if UO.FindCount()>0 then
a[i]=UO.GetSerial('finditem')
i=i+1
UO.ignore('finditem')
wait(300)
goto find
end if
next
wait(3000)

repeat
for i=1 to 31
tame:
UO.Print('Now taming #: '+STR(i))
UO.WaitTargetObject(a[i])
UO.UseSkill('Animal Taming')
wait(9000); сдесь надо смотреть и меня в зависимости от времени !!!!!!!!!!!!!!
while not (UO.InJournal('master') or UO.InJournal('fail') or UO.InJournal('away') or UO.InJournal('give') or UO.InJournal('already') OR counter>50)
wait(500)
counter=counter+1
wend
counter=0
if (UO.InJournal('master') or UO.InJournal('already')) then
UO.sayu('all release')
UO.DeleteJournal()
end if
if (UO.InJournal('fail')) then
UO.DeleteJournal()
goto tame
end if
next
until False
end sub


Выдает ран тайм эррор в строке 14 в скрите помечена...подскажите плз...заранее признателен!


Top
   
 Post subject:
PostPosted: 2005-03-21 17:57:22 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
Code:
dim b[6]
b[3]='0x00EA'
b[4]='0x00D4'
b[5]='0x00E9'
b[6]='0x00E8'
у тебя в массиве нет 1го элемента
Code:
dim b[5]
b[1]='0x00EA'
b[2]='0x00D4'
b[3]='0x00E9'
b[4]='0x00E8'
так поправь ;)
ЗЫ и тут
Code:
for c=1 to 4
так сделай


Top
   
 Post subject:
PostPosted: 2005-03-21 18:16:53 
Offline

Joined: 2004-04-25 23:23:27
Posts: 35
ты прав но терь ругается вот на это =0((((((
Code:
repeat 
for i=1 to 31
tame:
UO.Print('Now taming #: '+STR(i))
UO.WaitTargetObject(a[i])

UO.UseSkill('Animal Taming')  ;<<<<<<<<тут ругается =0((((

wait(9000); сдесь надо смотреть и меня в зависимости от времени !!!!!!!!!!!!!!
while not (UO.InJournal('master') or UO.InJournal('fail') or UO.InJournal('away') or UO.InJournal('give') or UO.InJournal('already') OR counter>50)


Top
   
 Post subject:
PostPosted: 2005-03-21 18:26:22 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
шард?


Top
   
 Post subject:
PostPosted: 2005-03-21 18:30:21 
Offline

Joined: 2004-04-25 23:23:27
Posts: 35
Realms Ultima Online

http://www.ruo.ru


Top
   
 Post subject:
PostPosted: 2005-03-21 18:31:52 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
тогда хз... у своих поспрашай... или может кто зайдёт...


Top
   
 Post subject:
PostPosted: 2005-03-21 18:33:07 
Offline

Joined: 2004-04-25 23:23:27
Posts: 35
Да лан нормал все, другой скрипт придрочил =0)
Спасиб большое за помощь!


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 7 guests


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