Yoko

All sides of Injection
It is currently 2025-12-18 07:54:56

All times are UTC+02:00




Post new topic  Reply to topic  [ 16 posts ] 
Author Message
 Post subject: Стрелка
PostPosted: 2005-08-15 17:20:32 
Offline

Joined: 2005-02-06 19:28:02
Posts: 57
Кто нибудь может поделиться скриптом , чтоб кидалась стрелка в красного , либо синего, либо серого игрока


Top
   
 Post subject: Re: Стрелка
PostPosted: 2005-08-15 17:24:11 
Offline

Joined: 2005-08-12 03:04:00
Posts: 125
Dread Masta wrote:
Кто нибудь может поделиться скриптом , чтоб кидалась стрелка в красного , либо синего, либо серого игрока

Т.е. в любого игрока?


Top
   
 Post subject:
PostPosted: 2005-08-15 17:38:22 
Offline

Joined: 2005-02-06 19:28:02
Posts: 57
ну допустим как сделать чтоб в красного кидалось?


Top
   
 Post subject:
PostPosted: 2005-08-15 17:48:42 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
UO.GetNotoriety


Top
   
 Post subject:
PostPosted: 2005-08-15 17:52:28 
Offline

Joined: 2005-02-06 19:28:02
Posts: 57
Лео спасибо что откликнулся, но мне бы увидеть весь скрипт полностью, так как со скриптингом у меня полная жопа


Top
   
 Post subject:
PostPosted: 2005-08-15 18:12:52 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
Вот в красного:
Code:
var Enemy, Color
sub test()
Enemy=UO.GetSerial('laststatus')
Color=UO.GetNotoriety(Enemy)

If Color==6 then
UO.Cast('Magic Arrow',Enemy)
else
wait(100)
endif
endsub


Top
   
 Post subject:
PostPosted: 2005-08-15 18:30:37 
Offline

Joined: 2005-02-06 19:28:02
Posts: 57
Млин он чото не пашет..
может если я раскажу для чего мне это нужно то будет понятней.
Кароче
бегу я по бриту - смарю - красный чел, запускаю этот макрос и на него вешаеться таргет


Top
   
 Post subject:
PostPosted: 2005-08-15 18:40:01 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
Code:
var Enemy, Color, ser

sub test()
Enemy=UO.GetSerial(UO.JournalSerial(0))
Color = UO.GetNotoriety(Enemy)
if Color==6 then
UO.Cast('Magic Arrow',Enemy)
else
wait(100)
endif
endsub


Не знаю пашет ли это, но попробуй.


Last edited by Leo on 2005-08-15 18:46:22, edited 1 time in total.

Top
   
 Post subject:
PostPosted: 2005-08-15 18:40:02 
Offline

Joined: 2005-02-06 19:28:02
Posts: 57
Неа:( обидно


Top
   
 Post subject:
PostPosted: 2005-08-15 19:48:04 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 746
Location: The Citadel
Code:
uo.findtype( '0x0190', '-1', 'ground' )
uo.cast( 'Magic Arrow', 'finditem' )


Top
   
 Post subject:
PostPosted: 2005-08-15 19:49:16 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
flake wrote:
Code:
uo.findtype( '0x0190', '-1', 'ground' )
uo.cast( 'Magic Arrow', 'finditem' )


Дык ему ещё и проверка на цвет ника нужна...


Top
   
 Post subject: Re: Стрелка
PostPosted: 2005-08-15 19:50:20 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 746
Location: The Citadel
Dread Masta wrote:
Кто нибудь может поделиться скриптом , чтоб кидалась стрелка в красного , либо синего, либо серого игрока


:?


Top
   
 Post subject:
PostPosted: 2005-08-15 23:28:06 
Offline

Joined: 2005-02-06 19:28:02
Posts: 57
Я имел ввиду в какого то из этих, не сразу во всех , определенный скрипт под определенный цвет ника
я думал это легко поправить если че, поэтому как пример взял красный ник


Top
   
 Post subject:
PostPosted: 2005-08-15 23:30:27 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
Code:
var Color
sub test()
UO.Set('finddistance','20')
UO.FindType( '0x0190', '-1', 'ground' )
Color = UO.GetNotoriety('finditem')
if Color==6 then
UO.Cast('Magic Arrow','finditem')
else
wait(100)
endif
endsub


Top
   
 Post subject:
PostPosted: 2005-08-16 09:51:50 
Offline

Joined: 2005-02-06 19:28:02
Posts: 57
Лео спасибо скрипт работает норм, но если рядом стоит еще один человек синий , то скрипт не срабатывает :((


Top
   
 Post subject:
PostPosted: 2005-08-16 10:33:47 
Offline
Sphere expert
User avatar

Joined: 2004-10-01 08:27:38
Posts: 1143
Location: Уфа
Code:
var Enemy, Color , i
sub test()
for i=0 to 10
Enemy=UO.JournalSerial(i)
Color=UO.GetNotoriety(Enemy)

If Color==6 then
UO.Cast('Magic Arrow',Enemy)
endif
next
endsub

_________________
Сделал дело - флуди смело !!!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 16 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