How to refresh items inside the box?

Ask for help

Moderators: Murderator+, Murderator

Post Reply
angel6929
Posts: 15
Joined: 2014-07-08 10:48:50

How to refresh items inside the box?

Post by angel6929 »

Hello everyone
This script is able to take items out of the box.


Code: Select all

      
      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: Select all

sub CheckLag() 
   UO.DeleteJournal()
   UO.Click("backpack")
   
   Repeat
      wait(200)
   Until UO.InJournal('backpack')
end sub
kobol
Posts: 119
Joined: 2012-12-15 12:03:25
Location: C-Петербург

Re: How to refresh items inside the box?

Post by kobol »

To refresh use uo.click ('box')

About checklag

Code: Select all

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 )
Post Reply