Page 1 of 1

Dropping ore

Posted: 2004-07-30 07:48:12
by Thdin
I made a simple script to drop all ore from my pack except for blackrock.

Code: Select all

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.

Posted: 2004-07-30 16:52:47
by Thdin
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?

Posted: 2004-07-31 20:57:57
by Yoko
where is delay for server to send text of ore name after click?

Posted: 2004-08-01 00:57:46
by Thdin
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!!