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
Need help, can anyone fix it for me?
Moderators: Murderator+, Murderator
-
- Expert!
- Posts: 1205
- Joined: 2004-04-04 11:13:54
- Location: Балаково, Саратовская обл.
- Contact:
Code: Select all
uo.exec("addtype tool")
while uo.targeting()
wait(500)
wend
UO.Equipt('Rhand','tool')
wait(500)
start: