Yoko

All sides of Injection
It is currently 2026-03-10 13:00:39

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2004-08-14 20:32:19 
Offline

Joined: 2004-07-22 07:37:37
Posts: 51
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?


Top
   
 Post subject:
PostPosted: 2004-08-14 20:54:02 
Offline

Joined: 2004-07-22 07:37:37
Posts: 51
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited