Yoko

All sides of Injection
It is currently 2025-10-15 09:49:35

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Easy script
PostPosted: 2010-05-09 15:13:48 
Offline

Joined: 2010-05-09 15:09:42
Posts: 1
Hi! I play in a Run Uo shard and I use injection. I need a easy script that lay on the ground all mineral (iron, gold, ecc ecc).
It is so because in our shard I can't use mining when I'm in full load in my bag.

Please help me... Thanks a lot!


Top
   
 Post subject: Re: Easy script
PostPosted: 2010-05-10 04:02:37 
Offline
User avatar

Joined: 2009-03-06 21:52:25
Posts: 89
Explain in detail on.... :!:


Top
   
 Post subject: Re: Easy script
PostPosted: 2010-05-10 08:20:13 
Offline
Expert!
User avatar

Joined: 2005-04-23 10:19:43
Posts: 388
Something like this would do:

Fill the oreTypes array with all types of stuff you need to drop (find it with ,info command). Dont forget to change oreTypeCount to count of elements in the array.
Code:
sub dropOres()
    dim oreTypes[50]
    oreTypes[0] = '0x1234'
    oreTypes[1] = '0x2345'
    var oreTypeCount = 2

    var i
    for i=0 to oreTypeCount-1
        UO.FindType(oreTypes[i],-1,'my')
        while (UO.FindCount())
            UO.DropHere('finditem')
            if (UO.FindCount() > 1) then
                wait(500)
            endif
            UO.FindType(oreTypes[i],-1,'my')
        wend
    endfor
endsub


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 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