[cod] tracking ips...

Jay Vasallo jayco1 at charter.net
Tue Dec 14 17:53:18 EST 2004


All this because of your boss? Man COD is supposed to be fun. Tell him to 
buy the game.


----- Original Message ----- 
From: "Josh Berry" <games at chickenmonkey.co.uk>
To: <cod at icculus.org>
Sent: Tuesday, December 14, 2004 4:33 PM
Subject: Re: [cod] tracking ips...


> On Tuesday 14 December 2004 19:32, Ken wrote:
>> You would need to write a script that phrases the log file per IP and per
>> player. Then you would be able to get total time on and their IP.
>
> You can parse the logfile so that it gives you:
>
> - The time that a specific IP address joined
> - The time that a specific IP address disconnected
>
> Combine them and you should be able to get something like a chronological 
> list
> of when people join and leave. Then work out the period of time between a
> specific IP joining and the same IP disconnecting.
>
> I didn't say it would be easy though .. try parsing the logfile to get 
> lines
> something like:
>
> 132.123.123.123 CONNECT dd-mm-yy-hh-m-s
> 132.123.123.123 DISCONNECT dd-mm-yy-hh-m-s
>
> In a file (or a database if you know any SQL or similar) ..
>
> Josh
>
>> Yes i can get ips from log. But there is no duration or time or something
>> like that :/
>>
>>
>>
>>
>>
>>   _____
>>
>> From: Jay Vasallo [mailto:jayco1 at charter.net]
>> Sent: Tuesday, December 14, 2004 7:55 PM
>> To: cod at icculus.org
>> Subject: Re: [cod] tracking ips...
>>
>>
>>
>> You should have a games_mp.log . Haven't really opened it up, but I know 
>> in
>> other games, it shows the ip and time they connect.
>>
>> ----- Original Message -----
>>
>> From: Klemen <mailto:klemen.mihevc at siol.com>  Mihevc
>>
>> To: cod at icculus.org
>>
>> Sent: Tuesday, December 14, 2004 12:43 PM
>>
>> Subject: [cod] tracking ips...
>>
>>
>>
>> Hello,
>>
>>
>>
>> I'm running 1 CoD and 1 UO server on ISP where i work and my >boss< wanna
>> have somekind of statistics about ips connecting to different server and
>> for how long. I know log files doesn't provide this info, so i must be 
>> some
>> system trick... btw servers are on linux.
>>
>>
>>
>>
>>
>> Thx
> 





More information about the Cod mailing list