Yoko

All sides of Injection
It is currently 2026-01-22 07:50:17

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2008-06-10 16:47:57 
Offline

Joined: 2005-02-25 15:37:18
Posts: 7
сразу скажу что пользовался поиском , находил скрипты но все нерабочие

итак , при использовании экспложена начинает тикать таймер, он может варироваться тоесть или с 3 тикает или с 4

подправьте пожалуйста скрипт, он всегда выдает "chetire" даже если тикает с трех, а потом иногда пишет "tri" гдето после второй секунды

Code:
sub expl() 
uo.findtype('0x0F0d')
uo.useobject('finditem')
wait(1300)
If UO.LastMessage("Chineese mother: 4") Then
uo.msg("chetire")
wait(3000)
uo.press(122)
end if
If UO.LastMessage("Chineese mother: 3") Then
uo.msg("tri")
wait(3000)
uo.press(122)
End If


Top
   
PostPosted: 2008-06-10 21:50:43 
Offline

Joined: 2008-03-29 18:31:31
Posts: 28
он вроде как не полный =)
в оригинале должно быть типо этого =)

Code:
sub expl() 
   uo.findtype('0x0F0d')
   uo.useobject('finditem')
   wait(1300)
        If UO.LastMessage("Chineese mother: 4") Then
        uo.msg("chetire")
        wait(3000)
        uo.press(122)
               end if
               If UO.LastMessage("Chineese mother: 3") Then
               uo.msg("tri")
               wait(3000)
               uo.press(122)
               end If
               wait(50)
         end if
         wait(50)
endsub


и вобще я не врубаюсь зачем тебе этот 4 или 3....легче сделать типо этого =) он от этого больше бутылок брасать небудет...

Code:
sub expl() 
   uo.findtype('0x0F0d')
   uo.useobject('finditem')
   wait(3000)
   uo.press(122)
   wait(1300)
endsub


Top
   
 Post subject:
PostPosted: 2008-06-10 22:40:19 
Offline

Joined: 2005-02-25 15:37:18
Posts: 7
ну он будет не в последнюю секунду кидать а мне надо в последнюю


Top
   
 Post subject:
PostPosted: 2008-06-10 22:55:20 
Offline

Joined: 2008-03-29 18:31:31
Posts: 28
PopKoRn wrote:
ну он будет не в последнюю секунду кидать а мне надо в последнюю


так поекспериментируй с wait и всё=)


Top
   
 Post subject:
PostPosted: 2008-06-10 23:02:10 
Offline

Joined: 2005-02-25 15:37:18
Posts: 7
при чем тут эксперименты, там рандом идет, когда с 4 секунд тикает экспл а когда с 3, все спасибо уже разобрался :)

вот если надо кому
Code:
sub explo_timer()
UO.UseType('0x0f0d')
UO.DeleteJournal()
while 1>0
while uo.injournal(": 2")
wait(500)
uo.press(122)
uo.exec('terminate explo_timer')
wend
wend
end sub


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 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