Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3   Go Down

Author Topic: Log File Errors  (Read 7541 times)

0 Members and 1 Guest are viewing this topic.

Hubberranz

  • Modder
  • member
  • Offline Offline
  • Posts: 1599
Log File Errors
« on: April 22, 2017, 04:22:29 PM »

Some errors do not prevent a mod from working, but countless errors in log do accumulate... makes debugging an inferno in complex missions.

I dedicate this post to some solutions ( I ) found to remove these error messages that are caused by some otherwise fully working mods.

Perhaps these solutions are not perfect ... and don't know if I can retrace my steps to all of them since the errors
do not exist anymore in my log...   But i'll try if I can...  :P

Feel free to participate. Add your own finds.

Warning: not meant to be a BAT issue tread. None of the input applied here may be relevant to BAT: strictly I use 412,2, SAS modact 5.3.
              At times I refer to BAT for potential undesired consequences it would have, as a reminder of this fact. But I do not test in BAT.
Logged

Hubberranz

  • Modder
  • member
  • Offline Offline
  • Posts: 1599
Re: Lancaster MkIII log errors.
« Reply #1 on: April 22, 2017, 04:23:58 PM »

Lancaster MkIII generated errors. https://www.sas1946.com/main/index.php/topic,4359.msg43274.html#msg43274

A- my log:
Code: [Select]
[10:09:03 PM] INTERNAL ERROR: Str2FloatClamp() - Clamped 5 -> 2 (delta = -3) to Range 0..2
[10:09:03 PM] INTERNAL ERROR: Str2FloatClamp() - Clamped 2e+006 -> 1e+006 (delta = -1e+006) to Range 0..1e+006
[10:09:04 PM] Motor resolveFromFile starter = 0
[10:09:04 PM] Motor resolveFromFile starter = 0
[10:09:04 PM] Motor resolveFromFile starter = 0
[10:09:04 PM] Motor resolveFromFile starter = 0
[10:09:04 PM] Motor resolveFromFile starter = 0
[10:09:04 PM] Motor resolveFromFile starter = 0
[10:09:04 PM] Motor resolveFromFile starter = 0
[10:09:04 PM] Motor resolveFromFile starter = 0
[10:09:07 PM] cannot open file for reading
[10:09:07 PM] Cannot open audio file samples/1.wav
[10:09:07 PM] cannot open file for reading
[10:09:07 PM] Cannot open audio file samples/x2.wav
[10:09:07 PM]
[10:09:15 PM] ERROR file: File users/mitsuko/Icons not found
[10:09:15 PM] Mission: Quick/BattleRoyaleBoB/BattleRoyaleBoBRedArmor00.mis is Playing
[Apr 22, 2017 10:09:25 PM] -------------- END log session -------------
[10:09:07 PM]   cannot open file for reading
[10:09:07 PM]   Cannot open audio file samples/1.wav
[10:09:07 PM]   cannot open file for reading
[10:09:07 PM]   Cannot open audio file samples/x2.wav
Not everyone will have this error. If you have the correct sound pack. Missing wavs: https://www.mediafire.com/file/dihi3jbiwo9fdmb/My_samples1.zip
Hum... seen this error before by some other plane(s) then the lanc...

