Special Aircraft Service

Individual Mod Downloads for IL-2 1946 => Other Mods => ModWorx => Topic started by: SAS~Storebror on October 25, 2011, 08:28:52 AM

Title: Instant Log File Output [4.10]
Post by: SAS~Storebror on October 25, 2011, 08:28:52 AM
Hi friendly fellows,

this is a spinoff from a DBW bug report.

NOTE: Don't install this mod if you're running SAS Modact 5 or later. A later version of this mod is implemented in there already.

As you know, you can enable two log files in your conf.ini, one being the "event log", which basically holds all mission related messages, the other being the "console log", which holds all other information such as IL-2 game engine messages, errors and so on.
To enable the logfiles, open your conf.ini file (can be found in your IL-2 game folder) and adjust the following lines/parameters:


Now the one thing about those log files is that by default they are buffered, which means that you'll see partial contents of the logfiles only unless you quit the game, i.e. exit from IL-2, and when your game crashes, the file contents are usually truncated.
This can be annoying when you try to tackle down a specific issue which occurs only under very special circumstances, so I eventually decided to write this mod which allows you to see the logfile's contents "in realtime", meaning that the log will be written completely while the game is running.
For advanced usage I recommend to use this in combination with some "tail" like utility, I for myself use "Tail for Win32" which can be found here for free: http://tailforwin32.sourceforge.net/

That much for the description, this is the mod. Just extract to your "#UP#", "#DBW" or "MODS" folder or whatever name your modded files folder may carry. This is tested with Stock IL-2 4.10.1m, UP3 RC4 and DBW 1.6, other game versions are untested and hence unsupported.

