Menu

#1 multiple log directory support

open
nobody
None
5
2001-07-29
2001-07-29
Liyang HU
No

This patch allows faststats to coalesce logs from multiple
directories. You can add all the directories one after each
other in your config file, separated with a semicolon `;', like
so:

LOGDIR=/log1;/log2;/log3

Useful if you run multiple servers and you want an overall
league table type thingy. ^_^ Making the logs all accessible
from the stats box is an exercise left for the reader. ^_-
(Personally, I would suggest rsync.)

Only parser.c is modified.

Unfortunately, I think this may re-break the fix in v0.65 where
the logs were being parsed out of (chronological) order; I don't
know enough[1] about half-life to figure this out. If this is
the case, then I'll leave it for someone who understands the
thing better to fix it. Sorry...

[1] Wrote the patch at a friend's request - hardly every play
the game myself... ^^;;;

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.