B- my log:
Code: [Select]
[10:55:04 PM] INTERNAL ERROR: Str2FloatClamp() - Clamped 5 -> 2 (delta = -3) to Range 0..2
[10:55:04 PM] INTERNAL ERROR: Str2FloatClamp() - Clamped 2e+006 -> 1e+006 (delta = -1e+006) to Range 0..1e+006
[10:55:04 PM] Motor resolveFromFile starter = 0
[10:55:04 PM] Motor resolveFromFile starter = 0
[10:55:04 PM] Motor resolveFromFile starter = 0
[10:55:04 PM] Motor resolveFromFile starter = 0
[10:55:04 PM] Motor resolveFromFile starter = 0
[10:55:04 PM] Motor resolveFromFile starter = 0
[10:55:04 PM] Motor resolveFromFile starter = 0
[10:55:04 PM] Motor resolveFromFile starter = 0
[10:55:14 PM] ERROR file: File users/mitsuko/Icons not found
[10:55:14 PM] Mission: Quick/BattleRoyaleBoB/BattleRoyaleBoBRedArmor00.mis is Playing
[10:55:14 PM] INTERNAL ERROR: HierMesh: Can't find chunk 'TurretA'
[10:55:14 PM] INTERNAL ERROR: HierMesh: Can't find chunk 'TurretB'
[10:55:46 PM] INTERNAL ERROR: HierMesh: Can't find chunk 'TurretC'
[Apr 22, 2017 10:55:58 PM] -------------- END log session -------------
10:55:14 PM]   INTERNAL ERROR: HierMesh: Can't find chunk 'TurretA'
[10:55:14 PM]   INTERNAL ERROR: HierMesh: Can't find chunk 'TurretB'
[10:55:46 PM]   INTERNAL ERROR: HierMesh: Can't find chunk 'TurretC'  <---- this error will only appear if U switch places = use turrets, use Bombsight.
OK. If you use only AI, you wont have these. They are related to 412 bombsight class demands;
so I gave it what it wants i.e. fakes:  find 3do\Cockpit\b-25j-bombardier\bombardierLANC.him
At end of .HIM I added these lines, tailored for Lanc; mesh used must exist; seems generic enough:
Code: [Select]
[TurretA]
Mesh TheDarkerSide
Parent Body
hidden
Attaching 1 0 0 0 1 0 0 0 1 0 0 0
[TurretB]
Mesh TheDarkerSide
Parent Body
hidden
Attaching 1 0 0 0 1 0 0 0 1 0 0 0
[TurretC]
Mesh TheDarkerSide
Parent Body
hidden
Attaching 1 0 0 0 1 0 0 0 1 0 0 0

C- my log:
Code: [Select]
[11:29:02 PM] INTERNAL ERROR: Str2FloatClamp() - Clamped 5 -> 2 (delta = -3) to Range 0..2
[11:29:02 PM] INTERNAL ERROR: Str2FloatClamp() - Clamped 2e+006 -> 1e+006 (delta = -1e+006) to Range 0..1e+006
[11:29:02 PM] Motor resolveFromFile starter = 0
[11:29:02 PM] Motor resolveFromFile starter = 0
[11:29:02 PM] Motor resolveFromFile starter = 0
[11:29:02 PM] Motor resolveFromFile starter = 0
[11:29:02 PM] Motor resolveFromFile starter = 0
[11:29:02 PM] Motor resolveFromFile starter = 0
[11:29:02 PM] Motor resolveFromFile starter = 0
[11:29:02 PM] Motor resolveFromFile starter = 0
[11:29:12 PM] ERROR file: File users/mitsuko/Icons not found
[11:29:12 PM] Mission: Quick/BattleRoyaleBoB/BattleRoyaleBoBRedArmor00.mis is Playing
[11:29:12 PM] INTERNAL ERROR: HierMesh: Can't find chunk 'Z_Wiper1'
[11:29:12 PM] INTERNAL ERROR: HierMesh: Can't find chunk 'XLampFuel1'
[11:29:12 PM] INTERNAL ERROR: HierMesh: Can't find chunk 'XLampFuel2'
[11:29:12 PM] INTERNAL ERROR: HierMesh: Can't find chunk 'STRELKA_FUEL5'
[11:29:12 PM] INTERNAL ERROR: HierMesh: Can't find chunk 'STRELKA_FUEL6'
[11:29:12 PM] INTERNAL ERROR: HierMesh: Can't find chunk 'STRELKA_FUEL7'
[11:29:12 PM] INTERNAL ERROR: HierMesh: Can't find chunk 'STRELKA_FUEL8'
[Apr 22, 2017 11:29:22 PM] -------------- END log session -------------
[11:29:12 PM]   INTERNAL ERROR: HierMesh: Can't find chunk 'Z_Wiper1'
[11:29:12 PM]   INTERNAL ERROR: HierMesh: Can't find chunk 'XLampFuel1'
[11:29:12 PM]   INTERNAL ERROR: HierMesh: Can't find chunk 'XLampFuel2'
[11:29:12 PM]   INTERNAL ERROR: HierMesh: Can't find chunk 'STRELKA_FUEL5'
[11:29:12 PM]   INTERNAL ERROR: HierMesh: Can't find chunk 'STRELKA_FUEL6'
[11:29:12 PM]   INTERNAL ERROR: HierMesh: Can't find chunk 'STRELKA_FUEL7'
[11:29:12 PM]   INTERNAL ERROR: HierMesh: Can't find chunk 'STRELKA_FUEL8'
Cockpit classfiles demand entries in HIM for these non existing objects, so I provide them borrowed from other planes and hidden:
in 3do\Cockpit\Lancpit\hier.him add these lines:
Code: [Select]
[Z_Wiper1]
Mesh Z_Wiper1  // borrowed from Hallifax to resolve error message chunk.
Parent _ROOT_
hidden
//Attaching 0 1 0 -0.565518 0 0.824736 0.824736 0 0.565518 4.57 0.45 1.6
Attaching -0.34202 0.939693 0   -0.531436 -0.193427 0.824719   0.774982 0.28207 0.565543    4.52 0.45 1.62

