Stiahla som si Yoko a skripty zo stránky, ktorú som videla tu na fóre. (
http://www.laracraft.cz/yoko-scripty/)
Mining odtiaľ mi funguje, no ťažba dreva ani za boha :/
#--------------------------------------------------------
sub lumber()
#------------------------------------------------------
var x = str(uo.count('0x1bdd','0x0000'))
var sekera = 0x0F43
repeat
uo.deletejournal()
uo.PlayWav("C:\Windows\media\ding.wav")
uo.usetype(sekera)
repeat
wait(200)
until uo.injournal('You put the logs|There are no logs|You hack at|Cancelled|destroy hatchet|Worldsave|too far away|think of a way|Reaper')
if uo.injournal('Reaper') then
uo.PlayWav("C:\Windows\media\ding.wav")
uo.print("Bacha Reaper!")
return
endif
if uo.injournal("Cancelled|destroy hatchet'Worldsave") then
uo.print("Konec tezby")
return
endif
if uo.injournal("too far away") then
uo.print("Tam nedosahnes, vyber jiny strom")
goto start
endif
if uo.injournal("think of a way") then
uo.print("Vedle, mamko")
goto start
endif
while not uo.Dead()
uo.deletejournal()
uo.usetype(sekera)
uo.waittargettile('lasttile')
repeat
wait(200)
until uo.injournal('You put the logs|There are no logs|You hack at|Cancelled|destroy hatchet|Reaper')
IF uo.injournal('Reaper') then
uo.PlayWav("C:\Windows\media\tada.wav")
uo.print("Bacha Reaper!")
return
endif
x = str(uo.count('0x1bdd','0x0000'))
uo.print(x)
if uo.injournal('There are no logs|too far away') then
uo.print('Vytezeno mamko jdi na novy strom')
#goto start()
lumber()
return
endif
wend
if uo.injournal("too heavy") then
uo.print("Neco ti upadlo, mamko.")
uo.print("Konec tezby")
return
endif
end sub
Nemám tušenia prečo nejde a ani ako ho upraviť aby šiel.
Mohli by ste mi pomôcť prosím?