Jump to content
  • 0
A Man

PVCDZ_plr_Login2 change Epoch 1.0.6.2 ?

Question

Hey guys,

Im using this version to spawn custom spawn gear.

HumanityGear = compile preprocessFileLineNumbers "scripts\spawngear\gear.sqf";
waitUntil {!isNil ("PVDZ_plr_LoginRecord")};
if (PVCDZ_plr_Login2 select 2) then {
    player spawn HumanityGear;
};

In the new epoch code from git hub I get this error now:

Error in expression <ntil {!isNil ("PVDZ_plr_LoginRecord")};
if (PVCDZ_plr_Login2 select 1) then {
pl>
  Error position: <if (PVCDZ_plr_Login2 select 1) then {
pl>
  Error if: Type Array, expected Bool
File mpmissions\__CUR_MP.tavi\init.sqf, line 175

I cannot figure out what changed and how to fix it. Can somebody help me?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
32 minutes ago, A Man said:

Hey guys,

Im using this version to spawn custom spawn gear.

HumanityGear = compile preprocessFileLineNumbers "scripts\spawngear\gear.sqf";
waitUntil {!isNil ("PVDZ_plr_LoginRecord")};
if (PVCDZ_plr_Login2 select 2) then {
    player spawn HumanityGear;
};

In the new epoch code from git hub I get this error now:

Error in expression <ntil {!isNil ("PVDZ_plr_LoginRecord")};
if (PVCDZ_plr_Login2 select 1) then {
pl>
  Error position: <if (PVCDZ_plr_Login2 select 1) then {
pl>
  Error if: Type Array, expected Bool
File mpmissions\__CUR_MP.tavi\init.sqf, line 175

I cannot figure out what changed and how to fix it. Can somebody help me?

In this commit here for antihack stuff: https://github.com/EpochModTeam/DayZ-Epoch/commit/8035df0ba0cd928b84085e288c5cb88260870a3e#diff-ad0636fc2328a27bd80bad9f46126307R241 look at playersetup.sqf

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
Answer this question...

×   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...