Alliedassault           
FAQ Calendar
Go Back   Alliedassault > FPS Gaming General Discussion > MoH General Discussion
Reload this Page how to make log file, to use for aesta!?
MoH General Discussion General Discussion about Medal of Honor: Allied Assault, expansions and Pacific Assault

Reply
 
Thread Tools Display Modes
Old
  (#1)
[NBK] G.I. Jerk is Offline
Senior Member
 
Posts: 292
Join Date: Apr 2002
Location: Calgary, Ab. CanaDUH
 Send a message via ICQ to [NBK] G.I. Jerk Send a message via MSN to [NBK] G.I. Jerk  
Default 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
  
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



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