Yoko

All sides of Injection
It is currently 2025-12-19 15:57:58

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Лут
PostPosted: 2005-09-09 01:39:21 
Offline

Joined: 2005-04-01 00:21:27
Posts: 1
я написал скрипт на лут многих монстров сразу!
но он нехочет перекидывать лут!
вот сам скрипт!
Code:
sub loot()
DIM Nado[3]
   Nado[0]  = '0x0F7A'   ; свитки улучшения
   Nado[1]  = '0x0F7B'   ; голда
   Nado[2]  = '0x0F84'   ; garlic
var serboby, i,  typ, serpack
UO.Set( 'finddistance', '6' )
   repeat
   uo.findtype('тип трупа дрейка', '-1', '1')
   if uo.findcount()>0 then
      serbody=uo.getserial('finditem')
      for i=0 to 2
         UO.FindType( Nado[i], '-1', 'serbody' )
         if uo.findcount()>0 then
         UO.MoveItem( 'finditem' )
                        wait( 500 )
         UO.FindType( Nado[i], '-1', 'Cont' )
         wait(500)
         end if
      next
          UO.Print( 'The loot was finished' )      
   else
      wait(500)
   end if
   until uo.findcount()==0   
end sub


он написан через определение сериал трупа а потом он должен лутить ну и т д!
может я гдето ошибся?подскажите!
если в топик накидают свои скрипты то я необижусь!!!
заранее спосибо!


Top
   
 Post subject:
PostPosted: 2005-09-09 09:49:15 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
Что за необъявленная переменная Cont :?:


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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