PDA

View Full Version : Stats


ThePlagueofDeath
10-26-2002, 09:10 PM
I have a Dedicated server running. It is at My ISP on a linux machine, and we cannot make it output a log file for a stats program. do any of you have any suggestions on this matter?

Ludic
10-27-2002, 10:07 AM
g_log "logs/mohaa_scg.log" //The name and place of the log
g_logsync "0"
logfile "3"

Try these settings. You might have to change the logfile variable, but this should be pretty close.

This goes in your server.cfg on the server.

Shockwave
10-27-2002, 04:46 PM
There is one setting that turns on the logging option and it can be placed either on the command line or in your server configuration file:

logfile 2

This should place a server log file in a hidden directory under your home directory by default:

~/.mohaa/main/qconsole.log

You can change both the path to this log file and the name of it with the following two cvars:

+set fs_outputpath /tmp
+set logfilename server1.log

Using the above settings as an example, a log file named "server1.log" will be created in the "/tmp/main" subdirectory. These settings need to be changed if you are running more than one game server on the system so that separate log files can be created. Another setting that helps is this:

sv_chatter 1

This makes player chat show up in the server logs

**NOTE** be sure to specify the cvars that change the path and name of the log file on the command line. Because of how the game processes settings, placing these in your server configuration file may not work.

stipo3
01-14-2003, 07:03 AM
well i search MOHAA stats .but dunno where to search.im to dumb for PHP shit.so if there is sumething with HTML .i heard qtracer is cool.but dunno how to make it.if someone know plz post