Jump to content

actionSet undefined`


Recommended Posts

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

 

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

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

  • 2 weeks later...

 

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

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 :)

Link to comment
Share on other sites

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

  • 2 months later...

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

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

  • 1 month later...

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

  • 3 months later...
  • 4 months later...
  • 1 year later...
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...