Jump to content
  • 0

Can someone please help me merge these two scripts?


Bricktop

Question

https://github.com/RimBlock/Epoch/tree/master/A Plot for Life

-------------------------

 

I've tried for days to figure out how to get P4L working with Souls unedited pbo's but no matter what I do either P4L (OR) Banking will work but I can NOT get both to work at the same time (I lose one of the options every time)

------------- Here's the Default Init.sqf - (Souls 2.0) -------------

call compile preprocessFileLineNumbers "Scripts\Variables\Variables.sqf";
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "Scripts\Server_Compile\compiles.sqf";
progressLoadingScreen 0.5;
call compile preprocessFileLineNumbers "Scripts\Server_Traders\server_traders.sqf";
progressLoadingScreen 1.0;

 

---------------- Here's RimBlocks Instructions ----------------

 

Search for

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";

Replace with

call compile preprocessFileLineNumbers "Custom\A_Plot_for_Life\init\variables.sqf";

 

Search for

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";

Replace with

call compile preprocessFileLineNumbers "Custom\A_Plot_for_Life\init\publicEH.sqf";

 

Search for

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";

Replace with

call compile preprocessFileLineNumbers "Custom\A_Plot_for_Life\init\compiles.sqf";

 

---------------------------

It is not possible to follow the instructions exact. 

Here's my failed attempt - I merged the Variables.sqf's (Banking still works but P4L does not) If I move the lines around I can get P4L to work but then the Banking option stops working.

---------------------------

call compile preprocessFileLineNumbers "Custom\A_Plot_for_Life\init\variables.sqf";
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "Custom\A_Plot_for_Life\init\publicEH.sqf";
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "Custom\A_Plot_for_Life\init\compiles.sqf";
call compile preprocessFileLineNumbers "Scripts\Server_Compile\compiles.sqf";
progressLoadingScreen 0.5;
call compile preprocessFileLineNumbers "Scripts\Server_Traders\server_traders.sqf";
progressLoadingScreen 1.0;

--------------------------

- Any help would be greatly appreciated!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

i spent a month and a half trying to get this working.  I finally did. Don't give up.

I used the single currency 2.0 as a base, and installed P4L on top of it.

I used beyond compare, and compared EACH file and transferred everything that was pertaining to P4L

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