Yoko

All sides of Injection
It is currently 2024-03-28 21:12:20

All times are UTC+02:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: 2015-02-04 23:36:05 
Offline

Joined: 2015-02-04 23:29:36
Posts: 5
Здравствуйте, подскажите как решить такую проблему.
Инжа 1403.09
Клиент 7.0.18.0
После того как меня пойзонят или кидают к примеру харм, перестает работать любой скрипт,я так понимаю таргет зависает или хз.
Помогает только если я вручную с иконки(спеллбуки) юзаю магию.


Top
   
PostPosted: 2015-02-05 15:05:40 
Offline

Joined: 2011-06-11 19:54:23
Posts: 820
Шта? Скрипт в студию.


Top
   
PostPosted: 2015-02-05 17:44:39 
Offline

Joined: 2015-02-04 23:29:36
Posts: 5
Может я конечно не правильно объясняю.
Скрипт вот
sub Heal()
if not UO.waiting() then
UO.Exec("cast Heal self")
end if
if uo.injournal("cliloc# 0xA3A1") then
UO.Exec("cast Heal self")
wait(100)
uo.deletejournal()
end if
end sub


Top
   
PostPosted: 2015-02-05 19:57:31 
Offline

Joined: 2011-06-11 19:54:23
Posts: 820
Зачем же такое? %)
Макро в хоткеи будет достаточно...
Code:
cast Heal self


Top
   
PostPosted: 2015-02-05 20:59:31 
Offline

Joined: 2015-02-04 23:29:36
Posts: 5
Просто при таком скрипте можно зажать кнопку и идет хил без физлов.
Но проблема осталась, если такие спелы я еще могу заменить каст хил селф и тд, то как быть с этим ?


sub F()
if not uo.Waiting() then
if uo.GetGlobal('spell') == '1' then
uo.SetGlobal('spell', '0')
uo.Cast('Arrow', 'lastattack')
else
uo.SetGlobal('spell', '1')
uo.Cast('Fireball', 'lastattack')
endif
endif
if uo.injournal("cliloc# 0xA3A1") then
if uo.GetGlobal('spell') == '1' then
uo.SetGlobal('spell', '0')
uo.Cast('Arrow', 'lastattack')
else
uo.SetGlobal('spell', '1')
uo.Cast('Fireball', 'lastattack')
endif
uo.deletejournal()
endif
end sub

или
sub harm()
if not uo.Waiting() then
if uo.GetGlobal('spell') == '1' then
uo.SetGlobal('spell', '0')
uo.Cast('Harm', 'lastattack')
else
uo.SetGlobal('spell', '1')
uo.Cast('Harm', 'lastattack')
endif
endif
if uo.injournal("cliloc# 0xA3A1") then
if uo.GetGlobal('spell') == '1' then
uo.SetGlobal('spell', '0')
uo.Cast('Harm', 'lastattack')
else
uo.SetGlobal('spell', '1')
uo.Cast('Harm', 'lastattack')
endif
uo.deletejournal()
endif
end sub


Top
   
PostPosted: 2015-02-05 23:02:48 
Offline

Joined: 2011-06-11 19:54:23
Posts: 820
На 1 скрипт - сделать 2 макра, каст стрелки и отдельно файрболла, не представляю, зачем тебе их менять.
2 - cast Harm lastattack


Top
   
PostPosted: 2015-02-06 09:25:37 
Offline

Joined: 2015-02-04 23:29:36
Posts: 5
Понятно спасибо.
Просто на версии инжи 805.31 работали эти скрипты прекрасно, а вот на новой такая проблема.


Top
   
PostPosted: 2015-02-06 09:42:41 
Offline

Joined: 2011-06-11 19:54:23
Posts: 820
Кхм, я конечно проверю, скорее всего это из–за uo.waiting(), но особенность ее работы не изменял.


Top
   
PostPosted: 2015-02-06 18:24:38 
Offline

Joined: 2015-02-04 23:29:36
Posts: 5
Ну походу из-за uo.waiting() из скрипта ее убираю скрипт не сбивается, правда скрипт уже не так работает как надо


Top
   
PostPosted: 2015-02-07 10:52:21 
Offline

Joined: 2011-06-11 19:54:23
Posts: 820
Повторить не получилось.
Uo.Waiting() правильно сбрасывается при всех вариантах...


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

All times are UTC+02:00


Who is online

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