Special Aircraft Service

Please login or register.

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

Author Topic: "Clamped" error ~ SOLVED  (Read 1886 times)

0 Members and 1 Guest are viewing this topic.

Trucmuche

  • member
  • Offline Offline
  • Posts: 63
"Clamped" error ~ SOLVED
« on: September 13, 2011, 09:45:04 AM »

Hi great gurus IL2.
I have some strange bugs on my install. :'(
I read my Log.lst and I have these error reports and I don't know what is the signification.Is somebody knows a solution for that or what I have to do (reinstall?).
here  the extract of my log:

[15:36:56]   INTERNAL ERROR: Str2FloatClamp() - Clamped 8000 -> 512 (delta = -7488) to Range 1..512
[15:36:56]   INTERNAL ERROR: Str2FloatClamp() - Clamped 600 -> 128 (delta = -472) to Range 0.01..128
[15:36:56]   INTERNAL ERROR: Str2FloatClamp() - Clamped 4096 -> 512 (delta = -3584) to Range 1..512
[15:36:57]   INTERNAL ERROR: Str2FloatClamp() - Clamped 1024 -> 512 (delta = -512) to Range 1..512
[15:36:57]   INTERNAL ERROR: Str2FloatClamp() - Clamped 1 -> 0.95 (delta = -0.05) to Range 0..0.95
[15:36:57]   INTERNAL ERROR: Str2FloatClamp() - Clamped 3 -> 2 (delta = -1) to Range 0..2
[15:36:57]   INTERNAL ERROR: Str2FloatClamp() - Clamped 5 -> 2 (delta = -3) to Range 0..2
[15:36:57]   INTERNAL ERROR: Str2FloatClamp() - Clamped 3 -> 2 (delta = -1) to Range 0..2
[15:36:57]   INTERNAL ERROR: Str2FloatClamp() - Clamped 3 -> 2 (delta = -1) to Range 0..2
[15:36:58]   INTERNAL ERROR: Str2FloatClamp() - Clamped 2 -> 0.95 (delta = -1.05) to Range 0..0.95
[15:36:58]   INTERNAL ERROR: Str2FloatClamp() - Clamped 1.5 -> 0.95 (delta = -0.55) to Range 0..0.95
[15:36:58]   INTERNAL ERROR: Str2FloatClamp() - Clamped 4 -> 2 (delta = -2) to Range 0..2
[15:36:58]   INTERNAL ERROR: Str2FloatClamp() - Clamped 50 -> 32 (delta = -18) to Range 0..32
[15:37:02]   INTERNAL ERROR: Str2FloatClamp() - Clamped 0 -> 0.001 (delta = 0.001) to Range 0.001..1000
[15:37:02]   INTERNAL ERROR: Str2FloatClamp() - Clamped 2000 -> 512 (delta = -1488) to Range 1..512
[15:37:04]   WARNING: ****( Unexpected txr reload (tfTranspBorder): 'Effects/Explodes/Air/Zenitka/USSR_85mm/flame.tga'
[15:37:04]   INTERNAL ERROR: Str2FloatClamp() - Clamped 1e+006 -> 16384 (delta = -983616) to Range 0.1..16384
[15:37:04]   INTERNAL ERROR: Str2FloatClamp() - Clamped 500 -> 100 (delta = -400) to Range 0..100
[15:37:04]   INTERNAL ERROR: Str2FloatClamp() - Clamped 300 -> 128 (delta = -172) to Range 0.01..128
[15:37:04]   INTERNAL ERROR: Str2FloatClamp() - Clamped 1 -> 0.95 (delta = -0.05) to Range 0..0.95
[15:37:04]   INTERNAL ERROR: Str2FloatClamp() - Clamped 4 -> 2 (delta = -2) to Range 0..2
[15:37:04]   INTERNAL ERROR: Str2FloatClamp() - Clamped 1 -> 0.95 (delta = -0.05) to Range 0..0.95
[15:37:04]   INTERNAL ERROR: Str2FloatClamp() - Clamped 1 -> 0.95 (delta = -0.05) to Range 0..0.95
[15:37:04]   INTERNAL ERROR: Str2FloatClamp() - Clamped 250 -> 128 (delta = -122) to Range 0.01..128
[15:37:04]   INTERNAL ERROR: Str2FloatClamp() - Clamped 1024 -> 512 (delta = -512) to Range 1..512
[15:37:04]   INTERNAL ERROR: Str2FloatClamp() - Clamped 1.5 -> 0.95 (delta = -0.55) to Range 0..0.95


Thanks for your advices
Logged

SAS~Malone

  • flying as #46 with the FAC
  • Editor
  • member
  • Offline Offline
  • Posts: 14562
  • proud member of that 'other' site
Re: "Clamped" error
« Reply #1 on: September 13, 2011, 10:21:13 AM »

i wouldn't worry about it too much - these same errors can be found in the stock game, albeit to a lesser extent.
seems to mostly be caused by fx, but it's very common, and no need to worry, unless it is accompanied by some other issue....
Logged
.....taking fun seriously since 1968.....  8)

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 23882
  • Taking a timeout
    • STFU
Re: "Clamped" error
« Reply #2 on: September 13, 2011, 12:01:29 PM »

There's absolutely nothing wrong when this type of "Error" message appears.
The "Internal Error" declaration is kind of irritating here, it would have been better to call it something like "Parameter adjustment notice".
What this message is telling is simply that some value being converted from a string to a float value exceeds the valid range of values being given as additional parameters.
The Str2FloatClamp() function takes three parameters (string value, min value, max value) and returns some float value corresponding to the given string, clamped to the limits given.
It's a usual thing e.g. for effects to clamp values since there's for instance some specific maximum number of effects being played simultaneously, so when the string value exceeds this limit, it's intentionally clamped to those limits. That's alright and it's nothing like an error at all.

Bottom line: Don't worry, it's alright.

Best regards - Mike
Logged
Don't split your mentality without thinking twice.

Trucmuche

  • member
  • Offline Offline
  • Posts: 63
Re: "Clamped" error
« Reply #3 on: September 13, 2011, 03:09:41 PM »

Thanks Messieurs
Happy to read your answers, my game is not so bad!!!
Thanks a lot
Logged
Pages: [1]   Go Up
 

Page created in 0.038 seconds with 24 queries.