Jump to content
  • 0

Custom map additions, not spawning in.


EditedSnowHD

Question

Hy,

 

I have downloaded some custom bases, and 'installed' them on my server.

But i have no idea why there not spawning. Because only the first custom base i installed is spawning.

And when i try to add another custom map additions, there just not spawning. 

Does someone have an idea what im doing wrong here?

 

In my server.pbo, i have a "buildings" folder, with all the Custom bases .sqf files. Except from the NorthWestAirfield.sqf i got that in a diffirent folder called "mapaddons", but i dont understand why that one is spawning but the otherones aren't?

In my server_functions all the way in the bottom i got the usual:

//MapAddons
execVM "\z\addons\dayz_server\mapaddons\NorthWestAirfield.sqf";
execVM "\z\addons\dayz_server\buildings\NEAF_S4M.sqf";
execVM "\z\addons\dayz_server\buildings\traderstary.sqf";
execVM "\z\addons\dayz_server\buildings\novy.sqf";
execVM "\z\addons\dayz_server\buildings\dichina.sqf";
execVM "\z\addons\dayz_server\buildings\bor.sqf";

My server RTP: https://www.dropbox.com/s/1v6eqk9r1fowrsq/arma2oaserver.RPT?dl=0

 

Thank you very much for you time!

(PS, im still a bit noobish)

 

 

Link to comment
Share on other sites

20 answers to this question

Recommended Posts

  • 0

WTF is this?

Wrong text element 'null'

Very disturbing to look at that RPT! Forget the whole RPT!

1. Start a NEW RPT and then start the server.

2. Then join the server.

3. If you are ingame, leave the server.

We only need this small RPT to check whats going wrong, not more.

 

 

Link to comment
Share on other sites

  • 0

@EditedSnowHD  this is my server_functions.sqf, And everything works !

  Reveal hidden contents

 

Link to comment
Share on other sites

  • 0
  On 6/1/2017 at 10:20 AM, oldmatechoc said:

Double check they are being loaded.

To the top of each map add-on file add

diag_log "Stary Trader : CUSTOM BUILDINGS LOADING";

(Just fix up the name so you know what file is being loading)

 

Can also add it to the bottom if you want to know when it finishes.

diag_log "Stary Trader : CUSTOM BUILDINGS LOADED";

 

Expand  

Oke i added these lines to all my *mapaddon*.sqf files.

Where can i check if they are being loaded? My server.rpt?

 

Thank you for your time (again) :P

Link to comment
Share on other sites

  • 0

@S4M this is my server_functions.sqf:

  Reveal hidden contents

 

Link to comment
Share on other sites

  • 0
  On 6/1/2017 at 10:20 AM, oldmatechoc said:

Double check they are being loaded.

To the top of each map add-on file add

diag_log "Stary Trader : CUSTOM BUILDINGS LOADING";

(Just fix up the name so you know what file is being loading)

 

Can also add it to the bottom if you want to know when it finishes.

diag_log "Stary Trader : CUSTOM BUILDINGS LOADED";

 

Expand  

 

Well i did what you said,

but nothing showed up on my RTP log..

Link to comment
Share on other sites

  • 0

@EditedSnowHD 

i think first you need change the way you call it.

 server_function.sqf is fine but i think is better use callcompile in this file like @S4M did.

if u gonna use execVM  try calling the addons from server_monitor.sqf

this is the bottom of my server_monitor.sqf

execVM "\z\addons\dayz_server\mapaddons\utessafezone.sqf";

now.. what do you have inside your map addons sqf?

something like this?

  Reveal hidden contents

can you use pastebin.com to paste one of your map addons?

 

Or made a quick test.  I had this from my old 1.0.5.1   create this sqf into

....\addons\dayz_server\buildings\

test.sqf

  Reveal hidden contents

at bottom of your server_monitor.sqf paste:

execVM "\z\addons\dayz_server\buildings\test.sqf";

repack your dayz_server.pbo

now go to your init.sqf  at bottom paste:

[] execVM "test_marker.sqf";

now into mpmissions\your instance\

create test_marker.sqf

  Reveal hidden contents

go in game.. and see if u get the ai and object spawned in the marker place

Link to comment
Share on other sites

  • 0

Do some very simple tests. Move all the other files into the mapaddons folder and change the calls to be the same as the NWAF one that you say works.

Ot it could be something stupidly simple like you've spelt buildings wrong on the folder name, although I would expect that to show an error in the rpt.

 

I called all my custom addons this way in server_functions. Worked fine that way for me.

_nil = [] ExecVM "\z\addons\dayz_server\map\Balota.sqf";

_nil = [] ExecVM "\z\addons\dayz_server\map\traderstary.sqf";

_nil = [] ExecVM "\z\addons\dayz_server\map\HiddenAF.sqf";

_nil = [] ExecVM "\z\addons\dayz_server\map\balota.sqf";

_nil = [] ExecVM "\z\addons\dayz_server\map\dichina.sqf";

_nil = [] ExecVM "\z\addons\dayz_server\map\novy.sqf";

_nil = [] ExecVM "\z\addons\dayz_server\map\nwaf.sqf";

 

Link to comment
Share on other sites

  • 0
 7:45:20 "traderstary : CUSTOM BUILDINGS LOADING"
 7:45:20 "NEAF_S4M : CUSTOM BUILDINGS LOADING"
 7:45:20 "novy : CUSTOM BUILDINGS LOADING"
 7:45:20 "bor : CUSTOM BUILDINGS LOADING"
 7:45:20 "dichina : CUSTOM BUILDINGS LOADING"


 7:45:28 "novy : CUSTOM BUILDINGS LOADED"
 7:45:28 "dichina : CUSTOM BUILDINGS LOADED"
 7:45:31 "bor : CUSTOM BUILDINGS LOADED"
 7:45:32 "traderstary : CUSTOM BUILDINGS LOADED"
 7:45:34 "NEAF_S4M : CUSTOM BUILDINGS LOADED"

i used this to start them

	[] execVM "\z\addons\dayz_server\buildings\bor.sqf";
	[] execVM "\z\addons\dayz_server\buildings\dichina.sqf";
	[] execVM "\z\addons\dayz_server\buildings\NEAF_S4M.sqf";
	[] execVM "\z\addons\dayz_server\buildings\novy.sqf";
	[] execVM "\z\addons\dayz_server\buildings\traderstary.sqf";

 

[ ] this shouldn't really matter though.

what you have in your server_function.sqf

  Reveal hidden contents

 

Link to comment
Share on other sites

  • 0

 

Well i tried them all i guess:

_nil = [] ExecVM 
[] execVM
if (isNil "JustOneTime") then {
    JustOneTime = true;

call compile preprocessFileLineNumbers "\z\addons\dayz_server\...";

};

 

But the map add-ons are still not spawning.

Only the additions at NWAF are spawing, and i can't wrap my head why those are spawning and the rest aren't.

And they all use the same way how they are called, and the same folder...

 

Does someone know why?

Im getting a bit lost here,

 

Thank you for all the help guys, i really appreciate it!

Link to comment
Share on other sites

  • 0

Oke things are getting pritty weird..

I did what @A Man said, and deleted the line from my server_functions.sqf:

[] execVM "\z\addons\dayz_server\mapaddons\NorthWestAirfield.sqf";

So that my add-on on the NWAF would not spawn, well guess what.. It was still there somehow?!

And the other add-ons still weren't spawning. I can't wrap my head around it...

 

This is what my server_functions.sqf looks like:

  Reveal hidden contents

Here is my latest server RPT: https://www.dropbox.com/s/uqfl7mbndqws0tu/arma2oaserver.RPT?dl=0

I hope someone has an idea what is going on..

 

Thank you all for your time!

Link to comment
Share on other sites

  • 0
  On 6/8/2017 at 1:31 PM, A Man said:

@EditedSnowHD Your rpt is full of errors. I think we should start by posting your sched_safetyVehicle.sqf from your server folder. z\addons\dayz_server\system\scheduler is the path. There is an error. We will do this step by step. You can write me a pm if you want.

 

 

Expand  

I'll PM you,

Thank you for helping me out!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...