Yoko

All sides of Injection
It is currently 2026-01-09 02:24:25

All times are UTC+02:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
 Post subject: UO.InJournal
PostPosted: 2004-04-08 22:34:52 
Offline
User avatar

Joined: 2004-04-06 12:27:32
Posts: 118
Приветик. Вот возник вопрос по поводу этой команды UO.InJournal.
Вобщем есть примитивный скрипт(для примера)

sub Fishtest()
UO.DeleteJournal()
UO.Exec("useobject pole") #это есессено добавлено
wait(500)
UO.LClick(359,243)
UO.Print('Fishing...')
wait(4500)

endsub

sub ttt()
Fishtest()
wait(6000)
If UO.InJournal('You fish') Then
UO.Print('Fuk yOou')
endsub

Но вот почему то после появления надписи 'You fish a while, but fail to catch anything' ничего НЕ пишеться мне ответ. не пойму ПОЧЕМУ???=(((
Клиент у меня ультимы 4.0.0с. Инжа версии 0.3.30.4 alpha.
Заранее благодарю.
Если есть иной способ находить и распознавать текст в журнале (с дальнейшим его использованием естественно, то напишите это сюды. )


Top
   
 Post subject: english
PostPosted: 2004-04-08 22:53:40 
Offline

Joined: 2004-04-08 11:33:14
Posts: 3
i'm italian if u write even in wnglish maybe we can help both!

_________________
Much that once was, were lost, for none now live to remember


Top
   
 Post subject: Re: english
PostPosted: 2004-04-08 22:58:37 
Offline
User avatar

Joined: 2004-04-06 12:27:32
Posts: 118
Hi. I Dont understand why doesnt work UO.InJournal script
4 example this in script

sub Fishtest()
UO.DeleteJournal()
UO.Exec("useobject pole") #added in obj.
wait(500)
UO.LClick(359,243)
UO.Print('Fishing...')
wait(4500)

endsub

sub ttt()
Fishtest()
wait(6000)
If UO.InJournal('You fish') Then
UO.Print('Fuk yOou')
endsub

Why uo dont write to me this>>> "UO.Print('Fuk yOou'") ???
My client version is 4.0.0c
aand Injection version 0.3.30.4 alpha =\\


Top
   
 Post subject:
PostPosted: 2004-04-09 13:16:10 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
runuo using client local text strings (clilocs)
they presented by numbers
use ,showjournal to see what injection see in own journal to know which numbers to handle in scripts


Top
   
 Post subject:
PostPosted: 2004-04-09 13:53:29 
Offline
User avatar

Joined: 2004-04-06 12:27:32
Posts: 118
Дак в моём случае что нибудь придумать? Что значат [lines_num] в Showjournal? Было бы супер, если бы привели наглядный пример.


Top
   
 Post subject:
PostPosted: 2004-04-09 15:55:00 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
это сколько линий выдавать (по умолчанию 10)
запусти и всё станет тебе ясно


Top
   
 Post subject:
PostPosted: 2004-04-11 01:28:59 
Offline
User avatar

Joined: 2004-04-06 12:27:32
Posts: 118
Спасибо. Всё ясно теперь.


Top
   
 Post subject:
PostPosted: 2004-04-25 11:37:43 
Offline
Expert!

Joined: 2004-04-25 11:11:07
Posts: 359
напиши
,set cliloc 1
чтобы увидеть, каким клилокам какие сообщения сервера соответствуют. (кстати, клилоки удобнее обычных сообщений, с ними не надо делать проверку "а-ля" регулярные выражения)

_________________
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...


Top
   
 Post subject: good
PostPosted: 2005-02-01 23:07:21 
Offline

Joined: 2005-01-30 22:59:26
Posts: 1
Location: www.seifi.ru
interesting (moy perviy post rebyata)

_________________
www.seifi.ru


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