Go get the mod here if you like:
InstantLog v1.00 (http://storebror.it.cx/sas/archive/sas2/Storebror/InstantLog_1.00.zip)

Best regards - Mike


Edit Gerax:
please read here how to post a log correctly so that no data is lost
("code" option)!
http://www.sas1946.com/main/index.php?topic=39780.0 (http://www.sas1946.com/main/index.php?topic=39780.0)
Title: Re: Instant Log File Output
Post by: SAS~Malone on October 25, 2011, 08:48:49 AM
thanks Mike!
here you go, mate :D
(http://i196.photobucket.com/albums/aa226/bigbossmalone/coffee-cup.jpg)
Title: Re: Instant Log File Output
Post by: SAS~Storebror on October 25, 2011, 08:55:52 AM
Oooooh yes, that's what I need, just in time! :D

Best regards - Mike
Title: Re: Instant Log File Output
Post by: cgagan on October 25, 2011, 10:05:56 AM
From what I managed to figure out, this is truly an ingenious idea! Many thanks,  8)
Title: Re: Instant Log File Output
Post by: sputnikshock on July 04, 2012, 09:20:56 PM
This mod is getting too little praise.
An extremely useful must have indeed!
Thanks.
Title: Re: Instant Log File Output
Post by: RedSpade on July 06, 2012, 05:43:19 PM
I'm with you Sputnikshock!  This truly is a must have!  Malone only offered up a cup of java and a cookie.  ;)  I see your bet, and i raise you a Guinness!   8)
Thanks Storebror.  If you are ever in the Seattle area, I'm good for one of these!
(http://i1166.photobucket.com/albums/q616/redspade259/GuinnessBeer.jpg)
Title: Re: Instant Log File Output
Post by: Crash_MX06 on October 06, 2012, 04:19:16 AM
I always crash at 70%
Title: Re: Instant Log File Output
Post by: BravoFxTrt on October 27, 2012, 12:22:43 AM
That Guinness looks as good as this awesome Mod.
Title: Re: Instant Log File Output
Post by: Germy66 on October 29, 2012, 10:13:14 AM
I always crash at 70%

it also crashes at 70% when i only(without InstandLog classfiles) get :(

Console Log:
LOG=1

on.
any ideas?? :-[

Console Log:
LOG=0
game starts normal
Title: Re: Instant Log File Output
Post by: BravoFxTrt on October 29, 2012, 11:15:45 AM
What game version Germy?
Title: Re: Instant Log File Output
Post by: SAS~Epervier on October 29, 2012, 11:34:06 AM
@Germy66
InstantLog work fine in my UP2.01 !  ;)
Title: Re: Instant Log File Output
Post by: Germy66 on October 30, 2012, 10:20:39 AM
i have 4.09 vesion modded
must i use the orginal 4.09 chief.ini ?
maybe someone can upload his exe and wrapper
Title: Re: Instant Log File Output
Post by: SAS~Epervier on October 30, 2012, 10:28:01 AM
I do not understand why you say chief.ini, exe and wrapper...  :-X
Just put the folder Instantlog in your folder MODS. There is nothing else to do ...
Title: Re: Instant Log File Output
Post by: Germy66 on October 30, 2012, 10:32:34 AM
when i put the InstandLog in my Mods folder i have 70% crash
Title: Re: Instant Log File Output
Post by: SAS~Epervier on October 30, 2012, 11:11:15 AM
ModAct_409 you use?
It may cause... Mike says since its original Mod for 410...
Each alarm in the "normal" log?
Title: Re: Instant Log File Output
Post by: Germy66 on October 30, 2012, 12:53:30 PM
sorry dont understand what you mean with Each alarm in the "normal" log
i dont have SAS modact installed
i have modded my 4.09 (exe and wrapper)before SAS and modact
but it is a idea, thanks  ;)
i will try with modact for 4.09
Title: Re: Instant Log File Output
Post by: SAS~Epervier on October 30, 2012, 01:48:34 PM
sorry dont understand what you mean with Each alarm in the "normal" log
:-X
Without installing Instantlog you have access to log ... normal ...  :-\
Title: Re: Instant Log File Output
Post by: Germy66 on November 01, 2012, 01:18:55 PM
have managed to get a logfile with modact4.09 exe and wrapper
here i have 2 logfiles from quickmissions with spitfire(so far i tested all spitfires from me are affected)
sometimes but not allways, when i shoot at the spitfire i have a freezeing game
as I read the logfiles, there is the AircraftLH.class missing
am I right??
please help!

Code: [Select]
Loading mission Quick/KurskBlueNone00.mis...
Loading map.ini defined airfields:
Total number of airports for loaded mission: 0
WARNING: ObjectVACache_Clear()
WARNING: * Buf0 : Obj: 10,  Vert 69,  Ind 255
WARNING: * Buf1 : Obj: 449,  Vert 31711,  Ind 69393
WARNING: * Buf2 : Obj: 39,  Vert 13944,  Ind 22962
Load bridges
Load static objects
Mission: Quick/KurskBlueNone00.mis is Playing
INTERNAL ERROR: Str2FloatClamp() - Clamped 4096 -> 512 (delta = -3584) to Range 1..512
java.lang.NoClassDefFoundError: com/maddox/il2/objects/air/AircraftLH
at com.maddox.il2.objects.air.SPITFIRE.hitBone(SPITFIRE.java:390)
at com.maddox.il2.objects.air.Aircraft.msgShot(Aircraft.java:1364)
at com.maddox.il2.ai.MsgShot.invokeListener(MsgShot.java:57)
at com.maddox.rts.Message._send(Message.java:1217)
at com.maddox.rts.Message.sendToObject(Message.java:1158)
at com.maddox.rts.Message.sendTo(Message.java:1134)
at com.maddox.rts.Message.trySend(Message.java:1115)
at com.maddox.rts.Message.send(Message.java:1079)
at com.maddox.il2.ai.MsgShot.send(MsgShot.java:46)
at com.maddox.il2.objects.weapons.Bullet.collided(Bullet.java:93)
at com.maddox.il2.engine.MsgBulletCollision.invokeListener(MsgBulletCollision.java:39)
at com.maddox.rts.Message._send(Message.java:1217)
at com.maddox.rts.Message.sendToObject(Message.java:1191)
at com.maddox.rts.Message.sendTo(Message.java:1134)
at com.maddox.rts.Message.trySend(Message.java:1115)
at com.maddox.rts.Time.loopMessages(Time.java:252)
at com.maddox.rts.RTSConf.loopMsgs(RTSConf.java:100)
at com.maddox.il2.game.MainWin3D.loopApp(MainWin3D.java:131)
at com.maddox.il2.game.Main.exec(Main.java:436)
at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)



Code: [Select]
Loading mission Quick/KurskBlueNone00.mis...
Loading map.ini defined airfields:
Total number of airports for loaded mission: 0
WARNING: ObjectVACache_Clear()
WARNING: * Buf0 : Obj: 14,  Vert 146,  Ind 537
WARNING: * Buf1 : Obj: 449,  Vert 31241,  Ind 69021
WARNING: * Buf2 : Obj: 40,  Vert 14424,  Ind 23544
Load bridges
Load static objects
Mission: Quick/KurskBlueNone00.mis is Playing
INTERNAL ERROR: Str2FloatClamp() - Clamped 4096 -> 512 (delta = -3584) to Range 1..512
INTERNAL ERROR: Str2FloatClamp() - Clamped 80 -> 32 (delta = -48) to Range 0..32
-------------------------------- MISSION FAILED ---------------------
warning: no files : music/crash
Time overflow (10602): speed 0.28957528
Loading mission Quick/KurskBlueNone00.mis...
Loading map.ini defined airfields:
Total number of airports for loaded mission: 0
WARNING: ObjectVACache_Clear()
WARNING: * Buf0 : Obj: 62,  Vert 738,  Ind 2613
WARNING: * Buf1 : Obj: 529,  Vert 34794,  Ind 77898
WARNING: * Buf2 : Obj: 10,  Vert 2704,  Ind 4128
Load bridges
Load static objects
Mission: Quick/KurskBlueNone00.mis is Playing
INTERNAL ERROR: Str2FloatClamp() - Clamped 4096 -> 512 (delta = -3584) to Range 1..512
INTERNAL ERROR: Str2FloatClamp() - Clamped 4096 -> 512 (delta = -3584) to Range 1..512
Loading mission Quick/KurskBlueNone00.mis...
Loading map.ini defined airfields:
Total number of airports for loaded mission: 0
WARNING: ObjectVACache_Clear()
WARNING: * Buf0 : Obj: 24,  Vert 215,  Ind 810
WARNING: * Buf1 : Obj: 446,  Vert 31372,  Ind 69861
WARNING: * Buf2 : Obj: 25,  Vert 9864,  Ind 15162
Load bridges
Load static objects
Mission: Quick/KurskBlueNone00.mis is Playing
INTERNAL ERROR: Str2FloatClamp() - Clamped 4096 -> 512 (delta = -3584) to Range 1..512
java.lang.NoClassDefFoundError: com/maddox/il2/objects/air/AircraftLH
at com.maddox.il2.objects.air.SPITFIRE.hitBone(SPITFIRE.java:390)
at com.maddox.il2.objects.air.Aircraft.msgShot(Aircraft.java:1364)
at com.maddox.il2.objects.air.Aircraft.splintersHit(Aircraft.java:1004)
at com.maddox.il2.objects.air.Aircraft.msgExplosion(Aircraft.java:1029)
at com.maddox.il2.ai.MsgExplosion.invokeListener(MsgExplosion.java:81)
at com.maddox.rts.Message._send(Message.java:1217)
at com.maddox.rts.Message.sendToObject(Message.java:1158)
at com.maddox.rts.Message.sendTo(Message.java:1134)
at com.maddox.rts.Message.trySend(Message.java:1115)
at com.maddox.rts.Message.send(Message.java:1091)
at com.maddox.il2.ai.MsgExplosion.send(MsgExplosion.java:54)
at com.maddox.il2.ai.MsgExplosion.send(MsgExplosion.java:23)
at com.maddox.il2.objects.air.Aircraft$1.doAction(Aircraft.java:1181)
at com.maddox.rts.MsgAction.invokeListener(MsgAction.java:152)
at com.maddox.rts.Message._send(Message.java:1217)
at com.maddox.rts.Message.sendToObject(Message.java:1191)
at com.maddox.rts.Message.sendTo(Message.java:1134)
at com.maddox.rts.Message.trySend(Message.java:1115)
at com.maddox.rts.Time.loopMessages(Time.java:252)
at com.maddox.rts.RTSConf.loopMsgs(RTSConf.java:100)
at com.maddox.il2.game.MainWin3D.loopApp(MainWin3D.java:131)
at com.maddox.il2.game.Main.exec(Main.java:436)
at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)


