Invalid number of arguments - STR
Napsal: 21.08.2008 22:07:07
Tuto chybu mi to vipisuje pri spusteni tohoto scriptu:
sub mining()
var mx,my
uo.deletejournal()
mx = UO.GetX("self")
my = UO.GetY("self")
if not uo.injournal("There is no ore here to mine.") then
uo.exec("waittargettile tilenum "+str(mx+0)+" "+str(my+0)+" 0") #urci kde bude kopat
UO.usetype("0x0E85")
uo.deletejournal()
wait(3750)
goto min
endif
if uo.injournal("There is no ore here to mine.") then
uo.deletejournal()
uo.press(33,1,400) #urci kam po vykopani alles rudy jit *
goto min
endif
end sub
a vypisuje mi to v tejto lajne :
uo.exec("waittargettile tilenum "+str(mx+0)+" "+str(my+0)+" 0") #urci kde bude kopat
Neni v tom scripte nieco zle ? Alebo ako by sa dal tento riadok obist ... Vopred Dik
sub mining()
var mx,my
uo.deletejournal()
mx = UO.GetX("self")
my = UO.GetY("self")
if not uo.injournal("There is no ore here to mine.") then
uo.exec("waittargettile tilenum "+str(mx+0)+" "+str(my+0)+" 0") #urci kde bude kopat
UO.usetype("0x0E85")
uo.deletejournal()
wait(3750)
goto min
endif
if uo.injournal("There is no ore here to mine.") then
uo.deletejournal()
uo.press(33,1,400) #urci kam po vykopani alles rudy jit *
goto min
endif
end sub
a vypisuje mi to v tejto lajne :
uo.exec("waittargettile tilenum "+str(mx+0)+" "+str(my+0)+" 0") #urci kde bude kopat
Neni v tom scripte nieco zle ? Alebo ako by sa dal tento riadok obist ... Vopred Dik