Jump to content
  • 0

Odd error putting in custom buildings


cloneruler

Question

Followed this guide: 

for putting custom buildings in my map. I have balota.sqf in my mission\buildings\balota.sqf and in init.sqf i have the []execVM "buildilngs\balota.sqf"

 

It worked when I first put it in, but after first restart it gives me this weird error loop:

cutText ["","BLACK IN>
 1:35:14   Error Undefined variable in expression: progress_monitor
 1:35:14 File mpmissions\__cur_mp.chernarus\init.sqf, line 150
 1:35:14 Error in expression <te_message.sqf";	
waitUntil {scriptDone progress_monitor};
cutText ["","BLACK IN>
 1:35:14   Error position: <progress_monitor};
cutText ["","BLACK IN>
 1:35:14   Error Undefined variable in expression: progress_monitor
 1:35:14 File mpmissions\__cur_mp.chernarus\init.sqf, line 150
 1:35:14 Error in expression <te_message.sqf";	
waitUntil {scriptDone progress_monitor};
cutText ["","BLACK IN>
 1:35:14   Error position: <progress_monitor};
cutText ["","BLACK IN>
 1:35:14   Error Undefined variable in expression: progress_monitor
 1:35:14 File mpmissions\__cur_mp.chernarus\init.sqf, line 150
 1:35:14 Error in expression <te_message.sqf";	
waitUntil {scriptDone progress_monitor};
cutText ["","BLACK IN>
 1:35:14   Error position: <progress_monitor};
cutText ["","BLACK IN>
 1:35:14   Error Undefined variable in expression: progress_monitor
 1:35:14 File mpmissions\__cur_mp.chernarus\init.sqf, line 150
 1:35:14 Error in expression <te_message.sqf";	
waitUntil {scriptDone progress_monitor};
cutText ["","BLACK IN>
 1:35:14   Error position: <progress_monitor};
cutText ["","BLACK IN>
 1:35:14   Error Undefined variable in expression: progress_monitor
 1:35:14 File mpmissions\__cur_mp.chernarus\init.sqf, line 150
 1:35:14 Error in expression <te_message.sqf";	

 

 

my init.sqf: http://pastebin.com/SggBSxGt

my arma2oaserver.RPT: https://www.dropbox.com/s/11nsxz9goak47i3/arma2oaserver.RPT?dl=0 - was too large for ghostbin/pastebin

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Try this.

Put your new buildings file in a custom folder "name it whatever" in the dayz sever not the mission.

Call it in your sever_functions.sqf at the very bottom located in dayz_server\init

edit the top and bottom lines of your edited files so that they look like this

Spoiler

if (isServer) then {              //at the top

Remove 

activateAddons [ 
  "map_eu",
  "mbg_buildings_3",
  "mbg_killhouses",
  "mbg_african_buildings",
  "aif_arma1buildings",
  "bb_mercenary",
  "oz_is_objects",
  "glt_bh_wreck",
  "rh_m14",
  "fhq_remington",
  "vilas_rw_forces_co"
];

activateAddons ["map_eu", "mbg_buildings_3", "mbg_killhouses", "mbg_african_buildings", "aif_arma1buildings", "bb_mercenary", "oz_is_objects", "glt_bh_wreck", "rh_m14", "fhq_remington", "vilas_rw_forces_co"];
initAmbientLife;

_this = createCenter west;
_center_0 = _this;

_group_0 = createGroup _center_0;
 

untill you get to your first 

_vehicle_ whatever number

               

at the bottom

Spoiler

 REMOVE

processInitCommands;
runInitScript;
finishMissionInit;

and replace with

};

to call in you server_functions.sqf add at the very bottom

Spoiler

execVM"z\addons\dayz_server\YOUR CUSTOM FOLDER NAME\YOUR CUSTOM FILE NAME.sqf";

 

pm me if you have any problems 

Link to comment
Share on other sites

  • 0
4 hours ago, Hooty said:

Try this.

Put your new buildings file in a custom folder "name it whatever" in the dayz sever not the mission.

Call it in your sever_functions.sqf at the very bottom located in dayz_server\init

edit the top and bottom lines of your edited files so that they look like this

  Reveal hidden contents

if (isServer) then {              //at the top

Remove 

activateAddons [ 
  "map_eu",
  "mbg_buildings_3",
  "mbg_killhouses",
  "mbg_african_buildings",
  "aif_arma1buildings",
  "bb_mercenary",
  "oz_is_objects",
  "glt_bh_wreck",
  "rh_m14",
  "fhq_remington",
  "vilas_rw_forces_co"
];

activateAddons ["map_eu", "mbg_buildings_3", "mbg_killhouses", "mbg_african_buildings", "aif_arma1buildings", "bb_mercenary", "oz_is_objects", "glt_bh_wreck", "rh_m14", "fhq_remington", "vilas_rw_forces_co"];
initAmbientLife;

_this = createCenter west;
_center_0 = _this;

_group_0 = createGroup _center_0;
 

untill you get to your first 

_vehicle_ whatever number

               

at the bottom

  Hide contents

 REMOVE

processInitCommands;
runInitScript;
finishMissionInit;

and replace with

};

to call in you server_functions.sqf add at the very bottom

  Hide contents

execVM"z\addons\dayz_server\YOUR CUSTOM FOLDER NAME\YOUR CUSTOM FILE NAME.sqf";

 

pm me if you have any problems 

I did the top two, i'll try calling it from server_functions. 

 

Thanks.

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