Page 1 of 1

Question about transferring items

Posted: 2004-08-14 20:32:19
by Thdin
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: Select all


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?

Posted: 2004-08-14 20:54:02
by Thdin
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