Yoko

All sides of Injection
It is currently 2025-12-25 03:35:26

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: просто ламб
PostPosted: 2005-03-13 14:58:33 
Offline

Joined: 2005-02-08 18:39:50
Posts: 444
Location: Moscow
вот скрипт на ламбер...
чар рубит дерево....вы тыкаете по деревьям и когда вес более 600, то чар реколится по руне с ящику скидывает все и реколится по другой руне в лес...

система реколла не работет :::::
Code:
sub Lamber() 
While NOT UO.Dead()
if uo.injournal("pack")==1 or uo.injournal("skill")==1 or uo.injournal("fail")==1 Then
uo.waittargettile('lasttile')
UO.Usetype ('0x0F47')
Endif
if uo.injournal("chop")==1 Then
UO.Usetype ('0x0F47')
Endif
Wait(100)
wend

if uo.weight > 600 then  ; Максимальный вес при котором домой с рудой
uo.canceltarget()
endif
uo.cast('Recall','0x40174FAC')
wait(3000)
loot()
wait(3000)
uo.cast('Recall','0x40174FAB')
endif
wend

end sub

sub loot()    ; перекладка руды в сундук
if uo.waiting() then
uo.canceltarget()
endif
VAR a,Exit
VAR UnloadCont='0x40187609' ; АЙДИ сундука для руды 
DIM Ore[3]
logs[0]=0x1BDD
logs[0]=0x1BDD


UO.SetReceivingContainer(UnloadCont)
wait(500)
For a=0 to 1
Exit=0
repeat
UO.FindType(logs[a])
if UO.GetQuantity('finditem')>0 then
UO.Grab('0','finditem')
wait(1500)
Else
Exit=1
endif
until Exit==1
Next
UO.UnSetReceivingContainer()
end sub


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited