ViktorReznov Posted June 23, 2017 Report Share Posted June 23, 2017 Having errors with code from files I most definitely did not ,edit. clientside .rpt Spoiler Error in expression <nt = ((_this select 2) select 3); if (_calorieCount > 0) then { _hungerCount => Error position: <_calorieCount > 0) then { _hungerCount => Error Undefined variable in expression: _caloriecount File z\addons\dayz_code\init\compiles.sqf, line 305 File z\addons\dayz_code\init\compiles.sqf, line 305 Error in expression <wTruck","_isTowing","_hasToolbox"]; if(DZE_ActionInProgress) exitWith { cutText> Error position: <DZE_ActionInProgress) exitWith { cutText> Error Undefined variable in expression: dze_actioninprogress File mpmissions\__CUR_MP.Chernarus\Logistic\mf-tow\tow_DetachTow.sqf, line 12 Link to comment Share on other sites More sharing options...
0 salival Posted June 23, 2017 Report Share Posted June 23, 2017 44 minutes ago, ViktorReznov said: Having errors with code from files I most definitely did not ,edit. clientside .rpt Hide contents Error in expression <nt = ((_this select 2) select 3); if (_calorieCount > 0) then { _hungerCount => Error position: <_calorieCount > 0) then { _hungerCount => Error Undefined variable in expression: _caloriecount File z\addons\dayz_code\init\compiles.sqf, line 305 File z\addons\dayz_code\init\compiles.sqf, line 305 Error in expression <wTruck","_isTowing","_hasToolbox"]; if(DZE_ActionInProgress) exitWith { cutText> Error position: <DZE_ActionInProgress) exitWith { cutText> Error Undefined variable in expression: dze_actioninprogress File mpmissions\__CUR_MP.Chernarus\Logistic\mf-tow\tow_DetachTow.sqf, line 12 https://github.com/EpochModTeam/DayZ-Epoch/blob/master/Documents/1.0.6 Variable Name Changes.txt has the list of variables that have changed I'm guessing for your first error that you just changed the function name from dayz_HungerThirst --> dayz_NutritionSystem without changing how it calls it. i.e: https://github.com/matt-d-rat/mf-tow/blob/master/init.sqf#L63 is the old dayz_hungerThirst https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/init/compiles.sqf#L289-L302 is the new dayz_NutritionSystem so it has additional arguments i.e: ["Working",0,[20,40,15,0]] call dayz_NutritionSystem; For the second one, see this line: https://github.com/EpochModTeam/DayZ-Epoch/blob/master/Documents/1.0.6 Variable Name Changes.txt#L25 Link to comment Share on other sites More sharing options...
Question
ViktorReznov
Having errors with code from files I most definitely did not ,edit.
clientside .rpt
Error in expression <nt = ((_this select 2) select 3);
if (_calorieCount > 0) then {
_hungerCount =>
Error position: <_calorieCount > 0) then {
_hungerCount =>
Error Undefined variable in expression: _caloriecount
File z\addons\dayz_code\init\compiles.sqf, line 305
File z\addons\dayz_code\init\compiles.sqf, line 305
Error in expression <wTruck","_isTowing","_hasToolbox"];
if(DZE_ActionInProgress) exitWith { cutText>
Error position: <DZE_ActionInProgress) exitWith { cutText>
Error Undefined variable in expression: dze_actioninprogress
File mpmissions\__CUR_MP.Chernarus\Logistic\mf-tow\tow_DetachTow.sqf, line 12
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now