Page 1 of 1
detect incoming players
Posted: 2004-06-19 10:53:15
by Badza
Hi,
how can I detect incoming players? In journal i found "You see: Playername", but in uo.injournal() isn'n nothing
Please help me, thnx.
Posted: 2004-06-19 19:48:17
by lalla521
in injection journal when a player approaches you see somethin like this:
Ragnar [OL] : Ragnar [OL]
at this point you can search for ":" in journal, and when you find it, you can control if the string before and after the ":" are equals
Posted: 2004-06-19 20:18:53
by Badza
not this ->

Ragnar [OL] : Ragnar [OL]
In client 1.26.4 at server Dark Paradise (
www.darkparadise.cz). I found in journal this:
You see: playername
but function uo.injournal() don't return this line, which i see in journal in game (after press JOURNAL button)
please help me with this
or
tell me another metod to detect incomin players
(incoming player must trigged sub function

Posted: 2004-06-19 21:22:02
by Yoko
use ,showjournal to see what INJECTION's journal contains
Posted: 2004-06-19 22:18:35
by Badza
Thnx, i found these lines
Riknueth: Lord Riknueth
Rilkhel: Rilkhel
Ice Fiend: Ice Fiend
Kyorl: Lord Kyorl
Evzen: You have hidden yourself well
and now, if i found ":" and -not- "myname", then is it incoming player
or finding twice some string in line?
any ideas?

(scripts?

thnx
Posted: 2004-06-20 11:39:16
by Lord Ruslan Nightmare
just search every 100 milliseconds for players around. If you found something new - then it's player you just saw. Don't have any ideas about journal...Also, i can say, what party messages not writing to journal at all.