Jump to content
BetterDeadThanZed

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?

 

Share this post


Link to post
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 

Share this post


Link to post
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!

Share this post


Link to post
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?

 

+1 for me with this. I think it has only started appearing since the upgrade to arma 125548 if that helps anyone...?

Share this post


Link to post
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 :)

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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;

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...