Page 1 of 1

How to refresh items inside the box?

Posted: 2016-01-06 08:16:33
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

Re: How to refresh items inside the box?

Posted: 2016-01-07 10:20:33
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 )