Jump to content
  • 0

PVCDZ_plr_Login2 change Epoch 1.0.6.2 ?


Airwaves Man

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?

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

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