BetterDeadThanZed Posted July 10, 2014 Report Share Posted July 10, 2014 I had someone tell me that one of the missions I'm running was messed up - only 1 AI was there, so I was checking the log and came across an undefined variable: if (!_actionSet) then { s_player_holderPickup> 5:08:24 Error position: <_actionSet) then { s_player_holderPickup> 5:08:24 Error Undefined variable in expression: _actionset 5:08:24 File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13 5:08:25 Error in expression < getVariable["actionSet", false]; How do I fix this? Link to comment Share on other sites More sharing options...
TheVampire Posted July 10, 2014 Report Share Posted July 10, 2014 That should be unrelated to DZMS, since its not looking for a DZMS item, it's an undefined action, and its not in a DZMS script. Is that the first error in your RPT that you got? Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted July 10, 2014 Author Report Share Posted July 10, 2014 Oops, didn't quote the whole thing. There's was a reference to DZMSminor and major missions. When I get home later I'll post more. Link to comment Share on other sites More sharing options...
TayTayTheKiller Posted July 10, 2014 Report Share Posted July 10, 2014 I had someone tell me that one of the missions I'm running was messed up - only 1 AI was there, so I was checking the log and came across an undefined variable: if (!_actionSet) then { s_player_holderPickup> 5:08:24 Error position: <_actionSet) then { s_player_holderPickup> 5:08:24 Error Undefined variable in expression: _actionset 5:08:24 File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13 5:08:25 Error in expression < getVariable["actionSet", false]; How do I fix this? I have seen this in my rpt without dzms don't hold me to it but I think its to do with player_humanityMorph Link to comment Share on other sites More sharing options...
jOoPs Posted July 10, 2014 Report Share Posted July 10, 2014 had the same error in serverlog right after serverrestart ... so bump Link to comment Share on other sites More sharing options...
PetuniaEpoch Posted July 17, 2014 Report Share Posted July 17, 2014 Anyone figure this out? I'm getting it now - I do use DZMS, and it does seem to be maybe related? Not sure... [DZMS]: Minor SM6 Weapons Truck Mission has Ended. 19:51:02 Error in expression < getVariable["actionSet", false]; if (!_actionSet) then { s_player_holderPickup> 19:51:02 Error position: <_actionSet) then { s_player_holderPickup> 19:51:02 Error Undefined variable in expression: _actionset 19:51:02 File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13 Any ideas anyone? I don't think it's an error in the client side code it's indicating, as nothing's changed in the client side pbo! Link to comment Share on other sites More sharing options...
Ivory Posted July 22, 2014 Report Share Posted July 22, 2014 do you have change anything? Link to comment Share on other sites More sharing options...
ReDBaroN Posted July 31, 2014 Report Share Posted July 31, 2014 I had someone tell me that one of the missions I'm running was messed up - only 1 AI was there, so I was checking the log and came across an undefined variable: if (!_actionSet) then { s_player_holderPickup> 5:08:24 Error position: <_actionSet) then { s_player_holderPickup> 5:08:24 Error Undefined variable in expression: _actionset 5:08:24 File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13 5:08:25 Error in expression < getVariable["actionSet", false]; How do I fix this? +1 for me with this. I think it has only started appearing since the upgrade to arma 125548 if that helps anyone...? Link to comment Share on other sites More sharing options...
mark88 Posted August 4, 2014 Report Share Posted August 4, 2014 Actually its an epoch bug, also refer to my thread: Ebay answered it! Happens when any of your scripts tries to remove the backpack of dead AI. It works, but after a time you will get huge server lag/desyncs. I replaced all my AI backpacks (WAI/DZMS) with worthless minor backpacks and just leave em on the dead AI bodies ... works and no more lagg :) 31_D!4b10 1 Link to comment Share on other sites More sharing options...
ReDBaroN Posted August 4, 2014 Report Share Posted August 4, 2014 Actually its an epoch bug, also refer to my thread: Ebay answered it! Happens when any of your scripts tries to remove the backpack of dead AI. It works, but after a time you will get huge server lag/desyncs. I replaced all my AI backpacks (WAI/DZMS) with worthless minor backpacks and just leave em on the dead AI bodies ... works and no more lagg :) Sorry Mark88, do you mind talking me through your current workaround a bit more as I'm also lagging on medium-high pop server? I'm not getting the part about any script that tries to remove the backpack of dead AI. Do you mean in the config of DZMS for example where you can set it to remove gear of AI that have been run over? If yes then you mean just remove this line from ai_killed.sqf: removeBackpack _unit; and then I'll prevent the error and lag? I can't find anything about removing backpacks in WAI....am I missing something? Link to comment Share on other sites More sharing options...
JayOnSpeed Posted October 9, 2014 Report Share Posted October 9, 2014 Note: If you're using ESS you should comment this out. //removeBackpack player; Also in DZAI in the ai_killed_all.sqf file in DZMS in the DZMSAIKilled.sqf file These are the ones i use so i hope it helps. Link to comment Share on other sites More sharing options...
TheVampire Posted October 9, 2014 Report Share Posted October 9, 2014 Note: If you're using ESS you should comment this out. //removeBackpack player; Also in DZAI in the ai_killed_all.sqf file in DZMS in the DZMSAIKilled.sqf file These are the ones i use so i hope it helps. Might be it trying to remove a backpack from an AI that has an RPG instead of a bag. I'll experiment with it. Still haven't found a solution to this issue but thanks for posting what is working for you. Link to comment Share on other sites More sharing options...
Mendo Posted October 13, 2014 Report Share Posted October 13, 2014 Might be it trying to remove a backpack from an AI that has an RPG instead of a bag. I'll experiment with it. Still haven't found a solution to this issue but thanks for posting what is working for you. I only just started getting this error after turning on the RPG option so I do believe it is the reason. Link to comment Share on other sites More sharing options...
Caveman1 Posted November 17, 2014 Report Share Posted November 17, 2014 Note: If you're using ESS you should comment this out. //removeBackpack player; Also in DZAI in the ai_killed_all.sqf file in DZMS in the DZMSAIKilled.sqf file These are the ones i use so i hope it helps. +1 more. This seems to have stopped this error until a fix is found. Link to comment Share on other sites More sharing options...
Proximus Posted November 25, 2014 Report Share Posted November 25, 2014 I only just started getting this error after turning on the RPG option so I do believe it is the reason. I also get the error since we turned RPG's on. Any news on this? Link to comment Share on other sites More sharing options...
OsirisCRO Posted March 2, 2015 Report Share Posted March 2, 2015 shouldnt like an if(ai has rpg)= remove backpack or something?i'm not one for coding. so dont hold me to what i say hahaha Link to comment Share on other sites More sharing options...
ElDubya Posted July 3, 2015 Report Share Posted July 3, 2015 Weird that I am also now getting this error on a freshly coded, new server with no AI scripts installed? All I have so far is : Plot For Life Vector Snap Precise Nox's Admin Tools Advanced Alchemical Building Link to comment Share on other sites More sharing options...
Saije Posted January 25, 2017 Report Share Posted January 25, 2017 On 2014-10-09 at 3:08 AM, JayOnSpeed said: Note: If you're using ESS you should comment this out. //removeBackpack player; Also in DZAI in the ai_killed_all.sqf file in DZMS in the DZMSAIKilled.sqf file These are the ones i use so i hope it helps. Just a note for anyone having this same error popping with only infistar and essv2 installed. go to class.sqf in your spawn folder for essv2 and comment out removeBackpack player; so it looks like this: if !(_isPZombie) then { {player removeMagazine _x;} count magazines player; removeAllItems player; removeAllWeapons player; //removeBackpack player; Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now