Yoko
http://forum.yoko.com.ua/

How to refresh items inside the box?
http://forum.yoko.com.ua/viewtopic.php?f=3&t=17704
Page 1 of 1

Author:  angel6929 [ 2016-01-06 08:16:33 ]
Post subject:  How to refresh items inside the box?

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

Author:  kobol [ 2016-01-07 10:20:33 ]
Post subject:  Re: How to refresh items inside the box?

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 )

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/