Yoko

All sides of Injection
It is currently 2025-12-22 09:39:23

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Auto Ataka.
PostPosted: 2008-03-09 16:26:15 
Offline

Joined: 2008-01-24 03:34:43
Posts: 3
Mozet kto nebut dat malenkij skript 4tob kogda ja v pagone za crimom nenada bila dostovat ego Status, a prosta nazat knopku
i proishodit 4tota vrode

Attackt Nearest
set laststatus = lastattacked

I kak pravilno zdelat
4tob on ignore Mena

Code:
sub FS()
UO.Ignore("self")
uo.cast("Flame Strike","laststatus")
UO.Ignore("self")
wait(115)
uo.msg(" ")
uo.msg(" ")
uo.msg(" ")
uo.msg(" ")
end sub

On inogda kastuet speli na mena.




Code:
sub find() 
var i, t_len = 2 ;
DIM t [ val( str( t_len ) ) ]
t[0] = "0x0191"
t[1] = "0x0190"
 uo.ignore( "self" )
uo.set('finddistance',12)
repeat
   for i = 0 to t_len -1
      uo.findtype( t[i], "-1", "ground" )
      If uo.FindCount() Then
         If uo.getNotoriety( "finditem" ) == 1 or uo.getNotoriety( "finditem" ) == 3 Then ; если синий или серый, игнор
            uo.Ignore( "finditem" )
         Else
           uo.attack( "finditem" ) 
      uo.cast("Magic Arrow","finditem")

           wait(3000)
         End If
      End If
   next
   wait( 300 )
until false
End Sub


vot nashol takoi, no on attakuet vseh podrjat. NPC i Sinih nada 4tob otokoval vseh kto krasniji. I pri nohodke on prodalzhaet iskat, eta uze nenada.
uo.getNotoriety
6 : Murderer (красный)

Peredelal tak, no sei4as on vobse ne4ego nenahodet.

Code:
 If uo.FindCount() Then 
         If uo.getNotoriety( "finditem" )  == 6 or If uo.getNotoriety( "finditem" )  == 4  Then
          uo.attack( "finditem" ) 
      uo.cast("Magic Arrow","finditem")
end sub 
         Else
uo.Ignore( "finditem" )
            wait(3000)


Top
   
 Post subject:
PostPosted: 2008-03-10 03:10:08 
Offline

Joined: 2007-04-26 23:35:15
Posts: 220
Code:
 If uo.FindCount() Then 
         If uo.getNotoriety( "finditem" )  == 6 or If uo.getNotoriety( "finditem" )  == 4  Then
          uo.attack( "finditem" ) 
      uo.cast("Magic Arrow","finditem")
end sub 
         Else
uo.Ignore( "finditem" )
            wait(3000)

Хех.. Попробуй так:
Code:
if uo.findcount() then
  if uo.getnotoriety( 'finditem' ) == 6 || uo.getnotoriety( 'finditem' ) == 4 then
    uo.attack( 'finditem' ) 
    uo.cast( 'Magic Arrow', 'finditem' )
  else
    uo.ignore( 'finditem' )
  endif
endif


Top
   
 Post subject:
PostPosted: 2008-03-10 14:56:34 
Offline

Joined: 2008-01-24 03:34:43
Posts: 3
4tota vso ravno ne tak ?
U mena tut server so frakcijami.
V princepe est 3 Frakciji... Choas (krasniji - Murderi) Order (siniee) I Criminals (toze krasniji- Toze Murderi) Mozet izza etogo olichaetsa Notoriety ?
Mozet mozna kakto uznat kakoi un nih Notiriety ?
Old Paradise Server esli 4to.


Top
   
 Post subject:
PostPosted: 2008-03-11 00:18:45 
Offline

Joined: 2007-04-26 23:35:15
Posts: 220
Попробуй так проверить..
Code:
sub getnotoriety()
  uo.print( str( uo.getnotoriety( 'laststatus' ) ) )
endsub


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

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