Yoko

All sides of Injection
It is currently 2024-03-28 23:57:13

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2017-01-04 07:05:34 
Offline

Joined: 2016-12-26 09:22:38
Posts: 1
Пытаюсь сделать скрипт - для игнора демонов и стенок, которые диспеляся при ласт таргете.
В уопилоте это делается легко через //setlasttarget вставляешь айди цели и в клиенте будет этот айди в памяти.

Тут не нашел, мудрил мудрил, но не нашел.


Code:
sub Target()
   uo.Print('Select target')
   uo.addobject('target')
end sub



sub Autotarget()
var targetSerial
var lastgraph
uo.print('Autotarget: Enabled!')
uo.set('lasttarget','target')
targetSerial = uo.GetSerial('target')
lastgraph = UO.GetGraphic('lasttarget')

while 1 == 1
if uo.isNpc('lasttarget') then
uo.print('Is NPC')
if lastgraph == '0x000A' and lastgraph == '0x0009' then
uo.print('Its a daemon')
//////uo.ClientMarkChar(1, targetSerial) - не помогло
////////////////// Вот тут нужна команда, что бы сетнуть айди на ласттаргет в клиенте /////////////////////
else
uo.print('Its platyer or npc and not a daemon')
end if
else
uo.print('Is not NPC')
//////uo.ClientMarkChar(1, targetSerial) - не помогло
////////////////// Вот тут нужна команда, что бы сетнуть айди на ласттаргет в клиенте /////////////////////
end if
wait(1000)
wend
end sub


Top
   
PostPosted: 2017-01-04 13:06:24 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
Trustme wrote:
Пытаюсь сделать скрипт - для игнора демонов и стенок, которые диспеляся при ласт таргете.

Не понятно, больно мудришь чего то. Ты чего с таргетом хочешь делать? Запомнить и игнорить или запомнить и атаковать? Или где? Опиши более развернуто цель скрипта.

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


Top
   
PostPosted: 2017-01-06 00:17:37 
Offline

Joined: 2012-07-27 23:43:14
Posts: 249
Мираж с днюхой прошедшей и с новым годом всех!


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

All times are UTC+02:00


Who is online

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