Yoko

All sides of Injection
It is currently 2026-01-17 16:05:55

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2004-12-06 20:24:13 
Offline
User avatar

Joined: 2004-10-13 15:08:08
Posts: 147
люди помогите найти id сундука куда скидываются бинты , а также id сундука от куда берется ткань.
Code:
sub main()
sub tailoring()
while 1
if uo.count(0x175D)<30 then
move_clothes_to_pack()
uo.findtype('0x175D',-1,0x40118E88)
uo.grab('300','finditem')
wait(1000)
end if
do_robes()
wait(10500)
wend
end sub
sub do_robes()
UO.AutoMenu('Misc','body')
UO.AutoMenu('Cloth','Misc')
uo.usetype('0x0F9D')
uo.waitmenu('What do you want to use the sewing kit on?')
uo.waittargettype('0x175D')
end sub
sub move_clothes_to_pack()
uo.findtype('0x1541',-1,'0x4007477A')
if uo.findCount()>0 then
for var i=0 to uo.findCount()-1
uo.findtype('0x1541',-1,'my')
uo.usetype('0x0F9E')
uo.waitmenu('What do you want to use this on?')
uo.waittargettype('0x1F03')
wait(1000)
next
endif
endsub
sub to_30()
while 1
if uo.count(0x1515)<5 then
move_staffs_to_pack()
uo.findtype('0x1515',-1,0x400CE918)
uo.grab('30','finditem')
wait(1000)
end if
do_robes()
wait(1000)
wend
endsub

_________________
maxim viktorovich


Last edited by maximka4 on 2004-12-06 21:38:10, edited 1 time in total.

Top
   
 Post subject:
PostPosted: 2004-12-06 21:18:38 
Offline

Joined: 2004-08-27 21:01:55
Posts: 55
а он вообще работает???


Top
   
 Post subject:
PostPosted: 2004-12-06 21:39:53 
Offline
User avatar

Joined: 2004-10-13 15:08:08
Posts: 147
да

_________________
maxim viktorovich


Top
   
 Post subject:
PostPosted: 2004-12-06 21:41:30 
Offline

Joined: 2004-08-27 21:01:55
Posts: 55
написал кой че только вставить нада переменные и меню прописать, сразу говорю не тестил, но вроде должно работать.
Code:
  sub robe() 
var cloth ='' #type trjapok
var tool='0x0F9D' # sewing kit
var cont=''# type contenera
var noz=''#type noznic
var robe''#type of robe

 while not UO.Dead()
uo.cancelmenu()
 uo.automenu("","")
 uo.automenu("","")
  UO.findtype(cloth,'-1','backpack')
   if UO.GetQuantity('finditem')<20 then
    UO.findtype(cloth,'-1',cont)
     wait(200)
      uo.grab('400','finditem')
     wait(300)
   endif
   uo.DeleteJournal() 
 uo.waittargettype(cloth)
 wait(300)
 uo.usetype(tool)
 wait(1000)
 repeat
 until uo.injournal("put") or uo.injournal("failed")
 bbb(cont,noz,robe)
wend
end sub

sub bbb()
UO.findtype(robe)
 if uo.getquanity('finditem') then
  UO.waittargettype(robe)
   wait(300)
  UO.usetype(noz)
   wait(100)
 endif
  uo.findtype('')# type bandazek, ne pomnu
   if uo.getquanity('finditem') then
    wait(200)
    uo.moveitem('findtype','-1',cont)
     wait(100)
   endif
end sub


Top
   
 Post subject:
PostPosted: 2004-12-06 21:54:33 
Offline
User avatar

Joined: 2004-10-13 15:08:08
Posts: 147
спасибо но у меня чет все время ошибка в 7 строке
я под себя подставил все ,я делаю на боди сашах

Code:
sub main()
sub body()
var cloth ='0x175D' #type trjapok
var tool='0x0F9D'   # sewing kit
var cont='0x0E7D'   # type contenera
var noz='0x0F9E'    #type noznic
var body'0x1541'    #type of body

while not UO.Dead()
uo.cancelmenu()
UO.AutoMenu('Misc','body')
UO.AutoMenu('Cloth','Misc')
UO.findtype(cloth,'-1','backpack')
if UO.GetQuantity('finditem')<20 then
UO.findtype(cloth,'-1',cont)
wait(200)
uo.grab('400','finditem')
wait(300)
endif
uo.DeleteJournal() 
uo.waittargettype(cloth)
wait(300)
uo.usetype(tool)
wait(1000)
repeat
until uo.injournal("put") or uo.injournal("failed")
bbb(cont,noz,body)
wend
end sub

sub bbb()
UO.findtype(body)
if uo.getquanity('finditem') then
UO.waittargettype(body)
wait(300)
UO.usetype(noz)
wait(100)
endif
uo.findtype('0x0E21')# type bandazek, ne pomnu
if uo.getquanity('finditem') then
wait(200)
uo.moveitem('findtype','-1',cont)
wait(100)
endif
end sub

_________________
maxim viktorovich


Top
   
 Post subject:
PostPosted: 2004-12-06 22:02:36 
Offline

Joined: 2004-08-27 21:01:55
Posts: 55
внимателнее гляди в следующий раз, да и я пропустил, там знака равно не хватает.


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 12 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