Yoko
http://forum.yoko.com.ua/

Need help, can anyone fix it for me?
http://forum.yoko.com.ua/viewtopic.php?f=17&t=14603
Page 1 of 1

Author:  fuzazin [ 2009-03-25 14:39:13 ]
Post subject:  Need help, can anyone fix it for me?

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

Author:  Savage [ 2009-03-25 16:03:02 ]
Post subject: 

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

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

start:

Author:  fuzazin [ 2009-03-26 01:00:52 ]
Post subject: 

thx so much guy! =D

it works!

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/