All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Userinfo entry in TC:E 0.49b server log file
PostPosted: Fri Jun 19, 2009 10:44 am 
Offline
Sharp Shooter
Sharp Shooter
User avatar

Joined: Sat Jun 13, 2009 9:50 am
Posts: 78
Location: Poland
Hi everyone!

This is my first post, so firstly I want to say hello to all TC:E players and apologize to you for my poor english :-)

I plan to write some players GUID based server statistics with PHP and I have some problems with server log files. My server config includes:
Code:
set g_log "tce-server.log"
set g_logsync 0
set logfile 2


The problem is, that tce-server.log missing some valueable information like: player's IP, GUID etc. The example entry from this log file looks like this:
Code:
5:54 ClientUserinfoChanged: 2 n\simons\t\3\c\0\r\0\m\0000000\s\0000000\dn\\dr\0\w\0\lw\0\sw\0\mu\0\ref\0


I also checked the etconsole.log file and I noticed that there is an entry called Userinfo, which includes player's IP and GUID:
Code:
Userinfo: \g_password\none\cl_guid\guid-xxx-xxx-xxx\cl_punkbuster\1\cl_anonymous\0\snaps\20\rate\25000\name\simons\cl_wwwDownload\1\protocol\84\qport\233\challenge\212265017\ip\xxx.xxx.xxx.xxx:27960


I wonder whether there is a way to have this entry in tce-server.log file? Maybe I set wrong values for logs in server config file?

PS: I know that there are VSP statistics, but they look terrible.

Thanks in advance!
simons

_________________
Image

Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 19, 2009 11:03 am 
Offline
Rock Me, Amadeus!
Rock Me, Amadeus!

Joined: Thu Jun 11, 2009 10:38 am
Posts: 172
Location: Austria
hey

I'm working on a somehow similar poject, and I can tell ya, you can't get the userinfo --> the etkey/ip to the "stats logfile". you have to go with the etconsole.log

btw the lines with Userinfo: bla
refer to the last ClientConnect: NUMBER line

_________________
"Fog is neither water nor air, it's something between." Merlin


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 19, 2009 11:29 am 
Offline
Sharp Shooter
Sharp Shooter
User avatar

Joined: Sat Jun 13, 2009 9:50 am
Posts: 78
Location: Poland
Thanks for your reply, merlin1991!

I also considered this solution, but it has one major weak point - both log files must be synchronized. The etconsole.log doesn't have a timestamp at the beginning of each entry, like it is in server log file. So if these files were not created at the same time, it's hard to get obtain relevant information. When server shuts down and starts up again, the etconsole.log file is overwritten, otherwise than the server log file. :(

_________________
Image

Image


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
Style created by © Matti, gry komputerowe, reklama sem reklama seo

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group