command going direct to logfiles

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Postby ZyanKLee » Wed Jun 25, 2008 10:42 am

Xeno The Blind wrote:How are you doing it now? Just parsing the log for names and scores?

yes

Btw, are you tracking everyone on your server? I'd suggest ignoring all names beginning with ^4^2 as that's become a convention for those wishing to not be tracked (used by the {} and DCC servers at least).

yes I do - but I didn't know about that "^4^2" thing - so I will implement this one with 0.2

For my suggestion above though, you might have to follow a few extra things, but it shouldn't be that difficult since there aren't that many different messages (I already wrote a scrip to track the flag status from a console pipe, for example). In your case, you'd need to track name changes, joins and exits, which shouldn't be too much. You're then in a position to track more detailed stats (favorite weapon, most kills with %w, most frags in a row), and people won't have to wait for the match to finish to get their stats registered if they want to leave (or have to worry about joining a match late because they're afraid of having a low score at the end).


Yeah, there were some things that I wanted to additionally track, but hadn't had the time to implement it.
I think I just have to extend some parts of the parser, as it is flexible enough by now.
8)
ZyanKLee
Alien
 
Posts: 151
Joined: Sun Feb 18, 2007 8:58 pm
Location: Germany

Previous

Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron