Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7

вопрос по WaitJournalLine

тут можно задать вопрос по скриптингу
Post Reply
Lietman
Novice
Novice
Posts: 74
Joined: 12.12.2010 14:17
Contact:

вопрос по WaitJournalLine

Post by Lietman »

Проблема в том что почему не видет в жрунале появления вортекса :( а физл видет, почему так ?

Code: Select all

repeat
                   AddToSystemJournal('Кастуем вортекса.');
                   FindType(Elem,Ground);
                   cast('Energy Vortex')
                   WaitForTarget(5000);
                   if targetpresent then
                   begin
                      TargetToObject(FindItem);
                   end;
                   ClearJournal;
                 WaitJournalLine(Now, 'Energy|fizzles.', 40000);
                until FindType(Vortex,Ground)=1
MuDaCk
Apprentice
Apprentice
Posts: 393
Joined: 10.10.2006 0:03
Contact:

Re: вопрос по WaitJournalLine

Post by MuDaCk »

Может у вас не выводится сообщение с ником появившегося моба... типо на него надо кликнуть или ещё чёто...
My name is Игорёшка Image
Пишу скрипты за едуImage
Lietman
Novice
Novice
Posts: 74
Joined: 12.12.2010 14:17
Contact:

Re: вопрос по WaitJournalLine

Post by Lietman »

вы водится ! В журнале появляется.
Alex
Moderator
Moderator
Posts: 351
Joined: 07.04.2005 4:41

Re: вопрос по WaitJournalLine

Post by Alex »

покажи 10 строчек из журнала, когда там вортекс появляется, но WaitJournal не видит этого, и еще, перед вызовом WaitJourlal, добавь команду UOSay('waiting') что бы видно где он ждать начинает
Новый стелс лежит тут. Стелс это произведение искусства! :)
Lietman
Novice
Novice
Posts: 74
Joined: 12.12.2010 14:17
Contact:

Re: вопрос по WaitJournalLine

Post by Lietman »

Code: Select all

[19:00:22:484] You see: Stone Golem
[19:00:22:859] You see: Stone Golem
[19:00:25:312] ShreK: You have hidden yourself well
[19:00:30:828] ShreK: ShreK
[19:00:34:578] System: You are simply too full to eat any more!
[19:00:34:578] System: You can't think of a way to use that item.
[19:00:34:843] System: You are simply too full to eat any more!
[19:00:34:843] System: You can't think of a way to use that item.
[19:01:40:593] System: Where would you like to summon the creature ?
[19:01:40:796] System: Target is not in line of sight
[19:01:40:921] System: You have been revealed
[19:01:40:937] ShreK: waiting
[19:01:44:296] You see: *Stone Golem is attacking you*
[19:01:51:484] You see: *Stone Golem is attacking you*
[19:01:53:312] ShreK: You have hidden yourself well
[19:01:56:000] System: Where would you like to summon the creature ?
[19:01:56:234] System: You have been revealed
[19:01:56:234] ShreK: Vas Corp Por 
[19:01:56:359] ShreK: waiting
[19:01:58:078] You see: *Stone Golem is attacking you*
[19:02:06:765] You see: Energy Vortex
[19:02:06:765] You see: Energy Vortex
[19:02:15:953] ShreK: You have hidden yourself well
[19:02:16:359] Stone Golem: *You see Stone Golem attacking Energy Vortex*
[19:02:18:859] Stone Golem: *You see Stone Golem attacking Energy Vortex*
Alex
Moderator
Moderator
Posts: 351
Joined: 07.04.2005 4:41

Re: вопрос по WaitJournalLine

Post by Alex »

может WaitJournalLine не учитывает сообщения типа "You see: ..."? проверь в тестовом скрипте, у меня сейчас стелса нет под рукой
Новый стелс лежит тут. Стелс это произведение искусства! :)
Lietman
Novice
Novice
Posts: 74
Joined: 12.12.2010 14:17
Contact:

Re: вопрос по WaitJournalLine

Post by Lietman »

походу не учитывает :(
Post Reply