Thanks for help :-\
Title: Re: Instant Log File Output
Post by: SAS~Epervier on November 01, 2012, 01:44:47 PM
java.lang.NoClassDefFoundError: com/maddox/il2/objects/air/AircraftLH
You are 409 version ?
So it's normal !
This function should not be in the code 409 !
Title: Re: Instant Log File Output
Post by: Germy66 on November 01, 2012, 01:47:49 PM
Yes I have 409 version
but i have look in my class and AircraftLH
is really missing
Title: Re: Instant Log File Output
Post by: Germy66 on November 01, 2012, 01:54:45 PM
the AircraftLH.class is in UP3
how can i look if the AircraftLH.class are connected with other class?
Title: Re: Instant Log File Output
Post by: SAS~Epervier on November 01, 2012, 01:56:16 PM
She can be placed several times in the Class-mother and/or Class-cockpit.
Title: Re: Instant Log File Output
Post by: Germy66 on November 01, 2012, 01:59:39 PM
thanks for help Epervier ;)
Title: Re: Instant Log File Output
Post by: BravoFxTrt on November 02, 2012, 04:45:48 AM
It says "Tail" its for windows 32bit can it work well in 64bit architecture?
Title: Re: Instant Log File Output
Post by: SAS~Epervier on November 02, 2012, 05:01:25 AM
It says "Tail" its for windows 32bit can it work well in 64bit architecture?
Notepad Windows, Notepad2 (http://www.flos-freeware.ch/), ... they work very well for viewing log files and are compatible 64bits. ;)

Title: Re: Instant Log File Output
Post by: Germy66 on November 02, 2012, 05:03:38 AM
Quote
It says "Tail" its for windows 32bit can it work well in 64bit architecture?
please what do you mean??
can you please explain me or mark it in my Logfile?

and i want to know what error this is:  INTERNAL ERROR: Str2FloatClamp() - Clamped 4096 -> 512 (delta = -3584) to Range 1..512

I have Win7 64bit
Title: Re: Instant Log File Output
Post by: snd-73 on November 07, 2012, 10:59:38 AM
need pomosch.moya version 4.09m. From this site I found his game Ju -188 airplanes and Ju-88S6 from version 4.10. both aircraft work fine. but stopped working planes Ju-88A-4 & A-4Torp, more precisely, their landing gear are not working due to the replacement prailno class file-F5F37ACE5B99838E installing aircraft Ju -188. I decided to put planes Ju-88A-4 & A-4Torp http://www.mediafire.com/?0m22brzoccn0094 from here but again ran into a problem with the class files in the archive of these aircraft il2fb.exe my game does not start at all . I understand three classes of files in the archive are not compatible with my version, can anyone help?
Title: Re: Instant Log File Output
Post by: Blindowl on April 29, 2013, 01:59:54 PM
Works for DBW1916 also 8)
Title: Re: Instant Log File Output
Post by: BravoFxTrt on April 29, 2013, 04:21:32 PM
Roger that, I dont Launch my Game with out it.
Title: Re: Instant Log File Output
Post by: Benno on September 25, 2013, 03:29:06 AM
Thank you Epervier  :D
Benno
Title: Re: Instant Log File Output
Post by: dsawan on September 29, 2013, 02:25:01 AM
i can confirm no cockpit or flyable here. just exterior seen but shows up in lane select. i am running DBW 1.71 with jetwar 1.3 and latest update to 1.32. The other jets in game like a-4 and meteor and others work for sure. just the sabre. followed readme to the letter.
Title: Re: Instant Log File Output
Post by: proweather on August 08, 2015, 12:22:52 PM
Help! I don't know where to find the log file in Il-2 4.12.2 with ModAct 5.3! I am having a serious malfunction and cannot enter combat. Please tell me where the log file is and how to open it! Thanks!
Title: Re: Instant Log File Output [4.10]
Post by: SAS~Storebror on August 09, 2015, 01:25:52 AM
http://www.sas1946.com/main/index.php/topic,13457.0.html