| Yoko http://forum.yoko.com.ua/ |
|
| detect incoming players http://forum.yoko.com.ua/viewtopic.php?f=1&t=601 |
Page 1 of 1 |
| Author: | Badza [ 2004-06-19 10:53:15 ] |
| Post subject: | detect incoming players |
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. |
|
| Author: | lalla521 [ 2004-06-19 19:48:17 ] |
| Post subject: | |
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 |
|
| Author: | Badza [ 2004-06-19 20:18:53 ] |
| Post subject: | |
not this -> 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 |
|
| Author: | Yoko [ 2004-06-19 21:22:02 ] |
| Post subject: | |
use ,showjournal to see what INJECTION's journal contains |
|
| Author: | Badza [ 2004-06-19 22:18:35 ] |
| Post subject: | |
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? |
|
| Author: | Lord Ruslan Nightmare [ 2004-06-20 11:39:16 ] |
| Post subject: | |
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. |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|