Yoko

All sides of Injection
It is currently 2026-03-12 20:21:53

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Dropping ore
PostPosted: 2004-07-30 07:48:12 
Offline

Joined: 2004-07-22 07:37:37
Posts: 51
I made a simple script to drop all ore from my pack except for blackrock.

Code:
sub Findore()

VAR Ores = '0x19B9'           

uo.findtype(Ores,-1,-1)
uo.click("finditem")
Wait(500)
If UO.InJournal("Blackrock")==0 Then
UO.Moveitem('finditem',-1,'ground')
endif

endsub


All I want to know is how to move the ore to the ground, or use ,drop to drop it.. :/

P.S.: It is now all fixed and works perfectly.


Last edited by Thdin on 2004-08-01 01:01:06, edited 1 time in total.

Top
   
 Post subject:
PostPosted: 2004-07-30 16:52:47 
Offline

Joined: 2004-07-22 07:37:37
Posts: 51
Ok, I've found this isn't working. When I do a findtype, it sometimes finds the blackrock ore and drops that instead, even though the drop should only be made if the name is NOT "blackrock." Can anyone help?


Top
   
 Post subject:
PostPosted: 2004-07-31 20:57:57 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
where is delay for server to send text of ore name after click?


Top
   
 Post subject:
PostPosted: 2004-08-01 00:57:46 
Offline

Joined: 2004-07-22 07:37:37
Posts: 51
Yoko you are my hero! All I had to do was add a Wait and it works perfect! :D

Before, I thought of doing this, but I could see that 'Blackrock' appeared in the journal, but never on screen (like next to the actual item you are clicking). It makes sense now. Thanks a lot!!


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 3 guests


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:  
cron
Powered by phpBB® Forum Software © phpBB Limited