Yoko

All sides of Injection
It is currently 2025-11-04 14:05:38

All times are UTC+02:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 2008-08-08 13:03:31 
Offline

Joined: 2008-08-08 13:02:40
Posts: 2
Как сделать?
bow/kryss + shield/sword + shield


Top
   
 Post subject:
PostPosted: 2008-08-08 13:34:56 
Offline
User avatar

Joined: 2005-04-04 18:23:12
Posts: 187
проверками.
Если пусто - одеть лук
Если лук - одеть крис и щит
Если крис - одеть меч.


Top
   
 Post subject:
PostPosted: 2008-08-08 13:52:36 
Offline

Joined: 2008-08-08 13:02:40
Posts: 2
Purgen wrote:
проверками.
Если пусто - одеть лук
Если лук - одеть крис и щит
Если крис - одеть меч.


Незнаю я этих проверок я ваще нюб :( Помоги плиз


Top
   
 Post subject:
PostPosted: 2008-08-08 15:38:48 
Offline

Joined: 2007-09-02 19:16:55
Posts: 33
вчера написал :D

Code:
sub Weap3()
uo.findtype("0x13B1", "backpack")
if uo.findcount()>0 then
UO.UseType('0x13B1')
wait(100)
else
UO.Findtype( '0x13B9' )
If UO.GetQuantity( 'finditem' ) > 0 Then
UO.Exec("usetype 0x1B76")
UO.Exec("usetype 0x13B9")
else
UO.Findtype( '0x1400' )
If UO.GetQuantity( 'finditem' ) > 0 Then
UO.Exec("usetype 0x1B76")
UO.Exec("usetype 0x1400")
else
UO.Findtype( '0x13FE' )
If UO.GetQuantity( 'finditem' ) > 0 Then
UO.Exec("usetype 0x1B76")
UO.Exec("usetype 0x13FE")
else
UO.Findtype( '0x0F5E' )
If UO.GetQuantity( 'finditem' ) > 0 Then
UO.Exec("usetype 0x1B76")
UO.Exec("usetype 0x0F5E")
else
UO.Findtype( '0x13B5' )
If UO.GetQuantity( 'finditem' ) > 0 Then
UO.Exec("usetype 0x1B76")
UO.Exec("usetype 0x13B5")
else
end if
end if
end if
end if
end if
UO.Attack('laststatus')
uo.waittargettype('laststatus')
end sub


тут сворд, крис, лонгсворд, скимитар, катана


Top
   
 Post subject:
PostPosted: 2008-08-08 19:29:39 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
lpushech wrote:
вчера написал :D
тут сворд, крис, лонгсворд, скимитар, катана


Молодец :) ЫЫЫЫ


Top
   
 Post subject:
PostPosted: 2008-08-09 11:00:58 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Kynep wrote:
lpushech wrote:
вчера написал :D
тут сворд, крис, лонгсворд, скимитар, катана


Молодец :) ЫЫЫЫ


+1 :!: :D


Top
   
 Post subject:
PostPosted: 2008-08-09 14:56:25 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Code:
sub Weap3()
   uo.findtype("0x13B1", "backpack")
   if uo.findcount()>0 then
      UO.UseType('0x13B1')
      wait(100)
   else
      UO.Findtype( '0x13B9' )
      If UO.GetQuantity( 'finditem' ) > 0 Then
         UO.Exec("usetype 0x1B76")
         UO.Exec("usetype 0x13B9")
      else
         UO.Findtype( '0x1400' )
         If UO.GetQuantity( 'finditem' ) > 0 Then
            UO.Exec("usetype 0x1B76")
            UO.Exec("usetype 0x1400")
         else
            UO.Findtype( '0x13FE' )
            If UO.GetQuantity( 'finditem' ) > 0 Then
               UO.Exec("usetype 0x1B76")
               UO.Exec("usetype 0x13FE")
            else
               UO.Findtype( '0x0F5E' )
               If UO.GetQuantity( 'finditem' ) > 0 Then
                  UO.Exec("usetype 0x1B76")
                  UO.Exec("usetype 0x0F5E")
               else
                  UO.Findtype( '0x13B5' )
                  If UO.GetQuantity( 'finditem' ) > 0 Then
                     UO.Exec("usetype 0x1B76")
                     UO.Exec("usetype 0x13B5")
                  else
                  end if
               end if
            end if
         end if
      end if
      UO.Attack('laststatus')
      uo.waittargettype('laststatus')
   end sub

А вы говорите молодец... Чего только вторая строка стоит -)

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2008-08-09 15:11:32 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
Но работает же. :twisted: :twisted: :lol: :lol: :lol:


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

All times are UTC+02:00


Who is online

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