Yoko

All sides of Injection
It is currently 2025-12-26 23:53:45

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2004-12-08 02:17:49 
Offline

Joined: 2004-11-28 21:00:55
Posts: 6
Location: Ukraine
Можно ли в инжекте проверить открылся ли уже контейнер (труп, сумка, сундук и т.д.)? Например, из-за лагов он может открыться только через несколько секунд, а может и сразу.


Top
   
 Post subject:
PostPosted: 2004-12-08 07:40:41 
Offline
Expert!
User avatar

Joined: 2004-04-04 21:40:09
Posts: 1007
Используй CheckLag().


Top
   
 Post subject:
PostPosted: 2004-12-08 12:33:02 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
1) частично поможет указатель lastcontainer
2) начиная с какой-то версии при открытии контейнера и включённом Verbose Menu может писаться что открылся контейнер, итемов столько то


Top
   
 Post subject:
PostPosted: 2004-12-08 15:32:15 
Offline

Joined: 2004-11-28 21:00:55
Posts: 6
Location: Ukraine
А можно ссылку на CheckLag(), а то поиск у меня не работает.


Top
   
 Post subject:
PostPosted: 2004-12-08 17:34:21 
Offline
Expert!
User avatar

Joined: 2004-04-04 21:40:09
Posts: 1007
matsic wrote:
А можно ссылку на CheckLag(), а то поиск у меня не работает.


Code:
SUB CheckLag() ; 411.21 
  DeleteJournal("backpack")
  UO.Click('backpack')
  Repeat
    Wait(LoopTime)
  Until UO.InJournal("backpack")
END SUB

SUB DeleteJournal(MsgText) ; 411.21
  Var MsgNumb
  Repeat
    MsgNumb=UO.InJournal(MsgText)
    If MsgNumb<>0 Then
      UO.SetJournalLine(MsgNumb-1, '')
    EndIf
  Until Not UO.InJournal(MsgText)
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 4 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