Yoko

All sides of Injection
It is currently 2024-03-29 13:38:44

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2020-05-05 12:47:58 
Offline

Joined: 2020-05-05 12:35:13
Posts: 3
Вот такой скрипт у меня получился, смысл такой один чар кастует монстра одного из двух типов, другой по этому скрипту ищет в радиусе 3х тайлов монстра и кидает в монстра FlameStrike.

sub FSM()
var i
dim monst[2]
monst[0] = '0x00AF' #Тип монстра 1
monst[1] = '0x00D9' #Тип монстра 2
uo.set('finddistance', '3')
for i = 0 to 1
uo.findtype(monst[i],'-1','ground')
If UO.FindCount() > 0 Then
uo.usetype ('0x1F5F')
UO.WaitTargetObject('finditem')
endif
next
end sub

Все работает, но есть одна проблема, ни в какую не находит монстра пока тот не сделает шаг в сторону, если монстр на месте стоит с момента вызова, так и как будто его нет, скрипт не видит.


Top
   
PostPosted: 2020-05-05 15:32:44 
Offline

Joined: 2020-05-05 12:35:13
Posts: 3
Переделал по другому, результат тот же( Работает но только когда вызваный моб с места двинется хоть на клетку
sub MBF()
uo.addfindlist("Mob", "0x000A") ; Mob1
uo.addfindlist("Mob", "0x0009") ; Mob2
if uo.findlist("Mob", "ground", 3) then
uo.usetype ('0x1F5B')
UO.WaitTargetObject('finditem')
endif
next
end sub


Top
   
PostPosted: 2020-05-09 22:35:46 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Скорее всего проблема в самом инжекте и поправить это так легко не получится.

Судя по тому что вы пишите - инжект не видит накастованных мобов, а находит их только когда они сделают шаг..

Получается это нужно допилить инжект, чтобы он вытаскивал информацию о мобах из ещё какого-то пакета..

_________________
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
   
PostPosted: 2020-05-10 14:49:48 
Offline

Joined: 2020-05-05 12:35:13
Posts: 3
Спасибо за ответ! Жаль конечно..


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 17 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