[XLampFuel1]
Mesh XLampFuel1 // borrowed from Whitley to resolve error message chunk.
Parent Walloil
hidden
Attaching 1 0 0 0 1 0 0 0 1 4.0009 0.174571 1.38637

[XLampFuel2]
Mesh XLampFuel1 // borrowed from Do-24 to resolve error message chunk.; oh well, that one works too.
Parent Walloil
hidden
Attaching 1 0 0 0 1 0 0 0 1 4.0009 0.174571 1.38637


[STRELKA_FUEL5]
Mesh STRELKA_FUEL5  // borrowed from Hallifax to resolve error message chunk.
Parent DOSKA
hidden
Attaching 0.0842501 -0.481274 0.872512 -0.0432987 -0.876571 -0.479322 0.995505 0.00263467 -0.0946763 0.68392 0.17346 0.6941
[STRELKA_FUEL6]
Mesh STRELKA_FUEL6  // borrowed from Hallifax to resolve error message chunk.
Parent DOSKA
hidden
Attaching 0.0854521 -0.458475 0.88459 -0.0410668 -0.888693 -0.456661 0.995494 0.00269192 -0.0947898 0.68653 0.17343 0.72194
[STRELKA_FUEL7]
Mesh STRELKA_FUEL7  // borrowed from Hallifax to resolve error message chunk.
Parent DOSKA
hidden
Attaching 0.0868253 -0.429717 0.89878 -0.0383156 -0.902966 -0.428001 0.995488 0.0026919 -0.0948466 0.68387 0.08706 0.69565
[STRELKA_FUEL8]
Mesh STRELKA_FUEL8  // borrowed from Hallifax to resolve error message chunk.
Parent DOSKA
hidden
Attaching 0.0861388 -0.443924 0.891914 -0.0396912 -0.896058 -0.442159 0.995494 0.00269192 -0.0947898 0.68657 0.0864 0.72401
Only do this if you experience such errors and want to get rid of them... 412SAS5.3 Lancaster v3.2 (PS: correcting classfiles might be another way to do it... )
Yikes ! You need the mesches;   forgot that; pending...WIP  > https://www.mediafire.com/file/mpqe2adstavprtw/MeshesForLancFix.7z
... add in 3do\Cockpit\Lancpit\ .... <--put those msh here.            Oh well = XLampFuel2 msh from do-24 not required after all.
Logged

