Lumberjacking
Napsal: 19.08.2011 22:16:46
Prosim Vas nemate niekdo script na lumberjacking lebo ten stary mi niak nefunguje neviem co sa menilo ...
Kód: Vybrat vše
sub lumber()
var x = 0
var sekera = 0x0F43
start:
uo.deletejournal()
uo.usetype(sekera)
repeat
wait(500)
until uo.injournal('You put the logs|There are no logs|You hack at') AND Uo.InJournal('...akce skoncila')
x = str(uo.count('0x1bdd','0x0000'))
uo.print(x)
if uo.injournal('There are no logs') then
uo.print('Vytezeno')
goto end
endif
wait(1000)
repeat
uo.deletejournal()
uo.waittargettile('lasttile')
uo.usetype(sekera)
repeat
wait(500)
until uo.injournal('You put the logs|There are no logs|You hack at') AND Uo.InJournal('...akce skoncila')
x = str(uo.count('0x1bdd','0x0000'))
uo.print(x)
if uo.injournal('There are no logs') then
uo.print('Vytezeno jdi na novy strom')
endif
wait(1000)
Until Uo.InJournal('There are no logs')
if UO.Injournal('You found something special') then
UO.Findtype('0x1BDD','0xffff','ground')
UO.Moveitem('finditem',-1,'backpack')
endif
end:
goto start
endsub
sub posun()
Var x, y
UO.AddObject("objekt")
While UO.Targeting()
Wait(100)
Wend
While True
x = UO.GetX()
y = UO.GetY()
While x == UO.GetX() && y == UO.GetY()
Wait(100)
Wend
UO.MoveItem("objekt", -1, "ground")
Wait(500)
Wend
end sub