PDA

View Full Version : Saving log file



XyZspineZyX
06-21-2003, 03:55 PM
As the host, how can I save the log of a multiplayer session to a file to read later?

kajr



http://63.76.89.105/IL2/images/IL2AirRacing.gif (http://63.76.89.105/IL2)

XyZspineZyX
06-21-2003, 03:55 PM
As the host, how can I save the log of a multiplayer session to a file to read later?

kajr



http://63.76.89.105/IL2/images/IL2AirRacing.gif (http://63.76.89.105/IL2)

XyZspineZyX
06-21-2003, 10:07 PM
In the "conf.ini" file under this heading, if I remember right:

[game]
Arcade=0
HighGore=1
mapPadX=0.66875
mapPadY=-0.046666667
viewSet=36
Intro=0
NoSubTitles=1
NoChatter=0
NoHudLog=0
NoLensFlare=1
iconTypes=3
eventlog=eventlog.lst
eventlogkeep=0 <------------ change this to a one "1"

XyZspineZyX
06-22-2003, 04:10 AM
billy885 wrote:
- In the "conf.ini" file under this heading, if I
- remember right:
-
- [game]
- eventlog=eventlog.lst
- eventlogkeep=0 <------------ change this to a one "1"

Hmmmmm, yeah, I did that, but the file 'eventlog.lst' is nowhere to be found. I tried both '1' and '0', but nothing happens.

The console log creates, and that is set to:

[Console]
HISTORY=1024
HISTORYCMD=1024
LOAD=console.cmd
SAVE=console.cmd
LOG=0
LOGTIME=0
LOGFILE=log.lst
LOGKEEP=0


I wonder if I need more lines under the [game] section like the [Console] section has...

Anyone know?

kajr



http://63.76.89.105/IL2/images/IL2AirRacing.gif (http://63.76.89.105/IL2)

XyZspineZyX
06-22-2003, 05:12 AM
Found this in the Basic Manuel on the second CD, looks like you might be out of luck with a dogfight server, Kajr.

Notes on Event-Logging

Any user participating in an online Cooperative game or playing in Single-Player mode may now have events logged into a text file. To enable this option, add an eventlog key under the [game] section in the conf.ini file. E.g.:

[game]
eventlog=coop.lst

Looks like it only works in "Single" and "Coop"

I tried logging in "Coop" mode and it did work, just like it says in the manuel. I guess for "Dogfight" we are out of luck.

Message Edited on 06/22/0312:48AM by billy885

XyZspineZyX
06-22-2003, 06:05 AM
Kajr

I've just experimented with consol, as you sugget.


[Console]
IP=2000
HISTORY=1024
HISTORYCMD=1024
LOAD=console.cmd
SAVE=console.cmd
LOG=1 <-------------
LOGTIME=0
LOGFILE=log.lst
LOGKEEP=1 <-------------

I don't 'know' that both changes are required.
<span style="{background: 660000}">‚ Always keep a copy of configuration files if you are messing about with them.
Especially if you don't know what you are doing‚ </span>

The following has been cut/pasted from wordpad (the display with notepad is horrible).
The ERRORs are trivial, I just don't have music to play.


[Jun 22, 2003 5:36:33 AM] ------------ BEGIN log session -------------
OpenGL provider: Opengl32.dll
[snipped - lots of load/confiugration stuff]

Loading mission net/dogfight/Racing/Pillars of Hercules.mis...
Load bridges
Load static objects
Mission: net/dogfight/Racing/Pillars of Hercules.mis is Playing
ERROR: no files : music/takeoff
Time overflow (182): tickLen 113
18>tod 19.30
Time overflow (625): tickLen 91
ERROR: no files : music/crash
ERROR: no files : music/takeoff
ERROR: no files : music/inflight
Chat: --- Painter was killed.
Chat: --- Painter has crashed.
ERROR: no files : music/crash
Capture stopped
DSound capture finished.

[Jun 22, 2003 5:40:20 AM] -------------- END log session -------------

Kajr, given your immediate concern, the configuration and event stuff I snipped is likly to yield the kind of data you want.
<div align="center">

http://www.robert-stuart.me.uk/il2/signature/paint_sig_003.jpg

I've given up correcting my own spelling
Unless I've corrected it here <MAP NAME="paint_sig_003"><AREA SHAPE="rect" COORDS="0,159,199,199" HREF="http://www.il2airracing.com" TARGET="_blank" alt="Air Racing" title="Air Racing"><AREA SHAPE="rect" COORDS="0,0,199,159" HREF="http://www.robert-stuart.me.uk/" title="Painter's home page" alt="Painter's home page"><AREA SHAPE="rect" COORDS="199,0,399,199" HREF="http://www.robert-stuart.me.uk/il2/index.html" TARGET="_blank" alt="Painter's IL2 Pages" title="Painter's IL2 Pages">
</MAP></div>

Message Edited on 06/22/0306:15AM by IAFS_Painter

XyZspineZyX
06-22-2003, 01:33 PM
Very nice Painter, works perfectly. With this in place, I can record comers and goers, and determine if a lag problem may be caused by a new player coming into the session. The log records their IP address with their name. Also, I am going to more closely track the keyboard bug I have been seeing to see if it matches up with any event in the log.

kajr



http://63.76.89.105/IL2/images/IL2AirRacing.gif (http://63.76.89.105/IL2)