Hubberranz

  • Modder
  • member
  • Offline Offline
  • Posts: 1599
339_fuelsystem.wav
« Reply #2 on: April 22, 2017, 04:24:20 PM »

339_fuelsystem.wav
Note two: Cannot open audio file samples/339_fuelsystem.wav ; I found this error is all over the place in logs at SAS..( search for it !).

Have not found this wav file anywhere; made one: took F4_no_lock.wav ( no sound )copied,retitled into 339_fuelsystem.wav.
Can be place in My_Samples or L-39_pack_vega10092015\Samples or L-39_Sounds\Samples. https://www.mediafire.com/file/lpmrhpn9l3zh720/339_fuelsystem.zip


This is related to all L-39 based plane mods. Lot more errors with these, even loops of errors.
Logged

Hubberranz

  • Modder
  • member
  • Offline Offline
  • Posts: 1599
Re: ja Actor6 01.wav missing
« Reply #3 on: April 22, 2017, 04:24:42 PM »

ja Actor6 01.wav missing
[2:15:31 PM]   Cannot open audio file samples/Speech/ja/Actor6/01.wav        solved   //// does not exist; 0.wav and 01.wav from ja/Actor1 copied into Actor6/7/8/9.

Of course it depends which JA you use since there are many variants; I use an hybrid combination of all these, so think I have most existing speech lines and more.
Logged

Hubberranz

  • Modder
  • member
  • Offline Offline
  • Posts: 1599
Re: control sample.339_idle_x4.wav
« Reply #4 on: April 22, 2017, 07:19:02 PM »

control sample.339_idle_x4.wav
Code: [Select]
[code][1:18:22 AM] FM called 'FlightModels/L-39ZA.fmd:L39' is being loaded from File: 'l39'
[1:18:22 AM] FM called 'FlightModels/L-39ZA.fmd:L39' is being loaded from Alternative File: 'l39'
[1:18:22 AM] FM called 'FlightModels/IvchenkoA:L39.emd' is being loaded from File: 'l39'
[1:18:22 AM] FM called 'FlightModels/IvchenkoA:L39.emd' is being loaded from Alternative File: 'l39'
[1:18:22 AM] Flight Model File FlightModels/L-39ZA.fmd:L39 contains no Mach Drag Parameters.
[1:18:22 AM] FM called 'FlightModels/L-39ZA.fmd:L39' is being loaded from File: 'l39'
[1:18:22 AM] FM called 'FlightModels/L-39ZA.fmd:L39' is being loaded from Alternative File: 'l39'
[1:18:22 AM] ERROR loading sound control sample.339_idle_x4.wav.rpm
This error dates back in original L-39 sound file, and is still found in Vega big pack:
Note one:     ERROR loading sound control sample.339_idle_x4.wav.rpm
       
Edit: file motor.rrviper.prs which has an error:

Code: [Select]
[sample.339_idle_x4.rpm]
minlo 2000
minhi 3000
maxlo 6000
maxhi 6500
value 1.0
pmin  1.3
pmax  1.4

should read:

Code: [Select]
[sample.339_idle_x4.wav.rpm]
minlo 2000
minhi 3000
maxlo 6000
maxhi 6500
value 1.0
pmin  1.3
pmax  1.4
Logged

Hubberranz

  • Modder
  • member
  • Offline Offline
  • Posts: 1599
Re: Can't find chunk 'GearL4_D0' , MirageIIIC
« Reply #5 on: April 22, 2017, 07:19:30 PM »

