AllenFromStacysmom Posted February 24, 2015 Report Share Posted February 24, 2015 Hi guys, I got this error in my server.RPT if (!_actionSet) then { s_player_holderPickup> 21:12:38 Error position: <_actionSet) then { s_player_holderPickup> 21:12:38 Error Undefined variable in expression: _actionset 21:12:38 File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13 21:12:38 Error in expression < getVariable["actionSet", false]; Can't figure out the reason, this is my object_BackpackAction.sqf private ["_holder","_type","_classname","_name","_actionSet"]; _holder = _this select 0; _type = _this select 1; _classname = _this select 2; // Exit if player zombie if(player isKindOf "PZombie_VB") exitWith {}; _name = getText (configFile >> _type >> _classname >> "displayName"); _actionSet = _holder getVariable["actionSet", false]; if (!_actionSet) then { s_player_holderPickup = _holder addAction [format[(localize "STR_DAYZ_CODE_1"),_name], "\z\addons\dayz_code\actions\object_pickup.sqf",[_type,_classname,_holder], 20, true, true]; player reveal _holder; _holder setVariable["actionSet", true]; }; Link to comment Share on other sites More sharing options...
0 ElDubya Posted February 24, 2015 Report Share Posted February 24, 2015 That error is in the Epoch 1.0.5.1 client files. It was due to not checking if the backpack was null first. Fixed here: https://github.com/v...8efdea84b0ab588 Unfortunately it is called directly from the config file, so there is nothing you can do but wait for 1.0.5.2 release. Link to comment Share on other sites More sharing options...
0 AllenFromStacysmom Posted February 24, 2015 Author Report Share Posted February 24, 2015 That error is in the Epoch 1.0.5.1 client files. It was due to not checking if the backpack was null first. Fixed here: https://github.com/v...8efdea84b0ab588 Unfortunately it is called directly from the config file, so there is nothing you can do but wait for 1.0.5.2 release. oh ok thanks, :D Link to comment Share on other sites More sharing options...
Question
AllenFromStacysmom
Hi guys, I got this error in my server.RPT
Can't figure out the reason,
this is my object_BackpackAction.sqf
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now