Yoko

All sides of Injection
It is currently 2024-03-28 19:14:41

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Journal / Журнал
PostPosted: 2004-07-07 16:22:47 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
Injection creates and works with list of messages, named Journal. Almost all messages are generated by server. Injection's journal are similar to Journal in UO Client but not exactly, keep in mind this.
Инжект создаёт и работает со списком сообщений, называющемся журнал. Почти все ссообщения в нём генерируются сервером. Журнал инжекта подобен журналу в клиенте УО, но не идентичен, помните это.

Commands to work with journal:
Команды для работы с журналом:
,[yhlp_showjournal] [lines_num]
(text) uo.[yhlp_LastMessage]()
(int) uo.[yhlp_InJournal]("text")
(nothing) uo.[yhlp_DeleteJournal]()
(nothing) uo.[yhlp_showjournal]([lines_num])
(text) uo.[yhlp_Journal]([line_num])
(text) uo.[yhlp_JournalSerial]([line_num])
(nothing) uo.[yhlp_SetJournalLine](line_num,text)
See their appropriare description in hystory of developent.
См. соответствующее описание в истории создания и хелпе.

Some explains: Некоторые пояснения:
Code:
uo.deletejournal()

Means erase of Injection journal
Означает стереть журнал инжекта

Code:
if uo.injournal("message") then

Means "if message received from last time journal was erased"
Означает "если message принято со времён последнего удаления журнала"

Code:
if uo.injournal("message")>0 then

Means "if message received from last time journal was erased"
Означает "если message принято со времён последнего удаления журнала"

Code:
if uo.injournal("message")>0 and uo.injournal("message")<5 then

Means "if message was among last 4 messages"
Означает "если message среди последних четырёх сообщений"

Code:
if uo.injournal("message",4) then

Means "if message was among last 4 messages"
Означает "если message среди последних четырёх сообщений"

Code:
if uo.injournal("message")==1 then

Means "if last line (#1) in journal is message"
Означает "если последняя строка (№1) в журнале это message"

Code:
if uo.journal(1)=="message" then

Means "if last line (1) in journal is message"
Означает "если последняя строка (№1) в журнале это message"

Code:
if uo.lastmessage()=="message" then

Means "if last line in journal is message"
Означает "если последняя строка (№1) в журнале это message"

___________
Code:
sub WaitForMessage(message) 
  uo.deletejournal()
  while not uo.injournal(message)
     wait(100)
  wend
end sub


Top
   
 Post subject: Note for AoS users
PostPosted: 2004-07-07 16:24:51 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
RunUO emu using clilocs (client local messages). This means server send only number, then client show text from one of language files.
RunUO использует клилоки (client local сообщения). Это означает что сервер посылает только номер, после чего клиент показывает текст из одного из языковых файлов.

To see what injection got from server use ,showjournal command. It will be something like "cliloc#0x05BD". So you need to seek for such phrases not that you see in client journal.
Чтобы увидеть что именно инжект получает от сервера используйте команду ,[yhlp_showjournal]. Там будет нечто типа "cliloc#0x05BD". Это вам и надо искать вместо фраз которые вы видите в журнале клиента.

(For those have AoS+NetFramework)
(Для тех у кого стоят AoS+NetFramework)
http://yoko.netroof.net/clilocviewer.zip


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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