Yoko

All sides of Injection
It is currently 2025-12-27 16:46:47

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2009-05-01 18:13:01 
Offline

Joined: 2009-02-27 21:32:56
Posts: 17
Добрый день, наваял я скрипт энное время назад, скрипт работает, пишет всё как надо, всячески радует глаз процессом автоматизации, но огорчает то, что переодически падает, ругаясь на "Unhandled exception in parser".

Гуру, не подскажите в чем проблема?

Code:
sub Inscription()
var blank='0x0e34'
var ink='0x0FC0'
While NOT UO.Dead()
   if UO.Mana > 20 Then
      UO.FindType(ink, 0x0064)
         If UO.FindCount(ink, 0x0064) > 0 Then
            UO.UseType( ink, 0x064 )
         Else
            UO.UseFromGround(ink, 0x0064)
      EndIf
         UO.DeleteJournal()
         UO.WaitTargetGround(blank)
         Wait(1000)
         UO.LClick(329,250)
            While NOT UO.InJournal('мессага на русском')
               Wait(500)
            WEnd
   Else
      UO.DeleteJournal()
         While UO.Mana < 98
         UO.UseSkill('Meditation')
         Wait(2000)
            While UO.InJournal('мессага на русском')
               Wait(1000)
                  If UO.InJournal('мессага на русском') Then
                     UO.DeleteJournal()
                  EndIf
            WEnd
         WEnd
   EndIf
WEnd
end sub


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

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:  
Powered by phpBB® Forum Software © phpBB Limited