Yoko

All sides of Injection
It is currently 2026-01-16 20:19:04

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: detect incoming players
PostPosted: 2004-06-19 10:53:15 
Offline

Joined: 2004-06-19 10:49:57
Posts: 19
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.


Top
   
 Post subject:
PostPosted: 2004-06-19 19:48:17 
Offline

Joined: 2004-04-06 22:41:11
Posts: 80
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


Top
   
 Post subject:
PostPosted: 2004-06-19 20:18:53 
Offline

Joined: 2004-06-19 10:49:57
Posts: 19
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 :)


Top
   
 Post subject:
PostPosted: 2004-06-19 21:22:02 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
use ,showjournal to see what INJECTION's journal contains


Top
   
 Post subject:
PostPosted: 2004-06-19 22:18:35 
Offline

Joined: 2004-06-19 10:49:57
Posts: 19
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


Top
   
 Post subject:
PostPosted: 2004-06-20 11:39:16 
Offline
Expert!

Joined: 2004-04-25 11:11:07
Posts: 359
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.

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


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 4 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited