Yoko

All sides of Injection
It is currently 2025-12-02 15:06:50

All times are UTC+02:00




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
PostPosted: 2007-11-14 18:25:08 
Offline

Joined: 2005-07-22 13:43:25
Posts: 83
sub seno()
var x, y
x=uo.getX('laststatus')
y=uo.getY('laststatus')
var i,Exit
DIM seno[3]
seno[0]=0x0F36 ; #Bse 3 tipa sena
seno[1]=0x100C ;#-\\-\\-\\-\\-\\-
seno[2]=0x100D ;#-\\-\\-\\-\\-\\-
For i=0 to 2
Exit=0
uo.FindType(seno[i],'-1','backpack')
uo.Drop('1', x-1, y, 0, 'finditem')
CheckLag()
next
uo.FindType(seno[i],'-1','backpack')
uo.Drop('1', x+1, y, 0, 'finditem')
endsub

помогите плз..вот скрипт когда чар кидает около противника два..сена...а как сделать так чтобы чар просто под противника сено кидал ну или впереди его...


Top
   
 Post subject:
PostPosted: 2007-11-14 18:29:30 
Offline

Joined: 2005-07-22 13:43:25
Posts: 83
или вот этот скрипт переделайте как нить плз...либо под противника либо впереди его...
sub drop()
var seno = '0x0F36'
uo.findtype(dager,'-1','backpack')
if uo.findcount() then
uo.drophere('finditem')
else
uo.print ('Net dagera')
end if
end sub


Top
   
 Post subject:
PostPosted: 2007-11-14 20:09:13 
Offline
User avatar

Joined: 2004-12-28 19:31:44
Posts: 143
***

Destruction: Выбирай выражения, или специально для тебя найду способ забанить.


Top
   
 Post subject:
PostPosted: 2007-11-14 20:41:04 
Offline

Joined: 2005-07-22 13:43:25
Posts: 83
KTO nyKHyJI??? wrote:
***

что сея ересь означает?..помоч не судьба...??


Top
   
 Post subject:
PostPosted: 2007-11-15 00:03:13 
Offline

Joined: 2005-07-22 13:43:25
Posts: 83
блин :cry: ну помогите кто нить плз....


Top
   
 Post subject:
PostPosted: 2007-11-15 00:49:31 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
В хелп заглядвать не пробовали?
Code:
sub seno() 
var x, y, z
x=uo.getX('laststatus')
y=uo.getY('laststatus')
z=uo.getZ('laststatus')
DIM seno[3]
seno[0]=0x0F36 ; #Bse 3 tipa sena
seno[1]=0x100C ;#-\\-\\-\\-\\-\\-
seno[2]=0x100D ;#-\\-\\-\\-\\-\\-
For i=0 to 2
uo.FindType(seno[i],'-1','backpack')
if uo.findcount() then
uo.moveitem( "finditem", "0", "ground", str( x ), str( y ), str( z ) )
return
endif
next
endsub

_________________
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: 2007-11-15 09:04:23 
Offline

Joined: 2005-07-22 13:43:25
Posts: 83
Veriable undefined - I...вот что пишет...происходит это все вот в этой строке...

uo.FindType(seno[i],'-1','backpack')


Top
   
 Post subject:
PostPosted: 2007-11-15 09:15:55 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Sp wrote:
Veriable undefined - I...вот что пишет...происходит это все вот в этой строке...

uo.FindType(seno[i],'-1','backpack')


Code:
var x, y, z


Edit to

Code:
var x, y, z, i


Top
   
 Post subject:
PostPosted: 2007-11-15 09:48:23 
Offline

Joined: 2005-07-22 13:43:25
Posts: 83
теперь пишет Bad operation for this type of veriable - SENO...
опять таже строка...


Top
   
 Post subject:
PostPosted: 2007-11-15 12:46:29 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Code:
sub seno() 
var x, y, z , i
x=uo.getX('laststatus')
y=uo.getY('laststatus')
z=uo.getZ('laststatus')

DIM typ[3]
 typ[0]=0x0F36  #Bse 3 tipa sena
 typ[1]=0x100C #
 typ[2]=0x100D #

For i=0 to 2
  uo.FindType(typ[i],'-1','backpack')
  if uo.findcount() then
    uo.moveitem( "finditem", "0", "ground", str( x ), str( y ), str( z ) )
    return
  endif
next
endsub


Top
   
 Post subject:
PostPosted: 2007-11-15 12:52:07 
Offline

Joined: 2005-07-22 13:43:25
Posts: 83
блин....огромное огромное спасибо....я знал что здесь хорошие люди..которые готовы помочь..спасибо..


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

All times are UTC+02:00


Who is online

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