Alliedassault

Alliedassault (alliedassault.us/index.php)
-   MoH General Discussion (alliedassault.us/forumdisplay.php?f=7)
-   -   how to make log file, to use for aesta!? (alliedassault.us/showthread.php?t=10829)

SonicSpinner 10-20-2002 11:27 AM

how to make log file, to use for aesta!?
 
how do i make LOG file?to use with aestate!

heey peeps!
I want to use aestate,. really nice state proggy for mohaa!
and it says that i have to take mohaalog file.
how do i generate log file?
and where are they??
I have to starter my ded server. and play some rounds b4 the log file is made, right?

peace!

Druid 10-20-2002 04:36 PM

You need to add this to your server.cfg in the mohaa/main directory
//Logging. This is needed for Stats - Do Not Remove
seta g_log "qconsole.log"
seta logfile 3
seta g_logsync 1

You also need to add:
+set developer 1
To your command line on the server.
This is the only way to to get log files for mohaa with obituaries.
You will have to get whoever host your server to change the command line.

Anytime you shut the server down, you must grab a copy of the log file.
The log file is rewritten each time the server restarts.
Does anyone know a way around the log file being copied over after the server restarts?

SonicSpinner 10-21-2002 09:51 AM

Maaan! Druid maan! you are the MAAN!
and you!? you are the maan!!! the man you are!!
thanx alot, thanx a bucnh! thanx a mill!

Peace!

DogMeat 10-21-2002 02:04 PM

The buffering options for the logfile don't seem to work. Drop this into your MOHAA directory as moh.bat and edit as needed.

@echo off
echo DogMeat's NeverEnding MoHAA
:TOP
echo Backing up Log
cd main
copy qconsole.lo1 *.lo2
copy qconsole.lo0 *.lo1
copy qconsole.log *.lo0
cd ..
echo Starting MoHAA
start /wait MOHAA_server.exe +set ui_console 1 +set dedicated 1 +set cheats 0 +set developer 1 +exec servertfo.cfg
echo Restarting
goto TOP

SonicSpinner 10-21-2002 03:14 PM

ok i did it! now waht?
i have 3 loo files, and a qconslole.log

SonicSpinner 10-21-2002 05:50 PM

Hi Dgmeat again!!

I managed to merge the log files!
but i still get nothing out in MLG when i convert with paraese.exe.

only a 60byte mlg file! with nthign in it!

what should i do?

Druid 10-21-2002 10:29 PM

Are you using the -moh switch when you run preAEs.exe on the log file.
Example... if your log file is called whatever.log
You would use
prease.exe -moh *.log


Hope this helps

[NBK] G.I. Jerk 10-21-2002 11:48 PM

Quote:

Originally Posted by DogMeat
The buffering options for the logfile don't seem to work. Drop this into your MOHAA directory as moh.bat and edit as needed.

@echo off
echo DogMeat's NeverEnding MoHAA
:TOP
echo Backing up Log
cd main
copy qconsole.lo1 *.lo2
copy qconsole.lo0 *.lo1
copy qconsole.log *.lo0
cd ..
echo Starting MoHAA

start /wait MOHAA_server.exe +set ui_console 1 +set dedicated 1 +set cheats 0 +set developer 1 +exec servertfo.cfg
echo Restarting
goto TOP

Or he could even make a continuous log, time and date stamped per session....
(date/time method for 9x based DOS.... NT based DOS prolly ez'r to steal time via PROMPT)

@echo off


:TOP
ver|time|find "Current">$temp$.bat
echo set ctime=%%3>current.bat
call $temp$.bat

ver|date|find "Current">$temp$.bat
echo set cdate=%%4>current.bat
call $temp$.bat
del current.bat>nul
del $temp$.bat>nul

echo. >>master.log
echo. >>master.log
echo Logfile appended at %ctime% on %cdate% >>master.log
echo. >>master.log
type qconsole.log >>master.log

start /wait MOHAA_server.exe +set ui_console 1 +set dedicated 1 +set cheats 0 +set developer 1 +exec servertfo.cfg

goto top

Captain_McCusker 10-21-2002 11:56 PM

Damn! Y'know, this really pisses me off. I don't have access to set batch files to run on my server and nothing I do seems to create a log file with kill lines in it. And I have this guy promising me a copy of a mod/app that will work no matter what server you're using, but he's yet to mail it to me. I've been waiting for some time now to get this working, but so far NOTHING. mad:

[NBK] G.I. Jerk 10-21-2002 11:59 PM

[quote="Captain_McCusker":21721]Damn! Y'know, this really pisses me off. I don't have access to set batch files to run on my server and nothing I do seems to create a log file with kill lines in it. And I have this guy promising me a copy of a mod/app that will work no matter what server you're using, but he's yet to mail it to me. I've been waiting for some time now to get this working, but so far NOTHING. mad:[/quote:21721]

If you have FTP access to the server I could write you a lil file that goes off across the net, gets the log, disconnects and appends it to a master log on YOUR computer. (if need be)

Druid 10-22-2002 12:27 AM

[quote="Captain_McCusker":06d27]Damn! Y'know, this really pisses me off. I don't have access to set batch files to run on my server and nothing I do seems to create a log file with kill lines in it. And I have this guy promising me a copy of a mod/app that will work no matter what server you're using, but he's yet to mail it to me. I've been waiting for some time now to get this working, but so far NOTHING. mad:[/quote:06d27]


I would bet just about anything you dont have developer +1 on the command line. This is the only reason I know of that would give you a log without the kills.

r3mix 10-22-2002 12:47 AM

Quote:

Originally Posted by Druid
I would bet just about anything you dont have developer +1 on the command line. This is the only reason I know of that would give you a log without the kills.

good info man. ta

SonicSpinner 10-22-2002 05:14 AM

HI Druid!!

I use preaese.exe -moh /logs mohaa.log

it creates a 60 byte .mlg file!.
when i use aestst.exe on the mlg file, it says that the file ie empty!

ok! I'll test with the other dude's bat file method!

let's what happend!

Peace

SonicSpinner 10-22-2002 05:15 AM

hmmmm
 
hey dudes!

I just noticed the i didn't write
set developer 1 on the mohaa-server.exe!!!
maybe that is! ok i will try with the old bat file method again !

later

SonicSpinner 10-22-2002 05:28 AM

nope!! even i have typed +set developer 1 in the command line!
it made a log fiel without kills!
what i did was, start my ded serve. jion it. and do some suicides!!
but still
when I preaes the log file, it says FRag lines: (nothing )

ok I wil try with the new bat file method!
where it creates master.log

good luck to my self!


All times are GMT -6. The time now is 04:42 AM.

Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.