Page 1 of 1

Need help, can anyone fix it for me?

Posted: 2009-03-25 14:39:13
by fuzazin
hi guys.

I have this script of mining. it work fine, but when i start this script, apear a target to choose a pickaxe, but when i click in pickaxe, the injection say to me "you must equip it to mine".

But this script autoarm the pickaxe, also when it broken.

Can anyone fix this script to me? please!!!

sub MineOre()

var tool = "0x0e85" , temp1 , temp2 , temp3 , x , y ,z , mine = "1339"

uo.exec("addtype tool")
while uo.targeting()
wait(500)
wend

start:
uo.deletejournal()
for temp1 = 1 to 5
for temp2 = 1 to 5
x = 3-temp1
y = 3-temp2
z = 0
temp3 = "waittargettile " +mine +" " +str(x) +" " +str(y) +" " +str(z)
repeat
uo.exec(temp3)
uo.exec("usetype tool")
wait(5000)
until uo.injournal("no ore") or uo.injournal("no more ore.")
uo.deletejournal()
next
next

goto start

end sub

Posted: 2009-03-25 16:03:02
by Savage

Code: Select all

uo.exec("addtype tool") 
while uo.targeting()
wait(500)
wend

  UO.Equipt('Rhand','tool')
  wait(500)

start:

Posted: 2009-03-26 01:00:52
by fuzazin
thx so much guy! =D

it works!