Yoko

All sides of Injection
It is currently 2025-11-23 14:35:37

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2004-10-06 10:24:55 
Offline
User avatar

Joined: 2004-09-25 01:03:28
Posts: 17
Янаписал скрипт на майнинг, но у меня проблема-када в кучке заканчиваеться метал то чар стоит и ждёт пока он зареспиться, а нада чтоб он прекращал капать и реколился дамой. Вот часть где чар капает :

sub main()
repeat
if uo.count(ruda)<20 then
uo.usetype(kirka)
wait(1000)
uo.waittargettile(******)
endif
wait(500)
until uo.count(ruda)>20 or uo.count(kirka)==0
endsub

Чар капает 20 руды и дамой реколиться, но када в кучке нету 20 руды то он стоит и кликает на кучку пока руда не появиться. Как сделать так чтоб скрипт реогировал на фразу в журнале "There is no metal....." ??
Заранее спасибо !


Top
   
PostPosted: 2004-10-06 12:25:52 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
TOPORik wrote:
Code:
sub main() 
repeat
if uo.count(ruda)<20 then
uo.usetype(kirka)
wait(1000)
uo.waittargettile(******)
endif
wait(500)
until uo.InLournal('There is no metal') or uo.count(kirka)==0
endsub


Top
   
 Post subject:
PostPosted: 2004-10-07 06:41:31 
Offline
User avatar

Joined: 2004-09-25 01:03:28
Posts: 17
не помогло ! чар капает пока не будет 20 руды и не останавливаеться када пишет "There is no metal here to mine." , а вот када заканчиваються кирки или руды становиться 20 тада останавливаеться !


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 3 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:  
Powered by phpBB® Forum Software © phpBB Limited