Yoko

All sides of Injection
It is currently 2024-03-28 22:33:31

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2016-01-06 08:16:33 
Offline
User avatar

Joined: 2014-07-08 10:48:50
Posts: 15
Hello everyone
This script is able to take items out of the box.


Code:
      
      UO.FindType(bag[i],-1,'box')
      if UO.GetQuantity('finditem')>0 then
         UO.MoveItem('finditem',0,'backpack')
         wait(500)
      endif


If the box has not been opened, or someone else's case can not be taken out of the item.
Is there any way to refresh all the items inside the box?



Has not understood what the role of this paragraph?
Who explained, is the point of the package?

Code:
sub CheckLag() 
   UO.DeleteJournal()
   UO.Click("backpack")
   
   Repeat
      wait(200)
   Until UO.InJournal('backpack')
end sub


Top
   
PostPosted: 2016-01-07 10:20:33 
Offline
User avatar

Joined: 2012-12-15 12:03:25
Posts: 119
Location: C-Петербург
To refresh use uo.click ('box')

About checklag
Code:
sub CheckLag()
   UO.DeleteJournal()
   UO.Click("backpack")
   
   Repeat
      wait(200)
   Until UO.InJournal('backpack')
end sub


When you use UO.Click("backpack") server should return response and show it in the journal.
If there are not record 'backpack' in the journal - possible lag occures or "world save" operation is in progress )


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

All times are UTC+02:00


Who is online

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