Can't find chunk 'GearL4_D0'  ,  MirageIIIC
Code: [Select]
[1:52:51 AM] INTERNAL ERROR: Str2FloatClamp() - Clamped 5 -> 2 (delta = -3) to Range 0..2
[1:52:51 AM] INTERNAL ERROR: Str2FloatClamp() - Clamped 2e+006 -> 1e+006 (delta = -1e+006) to Range 0..1e+006
[1:52:51 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'GearL4_D0'
[1:53:04 AM] ERROR file: File users/mitsuko/Icons not found
[1:53:04 AM] Mission: Quick/BattleRoyaleBoB/BattleRoyaleBoBRedArmor00.mis is Playing
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap1'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap2'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap3'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap4'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap5'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap6'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap7'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap8'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap9'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap10'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap11'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap12'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap13'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap14'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap15'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap16'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap17'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EngineExhaustFlap18'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'EffectBox'
[1:53:04 AM] INTERNAL ERROR: HierMesh: Can't find chunk 'Cone'
[1:53:11 AM] INTERNAL ERROR: Str2FloatClamp() - Clamped 55 -> 32 (delta = -23) to Range 0..32
[1:53:11 AM] INTERNAL ERROR: Str2FloatClamp() - Clamped 0.15 -> 0.1 (delta = -0.05) to Range 0..0.1
[Apr 23, 2017 1:53:24 AM] -------------- END log session -------------
I've not work much on this bird for obvious reasons: it's a big  WIP.
It seems to suffer from same series of errors as L-39 related planes....

[1:52:51 AM]   INTERNAL ERROR: HierMesh: Can't find chunk 'GearL4_D0' is just a missing entry... strange since GearR4_D0 does exists...
Author must have removed it because of problems...
...absent wheels and gear covers.

So  I put fake "part" lines in my planes, hidden ( above left wing center rear: a small invisible misplaced gear-door panel; no arm done ):
Code: [Select]
[GearL4_D0]
Mesh GearL4_D0
Parent WingLIn_D0
Separable
Hidden
Attaching -1.000000 0 0 0 -1.000000 0 0 0 1 1.807404 2.003084 -0.483321
I guess the whole series of errors could be treated the same way, one by one, but new upgrade of this plane will probably come along.
Logged

Hubberranz

  • Modder
  • member
  • Offline Offline
  • Posts: 1599
Re: WARNING: Bad water if MapRID == 0
« Reply #6 on: April 22, 2017, 08:14:15 PM »

WARNING: Bad water if MapRID == 0
Code: [Select]
[3:05:37 AM] INTERNAL ERROR: Str2FloatClamp() - Clamped 5 -> 2 (delta = -3) to Range 0..2
[3:05:37 AM] INTERNAL ERROR: Str2FloatClamp() - Clamped 2e+006 -> 1e+006 (delta = -1e+006) to Range 0..1e+006
[3:05:38 AM] Motor resolveFromFile starter = 0
[3:05:38 AM] Motor resolveFromFile starter = 0
[3:05:39 AM] ERROR file: File users/mitsuko/Icons not found
[3:05:39 AM] Mission: Quick/CzechSR/CzechSRRedNoneN00.mis is Playing
[3:05:40 AM] WARNING: Bad water if MapRID == 0
[Apr 23, 2017 3:05:48 AM] -------------- END log session -------------
[3:05:40 AM]   WARNING: Bad water if MapRID == 0

A great amount of maps are missing that file MapR(  id = 0 ): it serves for some lesser aspect/ways the water is being seen on the map;
( normally it contains visible "data-picture" of the wateraways and shores of that particular map... ).
So I extracted one, from a game map with no-water, to plug in wherever mapr is missing: https://www.mediafire.com/file/w2vi01n4lahbcr2/map_r.zip
Extract from an all water map would do also, maybe ( ? ). I've not tried. Since it has no water, it should add and have no effect other then removing the warnings.

U need the load.ini of a map at least, to activate a mod on a map. Here are most of them: https://www.mediafire.com/file/6hz6y7urudbdw8e/LesKlsDeLoad%2Cini_v2.7z
Logged

Hubberranz

  • Modder
  • member
  • Offline Offline
  • Posts: 1599
Re: Unexpected txr reload
« Reply #7 on: April 22, 2017, 09:18:35 PM »

Unexpected txr reload PlaneDamageSmoke.tga'
Code: [Select]
[2:08:04 PM] WARNING: ****( Unexpected txr reload (tfNoCompress16Bit): '3DO/Effects/TEXTURES/PlaneDamageSmoke.tga'

[1:18:38 AM] WARNING: ****( Unexpected txr reload (tfNoCompress16Bit): '3DO/Effects/TEXTURES/PlaneDamageSmoke.tga'

One mod that currently cause such error message is: !!!!_US_Marine_Aviation_Pack aka the main pack.
The Main packs change little over time, not as much as the file containing the classes and FM.
Verified main packs were:
USMC_MainPack_FA18_AV8B_preV4.0_20170414
USMC_MainPack_FA18_AV8B_preV4.0_20170320
USMC_MainPack_FA18_AV8B_20170212 aka V3.7
!!!!_US_Marine_Aviation_Pack aka V3,1 which seems similar/same as v2.


Source of error message is: EngineFuelMixture.mat   ( please scroll to the last two lines at the bottom. )
Code: [Select]
[ClassInfo]
  ClassName TMaterial

[General]
  tfDoubleSide 1
  tfShouldSort 1
  tfGameTimer 1
  tfDropShadow 0
  tfMotionBlur 0
[LightParams]
  Ambient 1.00
  Diffuse 1.00
  Specular 0.0
  SpecularPow 0
  Shine 0.0
[Layer0]
  TextureName PlaneDamageSmoke.tga
  PaletteName
  Frame 0.0
  VisibleDistanceNear 0.0
  VisibleDistanceFar 15000.0
  TextureCoordScale 0.0 0.0 1.0 1.0
  ColorScale 1.0 1.0 1.0 1.0
  tfWrapX 1
  tfWrapY 1
  tfMinLinear 1
  tfMagLinear 1
  tfMipMap 0
  tfBlend 1
  tfBlendAdd 0
  tfTestA 1
  tfTestZ 1
  tfNoWriteZ 1
  tfUpDateClear 0
  tfModulate 1
  tfNoTexture 0
  tfAnimatePalette 1
  tfAnimateSkippedFrames 1
  tfImageResident 0
  SubPictures 0
  tfCompressMajorAlpha      1       <------
  tfNoCompress16Bit         1       <------ error txtr reload !

beta Solution is to edit the file's last line value to zero: ( ...depends what of the 2 settings is desired ? But second one is a negative. )
Code: [Select]
  tfCompressMajorAlpha      1       
  tfNoCompress16Bit         0
...or even perhaps remove this line entirely, ...untested.
--------------------------------------------------------------------
The following is a study of 9 x (with same path) PlaneDamageSmoke.tga sources in my mods...
( your mod file search may reveal even more...) The first tga ( SAS_Engine ) prevails.
But mat may be of different names, so they are a much different matter. WP is the prevailing mat file by the same name..
Other then the mat error mention above, none of the other tga/mat are causing an error message.

Quote
! ! SAS_Engine... : FighterHeavyEngineDamage.mat  has line:     tfNoCompress16Bit         1     cause no error     <----- + main tga.
! 00_WeaponsPack_...: JetSmoke.mat                         has line:     tfCompressMajorAlpha     1    cause no error     <-----WP
!!!!_US_Marine_Aviation_Pack..: EngineFuelMixture.mat has lines: tfCompressMajorAlpha      1  cause error                     
                                                                                                     tfNoCompress16Bit          1  cause error reupload.  <---------
!!!!_US_Marine_Aviation_Pack..: EngineFuelMixture.mat has lines: tfCompressMajorAlpha      1  cause no error.                   
                                                                                                     tfNoCompress16Bit          0  cause no error.
Huey_D_BetaTest+AI:  JetSmoke.mat                         has line:     tfCompressMajorAlpha      1    cause no error, covered by WP.
Huey_UH-1C+AI:         JetSmoke.mat                         has line:     tfCompressMajorAlpha      1    cause no error, covered by WP.
Huey-UH-1B_Gunship:  JetSmoke.mat                         has line:     tfCompressMajorAlpha      1    cause no error, covered by WP.
Hughes OH-6 CayuseVer2_and_AI: JetSmoke.mat        has line:     tfCompressMajorAlpha      1    cause no error, covered by WP.
Hughes_MH-6 and MH6AI: JetSmoke.mat                    has line:     tfCompressMajorAlpha      1    cause no error, covered by WP.
Z50LXv1.2:                      JetSmoke.mat                     has line:     tfCompressMajorAlpha      1    cause no error, covered by WP.
So the dual entries in mat file, on the same topic are the issue.
Logged

Hubberranz

  • Modder
  • member
  • Offline Offline
  • Posts: 1599
Re: INTERNAL ERROR: Str2FloatClamp() - Clamped 75 and Clamped 120
« Reply #8 on: April 29, 2017, 03:37:07 PM »

INTERNAL ERROR: Str2FloatClamp() - Clamped 75 and INTERNAL ERROR: Str2FloatClamp() - Clamped 120
Code: [Select]
[1:13:57 PM] AutoMounting SFS files from folder SFS_AUTO finished.
[1:13:57 PM] INTERNAL ERROR: Str2FloatClamp() - Clamped 75 -> 32 (delta = -43) to Range 0..32
[1:13:57 PM] INTERNAL ERROR: Str2FloatClamp() - Clamped 120 -> 60 (delta = -60) to Range 0..60

Message that has been around for quite sometimes. Basically ignored because, once clamped, an error simply cease to exist, well at least in the running game.
Also known to be associate with mounted in SFS_AUTO : sasup_effects01.sfs october,28,2013,2:29:58 AM

I have tried sasup_effects01.sfs in  412, SAS modact 5.3  RAW with no mods at all, and the two messages above are the only ones generated
by just starting the game, and then ending it. While in a mission, another matter.

Simple fix/ extract and drop in mod file :

https://www.mediafire.com/file/8gmi1yrp1d9s4ha/SASEffects_clamp_removal.zip

Change done to values in FAB-1000(circle).eff are seen here:
Code: [Select]
[ClassInfo]
  ClassName TParticlesSystemParams
[General]
  MatName ../Textures/WaterSplash.mat
  Color0 0.40 0.35 0.30 1.0
  Color1 0.40 0.40 0.40 0.0 
  nParticles 32
  FinishTime 8.0
  MaxR 32.0 // error 75.0 max value 32              <------ was  MaxR 75.0
  PhiN 0.0
  PsiN 0.0
  LiveTime 60.0
  EmitFrq 64.0
  TranspTransitionTime 60.0f  // error 120.0f -?--> clamp 60.0 !!!! when MaxR not 0.0 !?      <------ was  TranspTransitionTime 120.0f
  EmitVelocity 0.0 500.0
  EmitTheta 20.0 70.0 //40
  GasResist 0.025
  VertAccel -0.50
  Wind 0.3
  Size 300.0 450.0
  Rnd 0.0
Logged

Hubberranz

  • Modder
  • member
  • Offline Offline
  • Posts: 1599
Re: INTERNAL ERROR: Str2FloatClamp() - Clamped 600
« Reply #9 on: April 30, 2017, 10:00:49 AM »

INTERNAL ERROR: Str2FloatClamp() - Clamped 600
Code: [Select]
[2:08:02 PM] AutoMounting SFS files from folder SFS_AUTO finished.
[2:08:03 PM] INTERNAL ERROR: Str2FloatClamp() - Clamped 600 -> 32 (delta = -568) to Range 0..32
This message is similar in cause to previous one, but origine is in effects of New Trains v1.1. The Clamp
message does correct the error in play, so the error has no effect. Fixing just remove the message. https://www.sas1946.com/main/index.php/topic,40779.msg457106.html#msg457106

Contrary to the above fix to SAS effects ( a mod ), this fix is a patch, and the old file must be replaced. Readme.
 
Clamp fix to New Train Mod v1.1:

https://www.mediafire.com/file/dncslz84ktmda1q/NewTrain_clamp_removal.zip

Change done to values in SmokeBlack_Locomotive.eff are seen here:
Code: [Select]
[ClassInfo]
  ClassName TParticlesSystemParams
[General]
  MatName SmokeTrain.mat
  Color0 0.8 0.8 0.8 0.8
  Color1 1.0 1.0 1.0 0.0
  nParticles 500.0
  FinishTime -1.0
  MaxR 32.0   // 600.0 to max.range 0 .. 32       <---- was MaxR 600.0
  PhiN 1.0
  PsiN 0.30
  LiveTime 11.0 
  EmitVelocity 5.0 6.0
  EmitFrq 20.0
  Wind 0.9
  Size 1.30 14.0 // 1.30 11.5 
  GasResist 0.20
  VertAccel -0.2
  Rnd 0.50
  EmitTheta 10.0 30.0
Logged

Hubberranz

  • Modder
  • member
  • Offline Offline
  • Posts: 1599
Re: INTERNAL ERROR: Str2FloatClamp() - Clamped 1111 and 555
« Reply #10 on: May 06, 2017, 10:57:56 AM »

INTERNAL ERROR: Str2FloatClamp() - Clamped 1111 and INTERNAL ERROR: Str2FloatClamp() - Clamped 555
Code: [Select]
[4:35:52 PM] AutoMounting SFS files from folder SFS_AUTO finished.
[4:35:53 PM] INTERNAL ERROR: Str2FloatClamp() - Clamped 1111 -> 128 (delta = -983) to Range 0.01..128
[4:35:53 PM] INTERNAL ERROR: Str2FloatClamp() - Clamped 555 -> 500 (delta = -55) to Range 0.01..500
[4:36:01 PM] Initializing DirectSound playback device...
This message is similar in cause to previous ones, but origine is in effects of Ship__ USS_Nimitz_CVN_68
( I use the not HD version ). The Clamp message does correct the error in play, so the error has no effect.
Fixing it just remove the message.

Ship__ USS_Nimitz_CVN_68\3do\Effects\Tracers\ShipTrail\Wake.eff

Clamp message fix ( patch ):

https://www.mediafire.com/file/o3slr27ib4531gp/USS_Nimitz_CVN_68_patch_clamp_removal.zip

Change done to values in Wake.eff are shown here:
Code: [Select]
[ClassInfo]
  ClassName TSmokeTrailParams
[General]
  LandComPlanar 1
  MatName Wake.mat
  Color0 1.0 1.0 1.0 1.0
  Color1 1.0 1.0 1.0 0.0
  nParticles 333
  FinishTime -0.1
  LiveTime 128    //1111 Range 0.01..128 limit clamp error message        <--------was LiveTime 1111
  TranspTransitionTime 5.0

  SegmentLen 500  //555  Range 0.01..500 limit clamp error message        <--------was SegmentLen 555
  MaxObjectVelocity 20

  Wind 0.0
  Size 1.0 1.0
  Rnd 0.15
Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 23951
  • Taking a timeout
    • STFU
Re: Log File Errors
« Reply #11 on: May 06, 2017, 11:00:00 AM »

Nothing to worry about, this is just an "internal" error which has been fixed automatically.
The background is that someone used exaggerated settings on an effects file.
But again, nothing to worry about.

Best regards - Mike
Logged
Don't split your mentality without thinking twice.
Pages: [1] 2 3   Go Up
 

Page created in 0.05 seconds with 28 queries.