auto target cancelled

Vaše problémy, rady a skripty týkající se tohoto prográmku
Odpovědět
Prafotr Morava
Death Litographer
Death Litographer
Příspěvky: 1667
Registrován: 07.09.2006 18:43:22
Kontaktovat uživatele:

auto target cancelled

Příspěvek od Prafotr Morava »

tato hlaska se mi zobrazuje vzdy kdyz spustim jakýkoliv script na tinkering mím kamarádům jdou ale mě prostě ne mám v báglu nářadí i iron ale stále se mi vyhazuje jen tato hláška scripty na jinné skilly fungujou bez problémů ale tenhle ne :)

ukázka scriptu který dělá problémy:

Kód: Vybrat vše

sub Hinde()
while UO.Count("0x1BEF,0x06D6")>=1 
    UO.waitmenu('Tinkering','Parts','Parts','Hinde')
    UO.Usetype("0x1EBC")
            UO.WaitTargetType("0x1EBC")
            wait(6000)
wend
end sub
[color=green][size=167]Čaj? Pickwick![/size]
[/color]
Jarin Van Fead
Book Snake
Book Snake
Příspěvky: 84
Registrován: 07.09.2006 22:03:09

Příspěvek od Jarin Van Fead »

Zkus místo Hinde napsat Hinge :)

Edit - Jinak já používám tohle

Kód: Vybrat vše

sub trainer_tinkering()
zacatek:
	while UO.count ('0x1BEF')>0
	;UO.WaitMenu("Tinkering","Parts","Parts","Nails")
	;UO.WaitMenu("Tinkering","Parts","Parts","Hinge")
	;UO.WaitMenu("Tinkering","Parts","Parts","Springs")
	;UO.WaitMenu("Tinkering","Wires","Wires","Silver Wire")
	;UO.WaitMenu("Tinkering","Wires","Wires","Iron String")
	;UO.WaitMenu("Tinkering","Wires","Wires","Vlasec")
	;UO.WaitMenu("Tinkering","Wires","Wires","Iron Wire")
	;UO.WaitMenu("Tinkering","Wires","Wires","Copper Wire")
	;UO.WaitMenu("Tinkering","Special Items","Special Items","Crystal Ball")
	;UO.WaitMenu("Tinkering","Special Items","Special Items","Magic Ball")
	;UO.WaitMenu("Tinkering","Tools","Tools","Lockpick")
	UO.WaitMenu("Tinkering","Containers","Containers","Bottle")
	Wait(1000)
	UO.Usetype('0x1EBC') # Tinkering toolset 
	repeat
	 wait(100)
	until UO.injournal('You put the') or UO.injournal('Tinkering failed.')
	wait(4000)
	wend
	if UO.count('0x1BEF','0x0000')<1 then
	UO.print("Nemas Iron")
	endif
	end sub
Naposledy upravil(a) Jarin Van Fead dne 24.07.2007 15:46:16, celkem upraveno 1 x.
http://templars.nebzuc.com/Templars.wmv
"Kdo Slovácků slivovicu pije. Toho ani pantokem nazabije."
Uživatelský avatar
Patejl
Elder Letter
Elder Letter
Příspěvky: 228
Registrován: 07.09.2006 20:06:21
Kontaktovat uživatele:

Příspěvek od Patejl »

mimojine nema byt waitarget pred usetype?
[url=http://mulambo.wz.cz/web/mainpage.htm]luzr[/url]
Prafotr Morava
Death Litographer
Death Litographer
Příspěvky: 1667
Registrován: 07.09.2006 18:43:22
Kontaktovat uživatele:

Příspěvek od Prafotr Morava »

Jarin Van Fead píše:Zkus místo Hinde napsat Hinge :)
aha to mnohé vysvětluje sem si tam totiž tu část vždycky kopčil a vždy s tou chybou :p
[color=green][size=167]Čaj? Pickwick![/size]
[/color]
Carda
Elder Letter
Elder Letter
Příspěvky: 211
Registrován: 07.09.2006 19:12:48

Příspěvek od Carda »

Jarin Van Fead píše:...skript...
Proč máš za waitmenu pauzu? :p A ta pauza 4sec po tý dynamický je tam taky zbytečná :-) Stačí žádná, nebo 500ms.
http://dl.dropbox.com/u/36197238/Phoenix/Phoenix.Scripts.DP.7z
Odpovědět