Yoko

All sides of Injection
It is currently 2024-03-28 15:49:14

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2006-12-30 07:58:43 
Offline

Joined: 2006-12-30 07:51:28
Posts: 6
Люди добрые, не гоните меня пожалуйста на "поиск", всё переверстал.
киньте пожалуйста скрипт на Bow craft. много нашёл, но почему то выкидует разные ошибки. простой скрипт на шафты.
Спсибо огромное !!! :shock:


Top
   
 Post subject:
PostPosted: 2006-12-30 13:10:55 
Offline
User avatar

Joined: 2006-11-14 16:19:03
Posts: 257
Code:
VAR Sunduk='0x404135CE' ; ИД сундука где все логи 
VAR TDagger='0x0F51' ; Тип даггера
VAR TLogs='0x1BDD' ; Тип логов
VAR TTorch='0x1BD4' ; Тип торчей
VAR TShaft='0x1BD4' ; Тип шафтов

; В руке или паке даггер, в сундуке логи и запускаем !!!

sub BowCraft_shaft()
uo.useobject(Sunduk)
wait(200)
while 1==1
UO.FindType(TLogs,'0x0000','backpack')
While UO.GetQuantity('finditem')==0
UO.FindType(TLogs,'0x0000',Sunduk)
wait(200)
UO.Grab('1','finditem')
Wend
wait(200)
cheklag()

uo.WaittargetType(TLogs)
uo.Usetype(TDagger)
uo.WaitMenu('What do you want to carve the wood into?','shaft (1 log)')
wait (1000)
uo.DeleteJournal()
while not (uo.InJournal("You put") or uo.InJournal("You fail"))
wait(10)
wend

if uo.weight > 200 then
UO.SetReceivingContainer(Sunduk)
wait(200)
UO.FindType(TShaft)
if UO.GetQuantity('finditem')>0 then
UO.Grab('0','finditem')
wait(200)
end if
UO.UnSetReceivingContainer()
end if
wend
end sub

_________________
Короли махаона


Top
   
 Post subject:
PostPosted: 2006-12-30 17:10:05 
Offline

Joined: 2006-12-30 07:51:28
Posts: 6
Спасибо огромное.
может подскажешь ? Line 20: Function not found - CHEKLAG
я полный бот в этом :(


Top
   
 Post subject:
PostPosted: 2006-12-30 20:21:55 
Offline
User avatar

Joined: 2006-11-14 16:19:03
Posts: 257
Это к скрипту добавь
Code:
sub ChekLag() 
DelJ("backpack")
UO.Click('backpack')
repeat
wait(500)
until UO.InJournal('backpack')
end sub


просто чтоб был тамже где и скрипт на боукрафт !

_________________
Короли махаона


Top
   
 Post subject:
PostPosted: 2006-12-30 21:05:50 
Offline

Joined: 2006-12-30 07:51:28
Posts: 6
Здорово :roll:
Спасибо тебе дружище :wink:


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 16 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited