robin Posted January 15, 2014 Report Share Posted January 15, 2014 Hey guys, So i'm using a few of the custom bases kindly provided on here and calling them server side. They all work fine except i've noticed that often the doors or gates are doubled up so you need to open them twice to get inside. This applies to firestations , barracks etc. I really can't work out why this is happening, any ideas ? Cheers koriaba 1 Link to comment Share on other sites More sharing options...
axeman Posted January 15, 2014 Report Share Posted January 15, 2014 the buildings are being created twice, most likely at the server and then as the client joins. call the addbuildings.sqf from init.sqf within the isServer section.. Link to comment Share on other sites More sharing options...
robin Posted January 15, 2014 Author Report Share Posted January 15, 2014 Thanks very much Axeman ! Link to comment Share on other sites More sharing options...
koriaba Posted January 24, 2014 Report Share Posted January 24, 2014 Please, if possible, a little more detail where I fix it? Link to comment Share on other sites More sharing options...
robin Posted January 24, 2014 Author Report Share Posted January 24, 2014 Please, if possible, a little more detail where I fix it? I added the call functions into my init.sqf like this : if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf"; //Compile vehicle configs //Call Server mod buildings HERE not in server functions Robin EDIT Wednesday Jan 15 2014 call compile preProcessFileLineNumbers "\z\addons\dayz_server\maps\nwaf.sqf"; call compile preProcessFileLineNumbers "\z\addons\dayz_server\maps\balotar1.sqf"; The maps are still server side but it removed the duplication error and obviously helps a lot not having 2 sets of buildings loading in. Hope this helps Koriaba ! koriaba 1 Link to comment Share on other sites More sharing options...
koriaba Posted January 25, 2014 Report Share Posted January 25, 2014 I added the call functions into my init.sqf like this : if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf"; //Compile vehicle configs //Call Server mod buildings HERE not in server functions Robin EDIT Wednesday Jan 15 2014 call compile preProcessFileLineNumbers "\z\addons\dayz_server\maps\nwaf.sqf"; call compile preProcessFileLineNumbers "\z\addons\dayz_server\maps\balotar1.sqf"; The maps are still server side but it removed the duplication error and obviously helps a lot not having 2 sets of buildings loading in. Hope this helps Koriaba ! Thanks for the answer, but unfortunately it did not help in my case ... if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf"; //Compile vehicle configs call compile preProcessFileLineNumbers "\z\addons\dayz_server\buildings\altar.sqf"; call compile preProcessFileLineNumbers "\z\addons\dayz_server\buildings\eastpr1.sqf"; call compile preProcessFileLineNumbers "\z\addons\dayz_server\buildings\skalisty.sqf"; call compile preProcessFileLineNumbers "\z\addons\dayz_server\buildings\Infinicity.sqf"; Sometimes even three doors there ..)) Link to comment Share on other sites More sharing options...
robin Posted January 25, 2014 Author Report Share Posted January 25, 2014 I don't mean to be funny but you did remove the calls from the server_functions.sqf aswell ? It sounds like you didn't. koriaba 1 Link to comment Share on other sites More sharing options...
koriaba Posted January 25, 2014 Report Share Posted January 25, 2014 I don't mean to be funny but you did remove the calls from the server_functions.sqf aswell ? It sounds like you didn't. oh, my friend ..! Thank you very much!)) three days thought it remove)) everything is fine! Have a nice day! :) Link to comment Share on other sites More sharing options...
Nazdock Posted January 25, 2014 Report Share Posted January 25, 2014 Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now