Catch "player connected" string in a log.
Hi,
For some purpose i would like to catch the string in the log like L 05/21/2009 - 19:52:20: "NickName<1082><4294967295><>" connected, address "XXX.XXX.XXX.XXX:XXXX" I would like to do it with register_logevent() command. But there are some tricks for this particular case. I did not found similar example. I tried several combinations but all of them don't work. I believe there is something very simple what i can't see. Could somebody please help to bring the following code in order. Code:
public plugin_init ()Code:
register_logevent( "event_user_connected", 4, "1=connected" "2=address" ) |
Re: Catch "player connected" string in a log.
2 Attachment(s)
Try this (attached)
PHP Code:
|
Re: Catch "player connected" string in a log.
You can't catch this with a logevent.
|
Re: Catch "player connected" string in a log.
I need to filter some "bad" connections to server and this connection are not caught by client_connect or client_connecting or client_authorized. These connections are seen in server log only...
So if it is not possible to catch it with logevent then... don't know what then. Anyway thank you for help. I appreciate it. |
| All times are GMT -4. The time now is 01:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.