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

Question about transferring items
http://forum.yoko.com.ua/viewtopic.php?f=3&t=1142
Page 1 of 1

Author:  Thdin [ 2004-08-14 20:32:19 ]
Post subject:  Question about transferring items

How can I script a section of my code to simply dump ALL items from a bag in my pack to a container I recall to (after mining, for example, to dump all the ore)

Right now I have this:

Code:

Lotsofdropping:
UO.FindType('0x19B9','0x0000','orebag')
if UO.GetQuantity('finditem')>0 then
      UO.MoveItem('finditem','0','StoreCont')
      CheckLag()
      wait(500)
      goto Lotsofdropping
endif



But for some reason, it does not always find ALL the piles of ore. Is there a way to do this?

Author:  Thdin [ 2004-08-14 20:54:02 ]
Post subject: 

I discovered what the problem was.

Lotsofdropping:
UO.FindType('0x19B9','0x0000','orebag') <<<<<<<<<<<
if UO.GetQuantity('finditem')>0 then
UO.MoveItem('finditem','0','StoreCont')
CheckLag()
wait(500)
goto Lotsofdropping
endif

I need to have a -1 instead of a 0x0000. Then it loops until Getquantity==0.

:D

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