Jump to content

Recommended Posts

The following are several error in expression messages that I found written to the client/local.rpt log file: 

16:46:11 Error in expression <distToWater interpolate [0.2,0.21,-1,1]>
16:46:11   Error position: <distToWater interpolate [0.2,0.21,-1,1]>
16:46:11   Error Undefined variable in expression: disttowater
16:48:54 Error in expression <(distToWater interpolate [-10.0001,-10,-1>
16:48:54   Error position: <distToWater interpolate [-10.0001,-10,-1>
16:48:54   Error Undefined variable in expression: disttowater
18:00:05 Error in expression <forceSize interpolate [150,150.1,-1,1]>
18:00:05   Error position: <forceSize interpolate [150,150.1,-1,1]>
18:00:05   Error Undefined variable in expression: forcesize
18:14:00 Error in expression < []];




private "_item";
_item = _queue select _index;




if (_timerType == "fram>
18:14:00   Error position: <select _index;




if (_timerType == "fram>
18:14:00   Error Zero divisor
18:14:00 File A3\functions_f\Misc\fn_loop.sqf, line 152
Game version: 1.58.135742
 
 

Share this post


Link to post
Share on other sites
Guest

I an also having those distToWater errors.

Share this post


Link to post
Share on other sites

Happened to me yesterday, this was the first time I saw it.

I died and then:

18:20:15 Error in expression <distToWater interpolate [0.2,0.21,-1,1]>
18:20:15   Error position: <distToWater interpolate [0.2,0.21,-1,1]>
18:20:15   Error Undefined variable in expression: disttowater

Share this post


Link to post
Share on other sites

Get the same error and think what make this

Player on boat and explode with

UnderwaterMine

UnderwaterMineAB
UnderwaterMinePDM


Then get error in RPT, these error happen BEFORE the eventhandle killed.
Mission was a basic altis life
No dwarden binary build

Share this post


Link to post
Share on other sites

Get the same error and think what make this

Player on boat and explode with

UnderwaterMine

UnderwaterMineAB

UnderwaterMinePDM

Then get error in RPT, these error happen BEFORE the eventhandle killed.

Mission was a basic altis life

No dwarden binary build

 

Not only, you can have these lines after playing with ground units (no boat at all). This could be linked to a BI function searching for a "safe position" to spawn something.

Share this post


Link to post
Share on other sites

I get undefined variable in expression in a simple if-else scripts. Loads of errors pop up now after 1.60.

Share this post


Link to post
Share on other sites

I get undefined variable in expression in a simple if-else scripts. Loads of errors pop up now after 1.60.

It was already the case. Undefined variables return error or warning. The only command which doesn't is: isNil

Share this post


Link to post
Share on other sites

It was already the case. Undefined variables return error or warning. The only command which doesn't is: isNil

This is technically wrong. There are two syntaxes of "isNil": "isNil STRING" where you use a variable name and "isNil CODE" where you check the return value of an expression.

If you actually use this:

0 spawn {
    isNil _undefined;
};

You get the error: "undefined variable: _undefined".

Share this post


Link to post
Share on other sites

I have not seen any of the four errors I posted since version 1.60.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×