uo.injournal() Dont read Sys Message

General Injection issues

Moderators: Murderator+, Murderator

Post Reply
micion
Posts: 5
Joined: 2006-05-17 03:53:39

uo.injournal() Dont read Sys Message

Post by micion »

i wanna detect bandage operation or special move

so if i write:

Code: Select all

sub Check()
if uo.injournal('mortally') then
uo.print('you have big problem')
uo.deletejournal()
end if
end sub


calling the sub it will detect only if i or someone tell the word 'mortally' but it not find the message 'You have been mortally!' came after a special make by weapon :(

i cant read server message with uo.injournal

how can be possible??

how i have to do to resolve?
admir
Posts: 528
Joined: 2005-01-13 07:20:54

Post by admir »

uo.print() - is an internal message .
Injection journal does not mark it .
micion
Posts: 5
Joined: 2006-05-17 03:53:39

Post by micion »

i want not to read my own print i wanna read the message come from bandage/special that i dont print :|
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

try to use your bandages and then print ,showjournal ...
i think you will see something like cliloc# ... try to understand this code messages. And if it will be, use uo.injournal('cliloc# ...')
micion
Posts: 5
Joined: 2006-05-17 03:53:39

Post by micion »

tankyou I go to work with this! :*
micion
Posts: 5
Joined: 2006-05-17 03:53:39

Post by micion »

Is Perfect i Love You!!! :*

i need a little sub can i ask to you?
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

:) you can
micion
Posts: 5
Joined: 2006-05-17 03:53:39

Post by micion »

i write u a pm :)
Post Reply